[][src]Crate xassembler

Structs

FnCall
Function
FunctionDef
Identifier
StructDef
Suite

Enums

Error
Expr
Literal
Name
Value

Traits

Compile

Functions

assign
assignment

This stores to an identifier, or assigns to an indexed value

call
comment

Matches a comment in source code

compile
copy
dot_ident

This matches a value, succeeded by dot separated identifiers

dotname
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

foreign_func
foreign_function_literal

This parses a foreign function literal: @foreign_function_name

func
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

index_name

This matches a value, succeeded by [] enclosed values

indexname
literal

This matches either a number or string literal

load
method_call
name

This matches an identifier, a dotted name, or an indexed name

number
number_literal

This parses a number literal

program

A series of expressions

push
quote
recursive_value

This matches values that DO have a possibility of entering a recursive loop.

store
string
string_literal

This parses a string literal

struct_def

This defines a class object. A class is actually a function that stores a bunch of methods and values in a dictionary named self, and returns the value of self

suite

A series of instructions enclosed with {}

value

This represents an atomic value