fn hasMultilineString(tree: Ast, start_token: Ast.TokenIndex, end_token: Ast.TokenIndex) bool
Returns true if there exists a multiline string literal between the start of token start_token and the start of token end_token.
start_token
end_token
tree: Ast
start_token: Ast.TokenIndex
end_token: Ast.TokenIndex
2985 2986 2987 2988 2989 2990 2991
fn hasMultilineString(tree: Ast, start_token: Ast.TokenIndex, end_token: Ast.TokenIndex) bool { return std.mem.findScalar( Token.Tag, tree.tokens.items(.tag)[start_token..end_token], .multiline_string_literal_line, ) != null; }
Returns true if there exists a multiline string literal between the start of token
start_tokenand the start of tokenend_token.