Lines Matching refs:s

11 @inline JuliaFormatter.getstyle(s::CeedStyle) = s
16 s::State;
21 t = FST(Binary, cst, nspaces(s))
28 !s.opts.whitespace_typedefs
33 nospace_args = s.opts.whitespace_ops_in_indices ? false : nospace
36 n = pretty(style, cst[1], s, nonest=nonest, nospace=nospace_args)
38 n = pretty(style, cst[1], s)
42 s.opts.whitespace_ops_in_indices &&
46 add_node!(t, paren, s)
47 add_node!(t, n, s, join_lines=true)
49 add_node!(t, paren, s, join_lines=true)
51 add_node!(t, n, s)
62 add_node!(t, pretty(style, op, s), s, join_lines=true)
65 add_node!(t, Whitespace(1), s)
66 add_node!(t, pretty(style, op, s), s, join_lines=true)
67 nest ? add_node!(t, Placeholder(1), s) : add_node!(t, Whitespace(1), s)
78 add_node!(t, pretty(style, op, s), s, join_lines=true)
80 add_node!(t, pretty(style, op, s), s, join_lines=true)
82 add_node!(t, Whitespace(1), s)
83 add_node!(t, pretty(style, op, s), s, join_lines=true)
84 nest ? add_node!(t, Placeholder(1), s) : add_node!(t, Whitespace(1), s)
88 n = pretty(style, cst[3], s, nonest=nonest, nospace=nospace_args)
90 n = pretty(style, cst[3], s)
94 s.opts.whitespace_ops_in_indices &&
98 add_node!(t, paren, s, join_lines=true)
99 add_node!(t, n, s, join_lines=true, override_join_lines_based_on_source=!nest)
101 add_node!(t, paren, s, join_lines=true)
103 add_node!(t, n, s, join_lines=true, override_join_lines_based_on_source=!nest)
117 s::State;
122 t = FST(Chain, cst, nspaces(s))
124 # Check if there's a number literal on the LHS of a dot operator.
138 add_node!(t, Whitespace(nws_op), s)
139 add_node!(t, pretty(style, a, s), s, join_lines=true)
141 add_node!(t, Whitespace(nws_op), s)
143 add_node!(t, Placeholder(nws_op), s)
148 pretty(style, a, s, nospace=nospace, nonest=nonest),
149 s,
153 add_node!(t, pretty(style, a, s), s, join_lines=true)
155 add_node!(t, pretty(style, a, s), s, join_lines=true)