Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chikaku/gosyn
/ functions
Functions
232 in github.com/chikaku/gosyn
⨍
Functions
232
◇
Types & classes
76
↓ 1 callers
Method
is_range
(&self)
src/ast.rs:602
↓ 1 callers
Method
is_type_switch
(&mut self, tag: &Option<ast::Statement>)
src/parser.rs:2042
↓ 1 callers
Function
is_unicode_char
here are some difference from the golang specification of [Characters](https://golang.org/ref/spec#Characters) go's `unicode_char` is an arbitrary Uni
src/scanner.rs:582
↓ 1 callers
Function
is_unicode_digit
(c: char)
src/scanner.rs:594
↓ 1 callers
Function
is_unicode_letter
(c: char)
src/scanner.rs:590
↓ 1 callers
Method
line_end_comment
(&mut self)
src/parser.rs:202
↓ 1 callers
Method
literal
(&mut self)
src/parser.rs:1349
↓ 1 callers
Function
next_nchar0
(source: &str, n: usize)
benches/scanner.rs:3
↓ 1 callers
Function
next_nchar1
(chars_indices: &[(usize, char)], n: usize)
benches/scanner.rs:8
↓ 1 callers
Method
operand
Operand = Literal | OperandName [ TypeArgs ] | "(" Expression ")" . Literal = BasicLit | CompositeLit | FunctionLit . BasicLit = int_lit |
src/parser.rs:1191
↓ 1 callers
Method
parse_branch_stmt
(&mut self, key: Keyword)
src/parser.rs:1894
↓ 1 callers
Method
parse_case_block
(&mut self, type_assert: bool)
src/parser.rs:2018
↓ 1 callers
Method
parse_comm_block
(&mut self)
src/parser.rs:2109
↓ 1 callers
Method
parse_comm_stmt
(&mut self)
src/parser.rs:2075
↓ 1 callers
Method
parse_decl_stmt
(&mut self)
src/parser.rs:1830
↓ 1 callers
Method
parse_defer_stmt
(&mut self)
src/parser.rs:1870
↓ 1 callers
Function
parse_dir
parse a directory to packages
src/lib.rs:25
↓ 1 callers
Method
parse_element
(&mut self)
src/parser.rs:1374
↓ 1 callers
Function
parse_file
parse source code from given path to `ast::File`
src/lib.rs:20
↓ 1 callers
Method
parse_go_stmt
(&mut self)
src/parser.rs:1858
↓ 1 callers
Method
parse_if_header
(&mut self)
src/parser.rs:1938
↓ 1 callers
Method
parse_import_spec
(&mut self)
src/parser.rs:360
↓ 1 callers
Method
parse_method_elem
MethodElem = MethodName Signature . MethodName = identifier .
src/parser.rs:874
↓ 1 callers
Method
parse_parameter_decl
ParameterDecl = [ IdentifierList ] [ "..." ] Type .
src/parser.rs:1435
↓ 1 callers
Method
parse_return_stmt
(&mut self)
src/parser.rs:1881
↓ 1 callers
Method
parse_type_list
(&mut self)
src/parser.rs:572
↓ 1 callers
Method
parse_type_parameters
(&mut self)
src/parser.rs:726
↓ 1 callers
Method
precedence
(&self)
src/token.rs:211
↓ 1 callers
Method
reset_chan_arrow
reset the channel direction of expression `<- chan_typ`
src/parser.rs:1236
↓ 1 callers
Method
scan_general_comment
Scan general comment from `/*` to `*/`
src/scanner.rs:293
↓ 1 callers
Method
scan_identifier
scan an identifier caller must ensure that the first character is a unicode letter caller should check if identify is a keyword
src/scanner.rs:317
↓ 1 callers
Method
scan_line_comment
Scan line comment from `//` to `\n`
src/scanner.rs:279
↓ 1 callers
Method
scan_token
return next Token
src/scanner.rs:214
↓ 1 callers
Method
skip_whitespace
(&mut self)
src/scanner.rs:160
↓ 1 callers
Method
try_insert_semicolon
(&mut self, tok: &Token)
src/scanner.rs:121
↓ 1 callers
Method
type_instance
(&mut self, left: ast::Expression)
src/parser.rs:1620
↓ 1 callers
Method
type_parameters
(&mut self)
src/parser.rs:1417
↓ 1 callers
Function
unparen
(expr: ast::Expression)
src/parser.rs:2323
↓ 1 callers
Method
unray_expression
(&mut self)
src/parser.rs:1001
↓ 1 callers
Method
with_docs
(mut self, docs: Vec<Rc<Comment>>)
src/ast.rs:661
Function
Hello
()
tests/testdata/helloworld.go:5
Function
_gen
* ----------------abc------------------------- test-abc[bcd] */
tests/testdata/func_docs.go:7
Function
bench_scan_nchars
(c: &mut Criterion)
benches/scanner.rs:16
Function
do_not_insert_semicolon_after_non_trigger_tokens
()
src/scanner.rs:701
Function
do_not_insert_semicolon_after_package_keyword
()
src/scanner.rs:742
Function
docs
* 123 123 */ docs for function declaration
tests/testdata/docs.go:44
Method
fmt
(&self, f: &mut Formatter<'_>)
src/error.rs:34
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/ast.rs:682
Method
fmt
(&self, f: &mut Formatter<'_>)
src/token.rs:248
Method
from
parse input source to `ast::File`, path will be \<input\>
src/parser.rs:26
Method
from
(s: S)
src/scanner.rs:28
Method
from
(id: Ident)
src/ast.rs:573
Method
from
(word: Keyword)
src/token.rs:198
Method
from_file
read file content and parse to `ast::File`
src/parser.rs:34
Method
from_file
(path: P)
src/scanner.rs:42
Function
get_line_info
()
src/scanner.rs:1178
Method
goback
(&mut self, pre: (usize, bool))
src/scanner.rs:73
Function
insert_semicolon
()
src/scanner.rs:652
Function
insert_semicolon_after_all_trigger_tokens
()
src/scanner.rs:673
Function
is_binary_digit
(c: char)
src/scanner.rs:602
Function
is_hex_digit
(c: char)
src/scanner.rs:614
Function
line_ended
()
src/scanner.rs:640
Function
list_files
()
tests/walkdir.rs:95
Method
new
(root: P)
tests/walkdir.rs:11
Function
parse_all_expression_operators
()
src/parser.rs:2824
Function
parse_all_statement_kinds
()
src/parser.rs:3286
Function
parse_any_and_comparable_as_predeclared_identifiers
()
src/parser.rs:2706
Function
parse_assign_stmt
()
src/parser.rs:3403
Function
parse_blank_identifier_in_type_args
()
src/parser.rs:3913
Function
parse_call_expr
()
src/parser.rs:3196
Method
parse_const_spec
(&mut self, index: usize)
src/parser.rs:546
Function
parse_decl
()
src/parser.rs:2448
Function
parse_docs
()
src/parser.rs:3784
Function
parse_expr
()
src/parser.rs:2792
Function
parse_expression_precedence_and_associativity
()
src/parser.rs:2877
Function
parse_for_stmt
()
src/parser.rs:3463
Function
parse_func_decl
()
src/parser.rs:2533
Function
parse_func_docs
()
src/parser.rs:3820
Function
parse_func_type
()
src/parser.rs:3029
Function
parse_fuzz_input
()
tests/fuzz.rs:10
Function
parse_if_stmt
()
src/parser.rs:3754
Function
parse_imports
()
src/parser.rs:2424
Function
parse_interface_type
()
src/parser.rs:3056
Function
parse_interface_with_type_union_and_method
()
src/parser.rs:3105
Function
parse_iota_in_constant_expressions
()
src/parser.rs:2487
Function
parse_multiline_brackets_without_trailing_comma_rejected
()
src/parser.rs:3870
Function
parse_numeric_literal_files
()
src/parser.rs:2973
Function
parse_operand
()
src/parser.rs:2986
Function
parse_package
()
src/parser.rs:2404
Function
parse_parameters
()
src/parser.rs:2728
Function
parse_primary_expression_ast_shapes
()
src/parser.rs:2919
Method
parse_range_expr
(&mut self)
src/parser.rs:1730
Function
parse_receive_only_channel_struct_field
()
src/parser.rs:3174
Function
parse_select_stmt
()
src/parser.rs:3527
Function
parse_single_arg_trailing_comma_yields_index_not_indexlist
()
src/parser.rs:3878
Function
parse_slice_index
()
src/parser.rs:3003
Function
parse_stmt
()
src/parser.rs:3230
Function
parse_struct_type
()
src/parser.rs:3139
Function
parse_switch_stmt
()
src/parser.rs:3560
Function
parse_trailing_comma_in_brackets
()
src/parser.rs:3844
← previous
next →
101–200 of 232, ranked by callers