Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kampfkarren/full-moon
/ functions
Functions
556 in github.com/Kampfkarren/full-moon
⨍
Functions
556
◇
Types & classes
129
↓ 2 callers
Function
expect_const_function_declaration
( state: &mut ParserState, const_token: TokenReference, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:1366
↓ 2 callers
Function
expect_function_declaration
( state: &mut ParserState, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:857
↓ 2 callers
Function
expect_local_function_declaration
( state: &mut ParserState, local_token: TokenReference, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:886
↓ 2 callers
Function
expect_type_declaration
( state: &mut ParserState, type_token: TokenReference, )
full-moon/src/ast/parsers.rs:1695
↓ 2 callers
Function
expect_type_function
( state: &mut ParserState, type_token: TokenReference, function_token: TokenReference, )
full-moon/src/ast/parsers.rs:1732
↓ 2 callers
Function
expect_type_instantiation
( state: &mut ParserState, outer_0: TokenReference, )
full-moon/src/ast/parsers.rs:3903
↓ 2 callers
Method
extend
(&mut self, iter: I)
full-moon/src/ast/punctuated.rs:247
↓ 2 callers
Function
force_table_constructor
( state: &mut ParserState, left_brace: TokenReference, )
full-moon/src/ast/parsers.rs:1464
↓ 2 callers
Method
into_result
Consumes this AstResult, returning the [`Ast`](crate::ast::Ast) that was parsed.
full-moon/src/ast/parser_structs.rs:386
↓ 2 callers
Function
is_identifier_start
(character: char)
full-moon/src/tokenizer/lexer.rs:1428
↓ 2 callers
Method
iter_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 callers
Method
last_stmt
The last statement of the block if one exists, such as `return foo`
full-moon/src/ast/mod.rs:89
↓ 2 callers
Method
names
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 callers
Function
parse_attributes
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3697
↓ 2 callers
Function
parse_compound_assignment
(state: &mut ParserState, var: Var)
full-moon/src/ast/parsers.rs:122
↓ 2 callers
Function
parse_expression_with_precedence
rewrite todo: i think this should be iterative instead of recursive
full-moon/src/ast/parsers.rs:2271
↓ 2 callers
Function
parse_prefix_and_suffixes
( state: &mut ParserState, )
full-moon/src/ast/parsers.rs:2037
↓ 2 callers
Function
parse_unary_expression
( state: &mut ParserState, unary_operator_token: ast::TokenReference, )
full-moon/src/ast/parsers.rs:2341
↓ 2 callers
Method
punctuation
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 callers
Method
punctuation
The punctuation being used. `:` for `local foo: number`.
full-moon/src/ast/luau.rs:643
↓ 2 callers
Method
read_exponent_part
Starts from the exponent marker (like 'e')
full-moon/src/tokenizer/lexer.rs:1044
↓ 2 callers
Function
read_interpolated_string_section
( lexer: &mut Lexer, start_position: Position, format_type: InterpolatedStringKind, end_type:
full-moon/src/tokenizer/interpolated_strings.rs:14
↓ 2 callers
Method
read_multi_line_body
(&mut self)
full-moon/src/tokenizer/lexer.rs:1350
↓ 2 callers
Method
require_with_reference_token
( &mut self, symbol: Symbol, error: &'static str, reference_token: &TokenRefer
full-moon/src/ast/parser_structs.rs:116
↓ 2 callers
Method
start_position
(&self)
full-moon/src/ast/span.rs:42
↓ 2 callers
Method
start_position
The position a token begins at
full-moon/src/tokenizer/structs.rs:447
↓ 2 callers
Method
surrounding_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 callers
Method
to_str
(self)
full-moon/src/ast/parser_structs.rs:223
↓ 2 callers
Method
visit_local_assignment
( &mut self, assignment: ast::LocalAssignment, )
full-moon/tests/visitors.rs:38
↓ 2 callers
Method
visit_single_line_comment
(&mut self, token: &Token)
full-moon/tests/visitors.rs:87
↓ 2 callers
Method
with_nodes
Returns a new Ast with the given nodes
full-moon/src/ast/mod.rs:2458
↓ 1 callers
Method
borrow
(&self)
full-moon/src/tokenizer/structs.rs:771
↓ 1 callers
Method
collect_trailing_trivia
(&mut self)
full-moon/src/tokenizer/lexer.rs:213
↓ 1 callers
Function
display_optional_punctuated
(pair: &(T, Option<TokenReference>))
full-moon/src/util.rs:29
↓ 1 callers
Method
end_position
(&self)
full-moon/src/node.rs:117
↓ 1 callers
Method
eof
The EOF token at the end of every Ast
full-moon/src/ast/mod.rs:2485
↓ 1 callers
Method
error_message
Returns a human readable error message
full-moon/src/lib.rs:48
↓ 1 callers
Function
error_token
()
full-moon/src/ast/parsers.rs:28
↓ 1 callers
Function
expect_const_assignment
( state: &mut ParserState, const_token: TokenReference, )
full-moon/src/ast/parsers.rs:1274
↓ 1 callers
Function
expect_expression_key
( state: &mut ParserState, left_bracket: TokenReference, )
full-moon/src/ast/parsers.rs:1400
↓ 1 callers
Function
expect_for_stmt
(state: &mut ParserState, for_token: TokenReference)
full-moon/src/ast/parsers.rs:921
↓ 1 callers
Function
expect_function_name
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:794
↓ 1 callers
Function
expect_function_type
( state: &mut ParserState, style: SimpleTypeStyle, )
full-moon/src/ast/parsers.rs:3330
↓ 1 callers
Function
expect_if_else_expression
( state: &mut ParserState, if_token: TokenReference, )
full-moon/src/ast/parsers.rs:2605
↓ 1 callers
Function
expect_if_stmt
(state: &mut ParserState, if_token: TokenReference)
full-moon/src/ast/parsers.rs:1080
↓ 1 callers
Function
expect_interpolated_string
( state: &mut ParserState, mut current: TokenReference, )
full-moon/src/ast/parsers.rs:2669
↓ 1 callers
Function
expect_local_assignment
( state: &mut ParserState, local_token: TokenReference, )
full-moon/src/ast/parsers.rs:1201
↓ 1 callers
Function
expect_numeric_for_stmt
( state: &mut ParserState, for_token: TokenReference, index_variable: Name, )
full-moon/src/ast/parsers.rs:1009
↓ 1 callers
Function
expect_repeat_stmt
( state: &mut ParserState, repeat_token: TokenReference, )
full-moon/src/ast/parsers.rs:1612
↓ 1 callers
Function
expect_type_specifier
( state: &mut ParserState, punctuation: TokenReference, )
full-moon/src/ast/parsers.rs:3455
↓ 1 callers
Function
expect_type_table
( state: &mut ParserState, left_brace: TokenReference, )
full-moon/src/ast/parsers.rs:3125
↓ 1 callers
Function
expect_while_stmt
( state: &mut ParserState, while_token: TokenReference, )
full-moon/src/ast/parsers.rs:1655
↓ 1 callers
Function
force_name_with_attributes
(state: &mut ParserState, name: TokenReference)
full-moon/src/ast/parsers.rs:3789
↓ 1 callers
Method
has_lua54
Returns true if Lua 5.4 is enabled.
full-moon/src/ast/versions.rs:103
↓ 1 callers
Method
into_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 callers
Method
kind
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 callers
Method
merge_blocks
(&mut self, other: Self)
full-moon/src/ast/mod.rs:110
↓ 1 callers
Method
name
The method being called, the `call` part of `method:call()`
full-moon/src/ast/mod.rs:1358
↓ 1 callers
Method
name
The name of the argument split into identifier and punctuation: `count:` in `count: number`.
full-moon/src/ast/luau.rs:684
↓ 1 callers
Method
next
(&mut self)
full-moon/src/node.rs:78
↓ 1 callers
Function
parse
(criterion: &mut Criterion)
benches/t.rs:6
↓ 1 callers
Function
parse
(criterion: &mut Criterion)
benches/date.rs:6
↓ 1 callers
Function
parse_arguments
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:1816
↓ 1 callers
Function
parse_last_stmt
( state: &mut ParserState, )
full-moon/src/ast/parsers.rs:763
↓ 1 callers
Function
parse_name_list
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3973
↓ 1 callers
Function
parse_name_with_type_specifiers
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3763
↓ 1 callers
Function
parse_prefix
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:1765
↓ 1 callers
Function
parse_stmt
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:139
↓ 1 callers
Function
parse_suffix
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:1862
↓ 1 callers
Method
prefix
The prefix of the expression, such as a name
full-moon/src/ast/mod.rs:1649
↓ 1 callers
Function
process_codespan_display
(source: &str, result: &AstResult)
full-moon/tests/fail_cases.rs:31
↓ 1 callers
Method
process_first_with_trivia
(&mut self)
full-moon/src/tokenizer/lexer.rs:178
↓ 1 callers
Method
range
Returns the range of the error
full-moon/src/ast/mod.rs:2422
↓ 1 callers
Method
read_binary_number
( &mut self, binary_character: char, start_position: Position, )
full-moon/src/tokenizer/lexer.rs:1131
↓ 1 callers
Method
read_comment
(comment, had to be recovered?)
full-moon/src/tokenizer/lexer.rs:1294
↓ 1 callers
Method
read_hex_number
( &mut self, hex_character: char, start_position: Position, )
full-moon/src/tokenizer/lexer.rs:1076
↓ 1 callers
Method
read_string
(string, had to be recovered?)
full-moon/src/tokenizer/lexer.rs:1204
↓ 1 callers
Method
require_with_reference_range_callback
( &mut self, symbol: Symbol, error: impl MaybeLazyString, tokens: impl FnOnce(
full-moon/src/ast/parser_structs.rs:157
↓ 1 callers
Method
start_position
(&self)
full-moon/src/node.rs:113
↓ 1 callers
Method
unwrap_errors
Unwraps the errors, panicking if it is [`LexerResult::Ok`].
full-moon/src/tokenizer/lexer.rs:1532
↓ 1 callers
Method
value_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 callers
Method
visit_token_reference
(&mut self, token: TokenReference)
full-moon/src/ast/update_positions.rs:56
↓ 1 callers
Method
with_else_if
Returns a new If with the given list of `elseif` blocks
full-moon/src/ast/mod.rs:1088
↓ 1 callers
Method
with_eof
Returns a new Ast with the given EOF token
full-moon/src/ast/mod.rs:2463
↓ 1 callers
Function
with_insta_settings
(path: &Path, f: impl FnOnce())
full-moon/tests/common/mod.rs:4
↓ 1 callers
Method
with_names
Returns a new GenericFor with the given names
full-moon/src/ast/mod.rs:912
↓ 1 callers
Method
with_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 callers
Method
with_token
Returns a new Return with the given `return` token
full-moon/src/ast/mod.rs:164
Method
access
The access modifier of the field, `read` in `read foo: number`.
full-moon/src/ast/luau.rs:305
Method
args
The arguments of a method call, the `x, y, z` part of `method:call(x, y, z)`
full-moon/src/ast/mod.rs:1353
Method
arrows
The arrows (`<>`) containing the types.
full-moon/src/ast/luau.rs:597
Method
assertion_op
The token `::`.
full-moon/src/ast/luau.rs:387
Method
ast
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
Method
at_sign
The `@` token
full-moon/src/ast/luau.rs:1432
Method
attributes
The attributes on the function, e.g. `@native`
full-moon/src/ast/luau.rs:1044
Method
basic_symbol
(text: &str)
full-moon/src/tokenizer/structs.rs:626
Method
bitor
(self, rhs: Self)
full-moon/src/ast/versions.rs:157
Method
bitor_assign
(&mut self, rhs: Self)
full-moon/src/ast/versions.rs:165
Method
block
The code inside the for loop
full-moon/src/ast/mod.rs:688
Method
body
The function body, everything except `function` in `function(a, b, c) call() end`
full-moon/src/ast/mod.rs:320
← previous
next →
101–200 of 556, ranked by callers