MCPcopy Create free account

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

Functions556 in github.com/Kampfkarren/full-moon

Methodkey_value
(_key: String, _value: String)
full-moon-derive/src/derive.rs:93
Methodlabel_name
The name corresponding to the label, the `label` part of `goto label`
full-moon/src/ast/lua52.rs:35
Methodlast_stmt_with_semicolon
The last statement of the block if on exists, including any optional semicolon token reference present
full-moon/src/ast/mod.rs:94
Methodlast_string
The last string of the interpolated string
full-moon/src/ast/luau.rs:1338
Methodleading
The leading pipe, if one is present: `|`.
full-moon/src/ast/luau.rs:210
Methodleft_colons
The `::` symbol on the left hand side of the name
full-moon/src/ast/lua52.rs:71
Methodlhs
The variable assigned to, the `x` part of `x += 1`
full-moon/src/ast/compound.rs:128
Methodline
Line the position lies on
full-moon/src/tokenizer/structs.rs:872
Methodlocal_token
The `local` token
full-moon/src/ast/mod.rs:1785
Methodlua51
Creates a new LuaVersion with only Lua 5.1.
full-moon/src/ast/versions.rs:25
Functionlua51_sanity
()
full-moon/src/ast/versions.rs:175
Methodlua52
()
full-moon/src/ast/versions.rs:52
Methodlua53
()
full-moon/src/ast/versions.rs:71
Methodlua54
()
full-moon/src/ast/versions.rs:90
Methodluajit
()
full-moon/src/ast/versions.rs:109
Methodluau
()
full-moon/src/ast/versions.rs:31
Functionmain
()
full-moon/tests/comments_around_functions.rs:59
Methodmethod_colon
The colon between the name and the method, the `:` part of `function x:y() end`
full-moon/src/ast/mod.rs:2108
Methodmethod_name
A method name if one exists, the `y` part of `function x:y() end`
full-moon/src/ast/mod.rs:2113
Methodname
The name used for the label, the `label` part of `::label::`
full-moon/src/ast/lua52.rs:76
Methodname
The name used for the attribute, the `const` part of `<const>`
full-moon/src/ast/lua54.rs:35
Methodnames
Returns the punctuated sequence of names being assigned to. This is the `x, y` part of `const x, y = 1, 2`
full-moon/src/ast/luau.rs:947
Methodnew
Creates a new ShortString from the given text.
full-moon/src/short_string.rs:16
Methodnew
Creates a contained span from the start and end bounds
full-moon/src/ast/span.rs:29
Methodnew
Creates a new Goto with the given label name
full-moon/src/ast/lua52.rs:22
Methodnew
Creates an empty block
full-moon/src/ast/mod.rs:67
Methodnew
Creates a new Label with the given name
full-moon/src/ast/lua54.rs:24
Methodnew
Creates an empty punctuated sequence ```rust # use full_moon::ast::punctuated::{Pair, Punctuated}; let mut punctuated: Punctuated<i32> = Punctuated::n
full-moon/src/ast/punctuated.rs:46
Methodnew
(lexer: Lexer)
full-moon/src/ast/parser_structs.rs:17
Methodnew
Creates a new CompoundAssignment from the left and right hand side
full-moon/src/ast/compound.rs:119
Methodnew
Creates a new Union from the given types and optional leading pipe.
full-moon/src/ast/luau.rs:195
Methodnew
Creates a new LuaVersion with the default features: Luau, Lua 5.2, Lua 5.3, and Lua 5.4.
full-moon/src/ast/versions.rs:20
Methodnew
Creates a new Lexer from the given source string and Lua version(s).
full-moon/src/tokenizer/lexer.rs:29
Methodnew
Creates a token with a zero position
full-moon/src/tokenizer/structs.rs:438
Methodnew_lazy
Creates a new Lexer from the given source string and Lua version(s), but does not process the first token.
full-moon/src/tokenizer/lexer.rs:40
Methodnext
(&mut self)
full-moon/src/ast/punctuated.rs:302
Methodnodes_mut
The entire code of the function, but mutable
full-moon/src/ast/mod.rs:2480
Methodouter_arrows
The first pair of arrows of a type instantiation.
full-moon/src/ast/luau.rs:1503
Methodpairs_mut
Returns an iterator over pairs as mutable references ```rust # use full_moon::ast::punctuated::{Pair, Punctuated}; let mut punctuated = Punctuated::ne
full-moon/src/ast/punctuated.rs:160
Methodparameter
The generic parameter
full-moon/src/ast/luau.rs:549
Methodparameters
Returns the [`Punctuated`] sequence of the parameters for the function declaration
full-moon/src/ast/mod.rs:1477
Methodparameters_parentheses
The parentheses of the parameters
full-moon/src/ast/mod.rs:1472
Methodparse_fallible
(code: &str, lua_version: LuaVersion)
full-moon/src/ast/parser_structs.rs:287
Functionparse_name_with_attributes
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3748
Methodpartial_cmp
(&self, other: &Self)
full-moon/src/tokenizer/structs.rs:533
Methodpeek
(&self)
full-moon/src/ast/parser_structs.rs:39
Methodposition
The position of the first token that caused the error
full-moon/src/tokenizer/structs.rs:937
Methodprecedence
The precedence of the operator. The larger the number, the higher the precedence. See more at <http://www.lua.org/manual/5.1/manual.html#2.5.6>
full-moon/src/ast/mod.rs:2341
Functionrange
(criterion: &mut Criterion)
benches/t.rs:12
Functionrange
(criterion: &mut Criterion)
benches/date.rs:12
Methodrange
The full range of a node, if it has both start and end positions
full-moon/src/node.rs:27
Methodrange
The range of the token that caused the error
full-moon/src/tokenizer/structs.rs:942
Methodread_c_style_comment
(&mut self)
full-moon/src/tokenizer/lexer.rs:1404
Methodrepeat_token
The `repeat` token
full-moon/src/ast/mod.rs:1275
Methodreturn_type
(&self)
full-moon/src/ast/mod.rs:1511
Methodreturns
The values being returned
full-moon/src/ast/mod.rs:159
Methodrhs
The value being assigned, the `1` part of `x += 1`
full-moon/src/ast/compound.rs:138
Methodright_colons
The `::` symbol on the right hand side of the name
full-moon/src/ast/lua52.rs:81
Methodsegments
The segments of the interpolated string
full-moon/src/ast/luau.rs:1333
Methodsimilar
(&self, other: &Self)
full-moon/src/node.rs:121
Methodsimilar
(&self, other: &Self)
full-moon/src/ast/span.rs:50
Methodsimilar
(&self, other: &Self)
full-moon/src/ast/punctuated.rs:221
Functionsnake_case
Not 100% accurate, but it is to full-moon's codebase
full-moon-derive/src/visit.rs:7
Methodspaces
Returns a whitespace `TokenType` consisting of spaces
full-moon/src/tokenizer/structs.rs:381
Methodstart
The starting point, `1` in the initial example
full-moon/src/ast/mod.rs:654
Methodstart_end_comma
The comma in between the starting point and end point for _ = 1, 10 do ^
full-moon/src/ast/mod.rs:661
Methodstart_position
(&self)
full-moon/src/ast/punctuated.rs:213
Methodstep
The step if one exists, `2` in `for index = 0, 10, 2 do end`
full-moon/src/ast/mod.rs:678
Methodstmts_with_semicolon
An iterator over the statements in the block, including any optional semicolon token reference present
full-moon/src/ast/mod.rs:84
Methodsuffixes
An iter over the suffixes, such as indexing or calling
full-moon/src/ast/mod.rs:1654
Functionsurrounding_trivia
()
full-moon/tests/node.rs:4
Methodsymbol
Returns a symbol with the leading and trailing whitespace Only whitespace is supported ```rust # use full_moon::tokenizer::{Symbol, TokenReference, To
full-moon/src/tokenizer/structs.rs:622
Methodsymbol_specific_lua_version
( text: &str, lua_version: LuaVersion, )
full-moon/src/tokenizer/structs.rs:646
Methodtabs
Returns a whitespace `TokenType` consisting of tabs
full-moon/src/tokenizer/structs.rs:388
Functiontest_cfxlua_parser_fail_cases
()
full-moon/tests/fail_cases.rs:142
Functiontest_cfxlua_pass_cases
()
full-moon/tests/pass_cases.rs:116
Functiontest_cfxlua_tokenizer_fail_cases
()
full-moon/tests/fail_cases.rs:149
Functiontest_end_visit
()
full-moon/tests/visitors.rs:116
Functiontest_local_assignment_print
()
full-moon/src/ast/mod.rs:2581
Functiontest_lua52_parser_fail_cases
()
full-moon/tests/fail_cases.rs:121
Functiontest_lua52_pass_cases
()
full-moon/tests/pass_cases.rs:80
Functiontest_lua53_parser_fail_cases
()
full-moon/tests/fail_cases.rs:128
Functiontest_lua53_pass_cases
()
full-moon/tests/pass_cases.rs:89
Functiontest_lua54_parser_fail_cases
()
full-moon/tests/fail_cases.rs:135
Functiontest_lua54_pass_cases
()
full-moon/tests/pass_cases.rs:98
Functiontest_luajit_pass_cases
()
full-moon/tests/pass_cases.rs:107
Functiontest_new_validity
()
full-moon/src/ast/mod.rs:2545
Functiontest_one_line_range
()
full-moon/tests/one_line_range.rs:4
Functiontest_parser_fail_cases
()
full-moon/tests/fail_cases.rs:77
Functiontest_pass_cases
()
full-moon/tests/pass_cases.rs:62
Functiontest_position_min_max
()
full-moon/tests/derive_node.rs:6
Functiontest_roblox_parser_fail_cases
()
full-moon/tests/fail_cases.rs:99
Functiontest_roblox_pass_cases
()
full-moon/tests/pass_cases.rs:71
Functiontest_roblox_tokenizer_fail_cases
()
full-moon/tests/fail_cases.rs:106
Functiontest_similar
()
full-moon/tests/node.rs:17
Functiontest_token_symbol_create_double_slash_equal
()
full-moon/src/tokenizer/structs.rs:1248
Functiontest_tokenizer_fail_cases
()
full-moon/tests/fail_cases.rs:84
Functiontest_tokens_back
()
full-moon/tests/node.rs:34
Functiontest_tokens_collect
()
full-moon/tests/node.rs:27
Functiontest_unary_visitor_regression
()
full-moon/tests/visitors.rs:160
← previousnext →301–400 of 556, ranked by callers