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
Method
key_value
(_key: String, _value: String)
full-moon-derive/src/derive.rs:93
Method
label_name
The name corresponding to the label, the `label` part of `goto label`
full-moon/src/ast/lua52.rs:35
Method
last_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
Method
last_string
The last string of the interpolated string
full-moon/src/ast/luau.rs:1338
Method
leading
The leading pipe, if one is present: `|`.
full-moon/src/ast/luau.rs:210
Method
left_colons
The `::` symbol on the left hand side of the name
full-moon/src/ast/lua52.rs:71
Method
lhs
The variable assigned to, the `x` part of `x += 1`
full-moon/src/ast/compound.rs:128
Method
line
Line the position lies on
full-moon/src/tokenizer/structs.rs:872
Method
local_token
The `local` token
full-moon/src/ast/mod.rs:1785
Method
lua51
Creates a new LuaVersion with only Lua 5.1.
full-moon/src/ast/versions.rs:25
Function
lua51_sanity
()
full-moon/src/ast/versions.rs:175
Method
lua52
()
full-moon/src/ast/versions.rs:52
Method
lua53
()
full-moon/src/ast/versions.rs:71
Method
lua54
()
full-moon/src/ast/versions.rs:90
Method
luajit
()
full-moon/src/ast/versions.rs:109
Method
luau
()
full-moon/src/ast/versions.rs:31
Function
main
()
full-moon/tests/comments_around_functions.rs:59
Method
method_colon
The colon between the name and the method, the `:` part of `function x:y() end`
full-moon/src/ast/mod.rs:2108
Method
method_name
A method name if one exists, the `y` part of `function x:y() end`
full-moon/src/ast/mod.rs:2113
Method
name
The name used for the label, the `label` part of `::label::`
full-moon/src/ast/lua52.rs:76
Method
name
The name used for the attribute, the `const` part of `<const>`
full-moon/src/ast/lua54.rs:35
Method
names
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
Method
new
Creates a new ShortString from the given text.
full-moon/src/short_string.rs:16
Method
new
Creates a contained span from the start and end bounds
full-moon/src/ast/span.rs:29
Method
new
Creates a new Goto with the given label name
full-moon/src/ast/lua52.rs:22
Method
new
Creates an empty block
full-moon/src/ast/mod.rs:67
Method
new
Creates a new Label with the given name
full-moon/src/ast/lua54.rs:24
Method
new
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
Method
new
(lexer: Lexer)
full-moon/src/ast/parser_structs.rs:17
Method
new
Creates a new CompoundAssignment from the left and right hand side
full-moon/src/ast/compound.rs:119
Method
new
Creates a new Union from the given types and optional leading pipe.
full-moon/src/ast/luau.rs:195
Method
new
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
Method
new
Creates a new Lexer from the given source string and Lua version(s).
full-moon/src/tokenizer/lexer.rs:29
Method
new
Creates a token with a zero position
full-moon/src/tokenizer/structs.rs:438
Method
new_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
Method
next
(&mut self)
full-moon/src/ast/punctuated.rs:302
Method
nodes_mut
The entire code of the function, but mutable
full-moon/src/ast/mod.rs:2480
Method
outer_arrows
The first pair of arrows of a type instantiation.
full-moon/src/ast/luau.rs:1503
Method
pairs_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
Method
parameter
The generic parameter
full-moon/src/ast/luau.rs:549
Method
parameters
Returns the [`Punctuated`] sequence of the parameters for the function declaration
full-moon/src/ast/mod.rs:1477
Method
parameters_parentheses
The parentheses of the parameters
full-moon/src/ast/mod.rs:1472
Method
parse_fallible
(code: &str, lua_version: LuaVersion)
full-moon/src/ast/parser_structs.rs:287
Function
parse_name_with_attributes
(state: &mut ParserState)
full-moon/src/ast/parsers.rs:3748
Method
partial_cmp
(&self, other: &Self)
full-moon/src/tokenizer/structs.rs:533
Method
peek
(&self)
full-moon/src/ast/parser_structs.rs:39
Method
position
The position of the first token that caused the error
full-moon/src/tokenizer/structs.rs:937
Method
precedence
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
Function
range
(criterion: &mut Criterion)
benches/t.rs:12
Function
range
(criterion: &mut Criterion)
benches/date.rs:12
Method
range
The full range of a node, if it has both start and end positions
full-moon/src/node.rs:27
Method
range
The range of the token that caused the error
full-moon/src/tokenizer/structs.rs:942
Method
read_c_style_comment
(&mut self)
full-moon/src/tokenizer/lexer.rs:1404
Method
repeat_token
The `repeat` token
full-moon/src/ast/mod.rs:1275
Method
return_type
(&self)
full-moon/src/ast/mod.rs:1511
Method
returns
The values being returned
full-moon/src/ast/mod.rs:159
Method
rhs
The value being assigned, the `1` part of `x += 1`
full-moon/src/ast/compound.rs:138
Method
right_colons
The `::` symbol on the right hand side of the name
full-moon/src/ast/lua52.rs:81
Method
segments
The segments of the interpolated string
full-moon/src/ast/luau.rs:1333
Method
similar
(&self, other: &Self)
full-moon/src/node.rs:121
Method
similar
(&self, other: &Self)
full-moon/src/ast/span.rs:50
Method
similar
(&self, other: &Self)
full-moon/src/ast/punctuated.rs:221
Function
snake_case
Not 100% accurate, but it is to full-moon's codebase
full-moon-derive/src/visit.rs:7
Method
spaces
Returns a whitespace `TokenType` consisting of spaces
full-moon/src/tokenizer/structs.rs:381
Method
start
The starting point, `1` in the initial example
full-moon/src/ast/mod.rs:654
Method
start_end_comma
The comma in between the starting point and end point for _ = 1, 10 do ^
full-moon/src/ast/mod.rs:661
Method
start_position
(&self)
full-moon/src/ast/punctuated.rs:213
Method
step
The step if one exists, `2` in `for index = 0, 10, 2 do end`
full-moon/src/ast/mod.rs:678
Method
stmts_with_semicolon
An iterator over the statements in the block, including any optional semicolon token reference present
full-moon/src/ast/mod.rs:84
Method
suffixes
An iter over the suffixes, such as indexing or calling
full-moon/src/ast/mod.rs:1654
Function
surrounding_trivia
()
full-moon/tests/node.rs:4
Method
symbol
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
Method
symbol_specific_lua_version
( text: &str, lua_version: LuaVersion, )
full-moon/src/tokenizer/structs.rs:646
Method
tabs
Returns a whitespace `TokenType` consisting of tabs
full-moon/src/tokenizer/structs.rs:388
Function
test_cfxlua_parser_fail_cases
()
full-moon/tests/fail_cases.rs:142
Function
test_cfxlua_pass_cases
()
full-moon/tests/pass_cases.rs:116
Function
test_cfxlua_tokenizer_fail_cases
()
full-moon/tests/fail_cases.rs:149
Function
test_end_visit
()
full-moon/tests/visitors.rs:116
Function
test_local_assignment_print
()
full-moon/src/ast/mod.rs:2581
Function
test_lua52_parser_fail_cases
()
full-moon/tests/fail_cases.rs:121
Function
test_lua52_pass_cases
()
full-moon/tests/pass_cases.rs:80
Function
test_lua53_parser_fail_cases
()
full-moon/tests/fail_cases.rs:128
Function
test_lua53_pass_cases
()
full-moon/tests/pass_cases.rs:89
Function
test_lua54_parser_fail_cases
()
full-moon/tests/fail_cases.rs:135
Function
test_lua54_pass_cases
()
full-moon/tests/pass_cases.rs:98
Function
test_luajit_pass_cases
()
full-moon/tests/pass_cases.rs:107
Function
test_new_validity
()
full-moon/src/ast/mod.rs:2545
Function
test_one_line_range
()
full-moon/tests/one_line_range.rs:4
Function
test_parser_fail_cases
()
full-moon/tests/fail_cases.rs:77
Function
test_pass_cases
()
full-moon/tests/pass_cases.rs:62
Function
test_position_min_max
()
full-moon/tests/derive_node.rs:6
Function
test_roblox_parser_fail_cases
()
full-moon/tests/fail_cases.rs:99
Function
test_roblox_pass_cases
()
full-moon/tests/pass_cases.rs:71
Function
test_roblox_tokenizer_fail_cases
()
full-moon/tests/fail_cases.rs:106
Function
test_similar
()
full-moon/tests/node.rs:17
Function
test_token_symbol_create_double_slash_equal
()
full-moon/src/tokenizer/structs.rs:1248
Function
test_tokenizer_fail_cases
()
full-moon/tests/fail_cases.rs:84
Function
test_tokens_back
()
full-moon/tests/node.rs:34
Function
test_tokens_collect
()
full-moon/tests/node.rs:27
Function
test_unary_visitor_regression
()
full-moon/tests/visitors.rs:160
← previous
next →
301–400 of 556, ranked by callers