[−][src]Module dune::parser
Functions
assignment | This stores to an identifier, or assigns to an indexed value |
builtin | This matches a simple identifier |
comment | Matches a comment in source code |
dot_ident | This matches a value, succeeded by dot separated identifiers |
expr | A fundamental language expression |
flat_value | This matches values that do not have the possibility of entering a recursive loop. |
fncall | This matches a function call, a value called with arguments |
function | This represents an anonymous function literal. A function literal looks like the following: |
function_def | This represents a function definition. A function definition is a function with a name: |
group | This matches a grouped value, any () enclosed value |
ident | This matches a simple identifier |
if_then_else | If a condition is true, execute a suite else, execute a suite |
index_name | This matches a value, succeeded by [] enclosed values |
literal | This matches either a number or string literal |
name | This matches an identifier, a dotted name, or an indexed name |
number_literal | This parses a number literal |
program | A series of expressions |
recursive_value | This matches values that DO have a possibility of entering a recursive loop. |
string_literal | This parses a string literal |
suite | A series of instructions enclosed with {} |
value | This represents an atomic value |
while_loop | While a condition is true, execute a suite |