Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amber-lang/heraclitus
/ functions
Functions
172 in github.com/amber-lang/heraclitus
⨍
Functions
172
◇
Types & classes
37
Method
is_loud
Returns true if this failure is loud
src/compiling/failing/failure.rs:36
Method
is_quiet
Returns true if this failure is quiet
src/compiling/failing/failure.rs:31
Function
letter_position
()
src/compiling/lexing/reader.rs:119
Method
load_file
Load file from path
src/compiling/compiler.rs:106
Function
match_region
()
src/compiling/lexing/region_handler.rs:157
Function
match_region
()
src/compiling/lexing/compound_handler.rs:101
Method
new
Create a new compiler with provided rules of your language
src/compiling/compiler.rs:85
Method
new
Create a new Lexer based on the compiler metadata
src/compiling/lexing/lexer.rs:45
Method
new
(rules: &Rules)
src/compiling/lexing/region_handler.rs:23
Method
new
(rules: &Rules)
src/compiling/lexing/compound_handler.rs:25
Method
new
(code: &String)
src/compiling/lexing/reader.rs:17
Method
new
(tokens: Vec<Token>, path: Option<String>, code: Option<String>)
src/compiling/parser/metadata.rs:24
Method
new
()
src/compiling/parser/syntax_module.rs:104
Method
new
Create a new Displayer instance
src/compiling/failing/logger.rs:23
Method
new
Create a new error from scratch
src/compiling/failing/position_info.rs:41
Method
new
Create a new logger instance
src/compiling/failing/message.rs:60
Method
new
Creates new rules that can be supplied to the compiler
src/compiling_rules/rules.rs:48
Method
new
Create a new region by scratch
src/compiling_rules/region.rs:146
Method
new
()
tests/arith_modules/number.rs:10
Method
new
()
tests/arith_modules/add.rs:12
Method
new
()
tests/arith_modules/expr.rs:63
Method
new
()
tests/cobra_modules/if_statement.rs:11
Method
new
()
tests/cobra_modules/text.rs:9
Method
new
()
tests/cobra_modules/block.rs:17
Method
new
()
tests/cobra_modules/expr.rs:35
Method
new_at_token
Create a new error instance at given token position if possible
src/compiling/failing/message.rs:82
Method
new_err_at_position
Create an error by supplying essential information about the location
src/compiling/failing/message.rs:123
Method
new_err_at_token
Show error message based on the token
src/compiling/failing/message.rs:106
Method
new_err_msg
Show error message that does not relate to code
src/compiling/failing/message.rs:89
Method
new_global
Create a new global region
src/compiling_rules/region.rs:163
Method
new_info_at_position
Create an info by supplying essential information about the location
src/compiling/failing/message.rs:133
Method
new_info_at_token
Show info message based on the token
src/compiling/failing/message.rs:116
Method
new_info_msg
Show info message that does not relate to code
src/compiling/failing/message.rs:99
Method
new_msg
Create a new logger instance with message (suited for messages not related with issues in code)
src/compiling/failing/message.rs:71
Method
new_warn_at_position
Create a warning by supplying essential information about the location
src/compiling/failing/message.rs:128
Method
new_warn_at_token
Show warning message based on the token
src/compiling/failing/message.rs:111
Method
new_warn_msg
Show warning message that does not relate to code
src/compiling/failing/message.rs:94
Method
offset_index
Change current index by given offset
src/compiling/parser/metadata.rs:99
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/arith_modules/number.rs:13
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/arith_modules/add.rs:18
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/arith_modules/expr.rs:66
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/cobra_modules/if_statement.rs:14
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/cobra_modules/text.rs:12
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/cobra_modules/block.rs:20
Method
parse
(&mut self, meta: &mut DefaultMetadata)
tests/cobra_modules/expr.rs:38
Function
region_map_correctly
()
src/compiling_rules/region.rs:250
Function
region_parses_correctly
()
src/compiling_rules/region.rs:194
Function
rest_match
()
src/compiling/parser/syntax_module.rs:210
Method
set_escape
Set custom escape symbol for your language
src/compiling_rules/rules.rs:58
Method
set_path
Set source file path
src/compiling/compiler.rs:121
Method
set_separator
Set the language separator mode
src/compiling/compiler.rs:101
Function
test_between_tokens
()
src/compiling/failing/logger.rs:271
Function
test_displayer
()
src/compiling/failing/logger.rs:233
Function
test_end_of_line_displayer
()
src/compiling/failing/logger.rs:254
Function
test_lexer_base
()
src/compiling/lexing/lexer.rs:337
Function
test_lexer_escaped_regions
()
src/compiling/lexing/lexer.rs:486
Function
test_lexer_ignored_escaped_regions
()
src/compiling/lexing/lexer.rs:506
Function
test_lexer_indent_scoping_mode
()
src/compiling/lexing/lexer.rs:411
Function
test_lexer_manual_separator_mode
()
src/compiling/lexing/lexer.rs:441
Function
test_lexer_multiline_regions
()
src/compiling/lexing/lexer.rs:466
Function
test_lexer_string_interp
()
src/compiling/lexing/lexer.rs:371
Function
test_lexer_tokenized_regions
()
src/compiling/lexing/lexer.rs:533
Function
test_message
()
src/compiling/failing/message.rs:184
Function
test_message_with_code
()
src/compiling/failing/message.rs:191
Function
test_position_info
()
src/compiling/failing/position_info.rs:198
Function
test_position_info_between_positions
()
src/compiling/failing/position_info.rs:215
Function
test_position_info_between_tokens
()
src/compiling/failing/position_info.rs:205
Function
test_preset_match
()
src/compiling/parser/syntax_module.rs:154
Function
test_token_match
()
src/compiling/parser/syntax_module.rs:114
Method
text
Render text with supplied coloring
src/compiling/failing/logger.rs:54
Method
unwrap_loud
Unwraps this failure into loud failure
src/compiling/failing/failure.rs:49
Method
unwrap_quiet
Unwraps this failure into quiet failure
src/compiling/failing/failure.rs:41
← previous
101–172 of 172, ranked by callers