MCPcopy Create free account

hub / github.com/Kampfkarren/full-moon / functions

Functions556 in github.com/Kampfkarren/full-moon

↓ 2 callersFunctionexpect_const_function_declaration
( state: &mut ParserState, const_token: TokenReference, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:1366
↓ 2 callersFunctionexpect_function_declaration
( state: &mut ParserState, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:857
↓ 2 callersFunctionexpect_local_function_declaration
( state: &mut ParserState, local_token: TokenReference, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:886
↓ 2 callersFunctionexpect_type_declaration
( state: &mut ParserState, type_token: TokenReference, )
full-moon/src/ast/parsers.rs:1695
↓ 2 callersFunctionexpect_type_function
( state: &mut ParserState, type_token: TokenReference, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:1732
↓ 2 callersFunctionexpect_type_instantiation
( state: &mut ParserState, outer_0: TokenReference, )
full-moon/src/ast/parsers.rs:3903
↓ 2 callersMethodextend
(&mut self, iter: I)
full-moon/src/ast/punctuated.rs:247
↓ 2 callersFunctionforce_table_constructor
( state: &mut ParserState, left_brace: TokenReference, )
full-moon/src/ast/parsers.rs:1464
↓ 2 callersMethodinto_result
Consumes this AstResult, returning the [`Ast`](crate::ast::Ast) that was parsed.
full-moon/src/ast/parser_structs.rs:386
↓ 2 callersFunctionis_identifier_start
(character: char)
full-moon/src/tokenizer/lexer.rs:1428
↓ 2 callersMethoditer_mut
Returns an iterator over mutable references of the sequence values, ignoring punctuation ```rust # use full_moon::ast::punctuated::{Pair, Punctuated};
full-moon/src/ast/punctuated.rs:97
↓ 2 callersMethodlast_stmt
The last statement of the block if one exists, such as `return foo`
full-moon/src/ast/mod.rs:89
↓ 2 callersMethodnames
Returns the punctuated sequence of names In `for index, value in pairs(list) do`, iterates over `index` and `value`
full-moon/src/ast/mod.rs:867
↓ 2 callersFunctionparse_attributes
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3697
↓ 2 callersFunctionparse_compound_assignment
(state: &mut ParserState, var: Var)
full-moon/src/ast/parsers.rs:122
↓ 2 callersFunctionparse_expression_with_precedence
rewrite todo: i think this should be iterative instead of recursive
full-moon/src/ast/parsers.rs:2271
↓ 2 callersFunctionparse_prefix_and_suffixes
( state: &mut ParserState, )
full-moon/src/ast/parsers.rs:2037
↓ 2 callersFunctionparse_unary_expression
( state: &mut ParserState, unary_operator_token: ast::TokenReference, )
full-moon/src/ast/parsers.rs:2341
↓ 2 callersMethodpunctuation
Returns the trailing punctuation, if it exists ```rust # use full_moon::ast::punctuated::Pair; let pair = Pair::new(1, None); assert_eq!(pair.punctuat
full-moon/src/ast/punctuated.rs:421
↓ 2 callersMethodpunctuation
The punctuation being used. `:` for `local foo: number`.
full-moon/src/ast/luau.rs:643
↓ 2 callersMethodread_exponent_part
Starts from the exponent marker (like 'e')
full-moon/src/tokenizer/lexer.rs:1044
↓ 2 callersFunctionread_interpolated_string_section
( lexer: &mut Lexer, start_position: Position, format_type: InterpolatedStringKind, end_type:
full-moon/src/tokenizer/interpolated_strings.rs:14
↓ 2 callersMethodread_multi_line_body
(&mut self)
full-moon/src/tokenizer/lexer.rs:1350
↓ 2 callersMethodrequire_with_reference_token
( &mut self, symbol: Symbol, error: &'static str, reference_token: &TokenRefer
full-moon/src/ast/parser_structs.rs:116
↓ 2 callersMethodstart_position
(&self)
full-moon/src/ast/span.rs:42
↓ 2 callersMethodstart_position
The position a token begins at
full-moon/src/tokenizer/structs.rs:447
↓ 2 callersMethodsurrounding_trivia
The tokens surrounding a node that are ignored and not accessible through the node's own accessors. Use this if you want to get surrounding comments o
full-moon/src/node.rs:34
↓ 2 callersMethodto_str
(self)
full-moon/src/ast/parser_structs.rs:223
↓ 2 callersMethodvisit_local_assignment
( &mut self, assignment: ast::LocalAssignment, )
full-moon/tests/visitors.rs:38
↓ 2 callersMethodvisit_single_line_comment
(&mut self, token: &Token)
full-moon/tests/visitors.rs:87
↓ 2 callersMethodwith_nodes
Returns a new Ast with the given nodes
full-moon/src/ast/mod.rs:2458
↓ 1 callersMethodborrow
(&self)
full-moon/src/tokenizer/structs.rs:771
↓ 1 callersMethodcollect_trailing_trivia
(&mut self)
full-moon/src/tokenizer/lexer.rs:213
↓ 1 callersFunctiondisplay_optional_punctuated
(pair: &(T, Option<TokenReference>))
full-moon/src/util.rs:29
↓ 1 callersMethodend_position
(&self)
full-moon/src/node.rs:117
↓ 1 callersMethodeof
The EOF token at the end of every Ast
full-moon/src/ast/mod.rs:2485
↓ 1 callersMethoderror_message
Returns a human readable error message
full-moon/src/lib.rs:48
↓ 1 callersFunctionerror_token
()
full-moon/src/ast/parsers.rs:28
↓ 1 callersFunctionexpect_const_assignment
( state: &mut ParserState, const_token: TokenReference, )
full-moon/src/ast/parsers.rs:1274
↓ 1 callersFunctionexpect_expression_key
( state: &mut ParserState, left_bracket: TokenReference, )
full-moon/src/ast/parsers.rs:1400
↓ 1 callersFunctionexpect_for_stmt
(state: &mut ParserState, for_token: TokenReference)
full-moon/src/ast/parsers.rs:921
↓ 1 callersFunctionexpect_function_name
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:794
↓ 1 callersFunctionexpect_function_type
( state: &mut ParserState, style: SimpleTypeStyle, )
full-moon/src/ast/parsers.rs:3330
↓ 1 callersFunctionexpect_if_else_expression
( state: &mut ParserState, if_token: TokenReference, )
full-moon/src/ast/parsers.rs:2605
↓ 1 callersFunctionexpect_if_stmt
(state: &mut ParserState, if_token: TokenReference)
full-moon/src/ast/parsers.rs:1080
↓ 1 callersFunctionexpect_interpolated_string
( state: &mut ParserState, mut current: TokenReference, )
full-moon/src/ast/parsers.rs:2669
↓ 1 callersFunctionexpect_local_assignment
( state: &mut ParserState, local_token: TokenReference, )
full-moon/src/ast/parsers.rs:1201
↓ 1 callersFunctionexpect_numeric_for_stmt
( state: &mut ParserState, for_token: TokenReference, index_variable: Name, )
full-moon/src/ast/parsers.rs:1009
↓ 1 callersFunctionexpect_repeat_stmt
( state: &mut ParserState, repeat_token: TokenReference, )
full-moon/src/ast/parsers.rs:1612
↓ 1 callersFunctionexpect_type_specifier
( state: &mut ParserState, punctuation: TokenReference, )
full-moon/src/ast/parsers.rs:3455
↓ 1 callersFunctionexpect_type_table
( state: &mut ParserState, left_brace: TokenReference, )
full-moon/src/ast/parsers.rs:3125
↓ 1 callersFunctionexpect_while_stmt
( state: &mut ParserState, while_token: TokenReference, )
full-moon/src/ast/parsers.rs:1655
↓ 1 callersFunctionforce_name_with_attributes
(state: &mut ParserState, name: TokenReference)
full-moon/src/ast/parsers.rs:3789
↓ 1 callersMethodhas_lua54
Returns true if Lua 5.4 is enabled.
full-moon/src/ast/versions.rs:103
↓ 1 callersMethodinto_ast
Consumes the [`Ast`](crate::ast::Ast) that was parsed. If there were any errors, this will not be exactly the same, as reconstruction will have occurr
full-moon/src/ast/parser_structs.rs:278
↓ 1 callersMethodkind
Returns the kind of the token type. ```rust use full_moon::{ShortString, tokenizer::{TokenKind, TokenType}}; assert_eq!( TokenType::Identifier { ide
full-moon/src/tokenizer/structs.rs:360
↓ 1 callersMethodmerge_blocks
(&mut self, other: Self)
full-moon/src/ast/mod.rs:110
↓ 1 callersMethodname
The method being called, the `call` part of `method:call()`
full-moon/src/ast/mod.rs:1358
↓ 1 callersMethodname
The name of the argument split into identifier and punctuation: `count:` in `count: number`.
full-moon/src/ast/luau.rs:684
↓ 1 callersMethodnext
(&mut self)
full-moon/src/node.rs:78
↓ 1 callersFunctionparse
(criterion: &mut Criterion)
benches/t.rs:6
↓ 1 callersFunctionparse
(criterion: &mut Criterion)
benches/date.rs:6
↓ 1 callersFunctionparse_arguments
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:1816
↓ 1 callersFunctionparse_last_stmt
( state: &mut ParserState, )
full-moon/src/ast/parsers.rs:763
↓ 1 callersFunctionparse_name_list
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3973
↓ 1 callersFunctionparse_name_with_type_specifiers
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3763
↓ 1 callersFunctionparse_prefix
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:1765
↓ 1 callersFunctionparse_stmt
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:139
↓ 1 callersFunctionparse_suffix
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:1862
↓ 1 callersMethodprefix
The prefix of the expression, such as a name
full-moon/src/ast/mod.rs:1649
↓ 1 callersFunctionprocess_codespan_display
(source: &str, result: &AstResult)
full-moon/tests/fail_cases.rs:31
↓ 1 callersMethodprocess_first_with_trivia
(&mut self)
full-moon/src/tokenizer/lexer.rs:178
↓ 1 callersMethodrange
Returns the range of the error
full-moon/src/ast/mod.rs:2422
↓ 1 callersMethodread_binary_number
( &mut self, binary_character: char, start_position: Position, )
full-moon/src/tokenizer/lexer.rs:1131
↓ 1 callersMethodread_comment
(comment, had to be recovered?)
full-moon/src/tokenizer/lexer.rs:1294
↓ 1 callersMethodread_hex_number
( &mut self, hex_character: char, start_position: Position, )
full-moon/src/tokenizer/lexer.rs:1076
↓ 1 callersMethodread_string
(string, had to be recovered?)
full-moon/src/tokenizer/lexer.rs:1204
↓ 1 callersMethodrequire_with_reference_range_callback
( &mut self, symbol: Symbol, error: impl MaybeLazyString, tokens: impl FnOnce(
full-moon/src/ast/parser_structs.rs:157
↓ 1 callersMethodstart_position
(&self)
full-moon/src/node.rs:113
↓ 1 callersMethodunwrap_errors
Unwraps the errors, panicking if it is [`LexerResult::Ok`].
full-moon/src/tokenizer/lexer.rs:1532
↓ 1 callersMethodvalue_mut
Returns a mutable reference to the node `T` ```rust # use full_moon::ast::punctuated::Pair; let mut pair = Pair::new(1, None); pair.value_mut() += 1;
full-moon/src/ast/punctuated.rs:408
↓ 1 callersMethodvisit_token_reference
(&mut self, token: TokenReference)
full-moon/src/ast/update_positions.rs:56
↓ 1 callersMethodwith_else_if
Returns a new If with the given list of `elseif` blocks
full-moon/src/ast/mod.rs:1088
↓ 1 callersMethodwith_eof
Returns a new Ast with the given EOF token
full-moon/src/ast/mod.rs:2463
↓ 1 callersFunctionwith_insta_settings
(path: &Path, f: impl FnOnce())
full-moon/tests/common/mod.rs:4
↓ 1 callersMethodwith_names
Returns a new GenericFor with the given names
full-moon/src/ast/mod.rs:912
↓ 1 callersMethodwith_stmts
Returns a new block with the given statements Takes a vector of statements, followed by an optional semicolon token reference
full-moon/src/ast/mod.rs:100
↓ 1 callersMethodwith_token
Returns a new Return with the given `return` token
full-moon/src/ast/mod.rs:164
Methodaccess
The access modifier of the field, `read` in `read foo: number`.
full-moon/src/ast/luau.rs:305
Methodargs
The arguments of a method call, the `x, y, z` part of `method:call(x, y, z)`
full-moon/src/ast/mod.rs:1353
Methodarrows
The arrows (`<>`) containing the types.
full-moon/src/ast/luau.rs:597
Methodassertion_op
The token `::`.
full-moon/src/ast/luau.rs:387
Methodast
Returns a reference to the [`Ast`](crate::ast::Ast) that was parsed. If there were any errors, this will not be exactly the same, as reconstruction wi
full-moon/src/ast/parser_structs.rs:270
Methodat_sign
The `@` token
full-moon/src/ast/luau.rs:1432
Methodattributes
The attributes on the function, e.g. `@native`
full-moon/src/ast/luau.rs:1044
Methodbasic_symbol
(text: &str)
full-moon/src/tokenizer/structs.rs:626
Methodbitor
(self, rhs: Self)
full-moon/src/ast/versions.rs:157
Methodbitor_assign
(&mut self, rhs: Self)
full-moon/src/ast/versions.rs:165
Methodblock
The code inside the for loop
full-moon/src/ast/mod.rs:688
Methodbody
The function body, everything except `function` in `function(a, b, c) call() end`
full-moon/src/ast/mod.rs:320
← previousnext →101–200 of 556, ranked by callers