Module ast

Source
Expand description

Contains all structures that can be parsed from a TokenStream. They will be used when generating code

Structs§

Export
A rust to js interface. Allows interaction with rust objects/functions from javascript.
Function
Information about a function being imported or exported
Operation
The operation performed by a class method
Program
An abstract syntax tree representing a rust program. Contains extra information for joining up this rust code with javascript.
Struct
Information about a Struct being exported
StructField
The field of a struct

Enums§

MethodKind
The type of a method
OperationKind
The kind of operation performed by a method