parser

package
v0.0.0-...-c1d2b53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WASTLexerT__0          = 1
	WASTLexerT__1          = 2
	WASTLexerT__2          = 3
	WASTLexerT__3          = 4
	WASTLexerT__4          = 5
	WASTLexerT__5          = 6
	WASTLexerT__6          = 7
	WASTLexerT__7          = 8
	WASTLexerT__8          = 9
	WASTLexerT__9          = 10
	WASTLexerT__10         = 11
	WASTLexerT__11         = 12
	WASTLexerT__12         = 13
	WASTLexerT__13         = 14
	WASTLexerT__14         = 15
	WASTLexerT__15         = 16
	WASTLexerT__16         = 17
	WASTLexerT__17         = 18
	WASTLexerT__18         = 19
	WASTLexerT__19         = 20
	WASTLexerT__20         = 21
	WASTLexerT__21         = 22
	WASTLexerT__22         = 23
	WASTLexerT__23         = 24
	WASTLexerT__24         = 25
	WASTLexerT__25         = 26
	WASTLexerT__26         = 27
	WASTLexerT__27         = 28
	WASTLexerT__28         = 29
	WASTLexerT__29         = 30
	WASTLexerT__30         = 31
	WASTLexerT__31         = 32
	WASTLexerT__32         = 33
	WASTLexerT__33         = 34
	WASTLexerT__34         = 35
	WASTLexerT__35         = 36
	WASTLexerT__36         = 37
	WASTLexerT__37         = 38
	WASTLexerT__38         = 39
	WASTLexerT__39         = 40
	WASTLexerT__40         = 41
	WASTLexerT__41         = 42
	WASTLexerT__42         = 43
	WASTLexerT__43         = 44
	WASTLexerT__44         = 45
	WASTLexerT__45         = 46
	WASTLexerT__46         = 47
	WASTLexerT__47         = 48
	WASTLexerT__48         = 49
	WASTLexerT__49         = 50
	WASTLexerT__50         = 51
	WASTLexerT__51         = 52
	WASTLexerT__52         = 53
	WASTLexerT__53         = 54
	WASTLexerT__54         = 55
	WASTLexerVAL_TYPE      = 56
	WASTLexerNAME          = 57
	WASTLexerSTRING        = 58
	WASTLexerFLOAT         = 59
	WASTLexerNAT           = 60
	WASTLexerINT           = 61
	WASTLexerVAR_OPS       = 62
	WASTLexerMEM_OPS       = 63
	WASTLexerCST_OPS       = 64
	WASTLexerNUM_OPS       = 65
	WASTLexerWS            = 66
	WASTLexerLINE_COMMENT  = 67
	WASTLexerBLOCK_COMMENT = 68
)

WASTLexer tokens.

View Source
const (
	WASTParserEOF           = antlr.TokenEOF
	WASTParserT__0          = 1
	WASTParserT__1          = 2
	WASTParserT__2          = 3
	WASTParserT__3          = 4
	WASTParserT__4          = 5
	WASTParserT__5          = 6
	WASTParserT__6          = 7
	WASTParserT__7          = 8
	WASTParserT__8          = 9
	WASTParserT__9          = 10
	WASTParserT__10         = 11
	WASTParserT__11         = 12
	WASTParserT__12         = 13
	WASTParserT__13         = 14
	WASTParserT__14         = 15
	WASTParserT__15         = 16
	WASTParserT__16         = 17
	WASTParserT__17         = 18
	WASTParserT__18         = 19
	WASTParserT__19         = 20
	WASTParserT__20         = 21
	WASTParserT__21         = 22
	WASTParserT__22         = 23
	WASTParserT__23         = 24
	WASTParserT__24         = 25
	WASTParserT__25         = 26
	WASTParserT__26         = 27
	WASTParserT__27         = 28
	WASTParserT__28         = 29
	WASTParserT__29         = 30
	WASTParserT__30         = 31
	WASTParserT__31         = 32
	WASTParserT__32         = 33
	WASTParserT__33         = 34
	WASTParserT__34         = 35
	WASTParserT__35         = 36
	WASTParserT__36         = 37
	WASTParserT__37         = 38
	WASTParserT__38         = 39
	WASTParserT__39         = 40
	WASTParserT__40         = 41
	WASTParserT__41         = 42
	WASTParserT__42         = 43
	WASTParserT__43         = 44
	WASTParserT__44         = 45
	WASTParserT__45         = 46
	WASTParserT__46         = 47
	WASTParserT__47         = 48
	WASTParserT__48         = 49
	WASTParserT__49         = 50
	WASTParserT__50         = 51
	WASTParserT__51         = 52
	WASTParserT__52         = 53
	WASTParserT__53         = 54
	WASTParserT__54         = 55
	WASTParserVAL_TYPE      = 56
	WASTParserNAME          = 57
	WASTParserSTRING        = 58
	WASTParserFLOAT         = 59
	WASTParserNAT           = 60
	WASTParserINT           = 61
	WASTParserVAR_OPS       = 62
	WASTParserMEM_OPS       = 63
	WASTParserCST_OPS       = 64
	WASTParserNUM_OPS       = 65
	WASTParserWS            = 66
	WASTParserLINE_COMMENT  = 67
	WASTParserBLOCK_COMMENT = 68
)

WASTParser tokens.

View Source
const (
	WASTParserRULE_script      = 0
	WASTParserRULE_cmd         = 1
	WASTParserRULE_wastModule  = 2
	WASTParserRULE_action_     = 3
	WASTParserRULE_assertion   = 4
	WASTParserRULE_expected    = 5
	WASTParserRULE_meta        = 6
	WASTParserRULE_module      = 7
	WASTParserRULE_watModule   = 8
	WASTParserRULE_moduleField = 9
	WASTParserRULE_typeDef     = 10
	WASTParserRULE_import_     = 11
	WASTParserRULE_importDesc  = 12
	WASTParserRULE_func_       = 13
	WASTParserRULE_funcLocal   = 14
	WASTParserRULE_table       = 15
	WASTParserRULE_memory      = 16
	WASTParserRULE_global      = 17
	WASTParserRULE_export      = 18
	WASTParserRULE_exportDesc  = 19
	WASTParserRULE_start       = 20
	WASTParserRULE_elem        = 21
	WASTParserRULE_data        = 22
	WASTParserRULE_embeddedIm  = 23
	WASTParserRULE_embeddedEx  = 24
	WASTParserRULE_typeUse     = 25
	WASTParserRULE_funcVars    = 26
	WASTParserRULE_valType     = 27
	WASTParserRULE_blockType   = 28
	WASTParserRULE_globalType  = 29
	WASTParserRULE_memoryType  = 30
	WASTParserRULE_tableType   = 31
	WASTParserRULE_elemType    = 32
	WASTParserRULE_limits      = 33
	WASTParserRULE_funcType    = 34
	WASTParserRULE_param       = 35
	WASTParserRULE_result      = 36
	WASTParserRULE_expr        = 37
	WASTParserRULE_instr       = 38
	WASTParserRULE_foldedInstr = 39
	WASTParserRULE_blockInstr  = 40
	WASTParserRULE_plainInstr  = 41
	WASTParserRULE_constInstr  = 42
	WASTParserRULE_memArg      = 43
	WASTParserRULE_nat         = 44
	WASTParserRULE_value       = 45
	WASTParserRULE_variable    = 46
)

WASTParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action_Context

type Action_Context struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAction_Context

func NewAction_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Action_Context

func NewEmptyAction_Context

func NewEmptyAction_Context() *Action_Context

func (*Action_Context) Accept

func (s *Action_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*Action_Context) Expr

func (s *Action_Context) Expr() IExprContext

func (*Action_Context) GetKind

func (s *Action_Context) GetKind() antlr.Token

func (*Action_Context) GetParser

func (s *Action_Context) GetParser() antlr.Parser

func (*Action_Context) GetRuleContext

func (s *Action_Context) GetRuleContext() antlr.RuleContext

func (*Action_Context) IsAction_Context

func (*Action_Context) IsAction_Context()

func (*Action_Context) NAME

func (s *Action_Context) NAME() antlr.TerminalNode

func (*Action_Context) STRING

func (s *Action_Context) STRING() antlr.TerminalNode

func (*Action_Context) SetKind

func (s *Action_Context) SetKind(v antlr.Token)

func (*Action_Context) ToStringTree

func (s *Action_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AssertionContext

type AssertionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAssertionContext

func NewAssertionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssertionContext

func NewEmptyAssertionContext

func NewEmptyAssertionContext() *AssertionContext

func (*AssertionContext) Accept

func (s *AssertionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AssertionContext) Action_

func (s *AssertionContext) Action_() IAction_Context

func (*AssertionContext) AllExpected

func (s *AssertionContext) AllExpected() []IExpectedContext

func (*AssertionContext) Expected

func (s *AssertionContext) Expected(i int) IExpectedContext

func (*AssertionContext) GetKind

func (s *AssertionContext) GetKind() antlr.Token

func (*AssertionContext) GetParser

func (s *AssertionContext) GetParser() antlr.Parser

func (*AssertionContext) GetRuleContext

func (s *AssertionContext) GetRuleContext() antlr.RuleContext

func (*AssertionContext) IsAssertionContext

func (*AssertionContext) IsAssertionContext()

func (*AssertionContext) STRING

func (s *AssertionContext) STRING() antlr.TerminalNode

func (*AssertionContext) SetKind

func (s *AssertionContext) SetKind(v antlr.Token)

func (*AssertionContext) ToStringTree

func (s *AssertionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*AssertionContext) WastModule

func (s *AssertionContext) WastModule() IWastModuleContext

type BaseWASTVisitor

type BaseWASTVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseWASTVisitor) VisitAction_

func (v *BaseWASTVisitor) VisitAction_(ctx *Action_Context) interface{}

func (*BaseWASTVisitor) VisitAssertion

func (v *BaseWASTVisitor) VisitAssertion(ctx *AssertionContext) interface{}

func (*BaseWASTVisitor) VisitBlockInstr

func (v *BaseWASTVisitor) VisitBlockInstr(ctx *BlockInstrContext) interface{}

func (*BaseWASTVisitor) VisitBlockType

func (v *BaseWASTVisitor) VisitBlockType(ctx *BlockTypeContext) interface{}

func (*BaseWASTVisitor) VisitCmd

func (v *BaseWASTVisitor) VisitCmd(ctx *CmdContext) interface{}

func (*BaseWASTVisitor) VisitConstInstr

func (v *BaseWASTVisitor) VisitConstInstr(ctx *ConstInstrContext) interface{}

func (*BaseWASTVisitor) VisitData

func (v *BaseWASTVisitor) VisitData(ctx *DataContext) interface{}

func (*BaseWASTVisitor) VisitElem

func (v *BaseWASTVisitor) VisitElem(ctx *ElemContext) interface{}

func (*BaseWASTVisitor) VisitElemType

func (v *BaseWASTVisitor) VisitElemType(ctx *ElemTypeContext) interface{}

func (*BaseWASTVisitor) VisitEmbeddedEx

func (v *BaseWASTVisitor) VisitEmbeddedEx(ctx *EmbeddedExContext) interface{}

func (*BaseWASTVisitor) VisitEmbeddedIm

func (v *BaseWASTVisitor) VisitEmbeddedIm(ctx *EmbeddedImContext) interface{}

func (*BaseWASTVisitor) VisitExpected

func (v *BaseWASTVisitor) VisitExpected(ctx *ExpectedContext) interface{}

func (*BaseWASTVisitor) VisitExport

func (v *BaseWASTVisitor) VisitExport(ctx *ExportContext) interface{}

func (*BaseWASTVisitor) VisitExportDesc

func (v *BaseWASTVisitor) VisitExportDesc(ctx *ExportDescContext) interface{}

func (*BaseWASTVisitor) VisitExpr

func (v *BaseWASTVisitor) VisitExpr(ctx *ExprContext) interface{}

func (*BaseWASTVisitor) VisitFoldedInstr

func (v *BaseWASTVisitor) VisitFoldedInstr(ctx *FoldedInstrContext) interface{}

func (*BaseWASTVisitor) VisitFuncLocal

func (v *BaseWASTVisitor) VisitFuncLocal(ctx *FuncLocalContext) interface{}

func (*BaseWASTVisitor) VisitFuncType

func (v *BaseWASTVisitor) VisitFuncType(ctx *FuncTypeContext) interface{}

func (*BaseWASTVisitor) VisitFuncVars

func (v *BaseWASTVisitor) VisitFuncVars(ctx *FuncVarsContext) interface{}

func (*BaseWASTVisitor) VisitFunc_

func (v *BaseWASTVisitor) VisitFunc_(ctx *Func_Context) interface{}

func (*BaseWASTVisitor) VisitGlobal

func (v *BaseWASTVisitor) VisitGlobal(ctx *GlobalContext) interface{}

func (*BaseWASTVisitor) VisitGlobalType

func (v *BaseWASTVisitor) VisitGlobalType(ctx *GlobalTypeContext) interface{}

func (*BaseWASTVisitor) VisitImportDesc

func (v *BaseWASTVisitor) VisitImportDesc(ctx *ImportDescContext) interface{}

func (*BaseWASTVisitor) VisitImport_

func (v *BaseWASTVisitor) VisitImport_(ctx *Import_Context) interface{}

func (*BaseWASTVisitor) VisitInstr

func (v *BaseWASTVisitor) VisitInstr(ctx *InstrContext) interface{}

func (*BaseWASTVisitor) VisitLimits

func (v *BaseWASTVisitor) VisitLimits(ctx *LimitsContext) interface{}

func (*BaseWASTVisitor) VisitMemArg

func (v *BaseWASTVisitor) VisitMemArg(ctx *MemArgContext) interface{}

func (*BaseWASTVisitor) VisitMemory

func (v *BaseWASTVisitor) VisitMemory(ctx *MemoryContext) interface{}

func (*BaseWASTVisitor) VisitMemoryType

func (v *BaseWASTVisitor) VisitMemoryType(ctx *MemoryTypeContext) interface{}

func (*BaseWASTVisitor) VisitMeta

func (v *BaseWASTVisitor) VisitMeta(ctx *MetaContext) interface{}

func (*BaseWASTVisitor) VisitModule

func (v *BaseWASTVisitor) VisitModule(ctx *ModuleContext) interface{}

func (*BaseWASTVisitor) VisitModuleField

func (v *BaseWASTVisitor) VisitModuleField(ctx *ModuleFieldContext) interface{}

func (*BaseWASTVisitor) VisitNat

func (v *BaseWASTVisitor) VisitNat(ctx *NatContext) interface{}

func (*BaseWASTVisitor) VisitParam

func (v *BaseWASTVisitor) VisitParam(ctx *ParamContext) interface{}

func (*BaseWASTVisitor) VisitPlainInstr

func (v *BaseWASTVisitor) VisitPlainInstr(ctx *PlainInstrContext) interface{}

func (*BaseWASTVisitor) VisitResult

func (v *BaseWASTVisitor) VisitResult(ctx *ResultContext) interface{}

func (*BaseWASTVisitor) VisitScript

func (v *BaseWASTVisitor) VisitScript(ctx *ScriptContext) interface{}

func (*BaseWASTVisitor) VisitStart

func (v *BaseWASTVisitor) VisitStart(ctx *StartContext) interface{}

func (*BaseWASTVisitor) VisitTable

func (v *BaseWASTVisitor) VisitTable(ctx *TableContext) interface{}

func (*BaseWASTVisitor) VisitTableType

func (v *BaseWASTVisitor) VisitTableType(ctx *TableTypeContext) interface{}

func (*BaseWASTVisitor) VisitTypeDef

func (v *BaseWASTVisitor) VisitTypeDef(ctx *TypeDefContext) interface{}

func (*BaseWASTVisitor) VisitTypeUse

func (v *BaseWASTVisitor) VisitTypeUse(ctx *TypeUseContext) interface{}

func (*BaseWASTVisitor) VisitValType

func (v *BaseWASTVisitor) VisitValType(ctx *ValTypeContext) interface{}

func (*BaseWASTVisitor) VisitValue

func (v *BaseWASTVisitor) VisitValue(ctx *ValueContext) interface{}

func (*BaseWASTVisitor) VisitVariable

func (v *BaseWASTVisitor) VisitVariable(ctx *VariableContext) interface{}

func (*BaseWASTVisitor) VisitWastModule

func (v *BaseWASTVisitor) VisitWastModule(ctx *WastModuleContext) interface{}

func (*BaseWASTVisitor) VisitWatModule

func (v *BaseWASTVisitor) VisitWatModule(ctx *WatModuleContext) interface{}

type BlockInstrContext

type BlockInstrContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewBlockInstrContext

func NewBlockInstrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockInstrContext

func NewEmptyBlockInstrContext

func NewEmptyBlockInstrContext() *BlockInstrContext

func (*BlockInstrContext) Accept

func (s *BlockInstrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockInstrContext) AllExpr

func (s *BlockInstrContext) AllExpr() []IExprContext

func (*BlockInstrContext) AllNAME

func (s *BlockInstrContext) AllNAME() []antlr.TerminalNode

func (*BlockInstrContext) BlockType

func (s *BlockInstrContext) BlockType() IBlockTypeContext

func (*BlockInstrContext) Expr

func (s *BlockInstrContext) Expr(i int) IExprContext

func (*BlockInstrContext) GetL1

func (s *BlockInstrContext) GetL1() antlr.Token

func (*BlockInstrContext) GetL2

func (s *BlockInstrContext) GetL2() antlr.Token

func (*BlockInstrContext) GetLabel

func (s *BlockInstrContext) GetLabel() antlr.Token

func (*BlockInstrContext) GetOp

func (s *BlockInstrContext) GetOp() antlr.Token

func (*BlockInstrContext) GetParser

func (s *BlockInstrContext) GetParser() antlr.Parser

func (*BlockInstrContext) GetRuleContext

func (s *BlockInstrContext) GetRuleContext() antlr.RuleContext

func (*BlockInstrContext) IsBlockInstrContext

func (*BlockInstrContext) IsBlockInstrContext()

func (*BlockInstrContext) NAME

func (*BlockInstrContext) SetL1

func (s *BlockInstrContext) SetL1(v antlr.Token)

func (*BlockInstrContext) SetL2

func (s *BlockInstrContext) SetL2(v antlr.Token)

func (*BlockInstrContext) SetLabel

func (s *BlockInstrContext) SetLabel(v antlr.Token)

func (*BlockInstrContext) SetOp

func (s *BlockInstrContext) SetOp(v antlr.Token)

func (*BlockInstrContext) ToStringTree

func (s *BlockInstrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BlockTypeContext

type BlockTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewBlockTypeContext

func NewBlockTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockTypeContext

func NewEmptyBlockTypeContext

func NewEmptyBlockTypeContext() *BlockTypeContext

func (*BlockTypeContext) Accept

func (s *BlockTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockTypeContext) GetParser

func (s *BlockTypeContext) GetParser() antlr.Parser

func (*BlockTypeContext) GetRuleContext

func (s *BlockTypeContext) GetRuleContext() antlr.RuleContext

func (*BlockTypeContext) IsBlockTypeContext

func (*BlockTypeContext) IsBlockTypeContext()

func (*BlockTypeContext) Result

func (s *BlockTypeContext) Result() IResultContext

func (*BlockTypeContext) ToStringTree

func (s *BlockTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*BlockTypeContext) TypeUse

func (s *BlockTypeContext) TypeUse() ITypeUseContext

type CmdContext

type CmdContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCmdContext

func NewCmdContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CmdContext

func NewEmptyCmdContext

func NewEmptyCmdContext() *CmdContext

func (*CmdContext) Accept

func (s *CmdContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*CmdContext) Action_

func (s *CmdContext) Action_() IAction_Context

func (*CmdContext) Assertion

func (s *CmdContext) Assertion() IAssertionContext

func (*CmdContext) GetParser

func (s *CmdContext) GetParser() antlr.Parser

func (*CmdContext) GetRuleContext

func (s *CmdContext) GetRuleContext() antlr.RuleContext

func (*CmdContext) IsCmdContext

func (*CmdContext) IsCmdContext()

func (*CmdContext) Meta

func (s *CmdContext) Meta() IMetaContext

func (*CmdContext) NAME

func (s *CmdContext) NAME() antlr.TerminalNode

func (*CmdContext) STRING

func (s *CmdContext) STRING() antlr.TerminalNode

func (*CmdContext) ToStringTree

func (s *CmdContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*CmdContext) WastModule

func (s *CmdContext) WastModule() IWastModuleContext

type ConstInstrContext

type ConstInstrContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewConstInstrContext

func NewConstInstrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstInstrContext

func NewEmptyConstInstrContext

func NewEmptyConstInstrContext() *ConstInstrContext

func (*ConstInstrContext) Accept

func (s *ConstInstrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ConstInstrContext) CST_OPS

func (s *ConstInstrContext) CST_OPS() antlr.TerminalNode

func (*ConstInstrContext) GetOp

func (s *ConstInstrContext) GetOp() antlr.Token

func (*ConstInstrContext) GetParser

func (s *ConstInstrContext) GetParser() antlr.Parser

func (*ConstInstrContext) GetRuleContext

func (s *ConstInstrContext) GetRuleContext() antlr.RuleContext

func (*ConstInstrContext) IsConstInstrContext

func (*ConstInstrContext) IsConstInstrContext()

func (*ConstInstrContext) SetOp

func (s *ConstInstrContext) SetOp(v antlr.Token)

func (*ConstInstrContext) ToStringTree

func (s *ConstInstrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ConstInstrContext) Value

func (s *ConstInstrContext) Value() IValueContext

type DataContext

type DataContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDataContext

func NewDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DataContext

func NewEmptyDataContext

func NewEmptyDataContext() *DataContext

func (*DataContext) Accept

func (s *DataContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*DataContext) AllSTRING

func (s *DataContext) AllSTRING() []antlr.TerminalNode

func (*DataContext) Expr

func (s *DataContext) Expr() IExprContext

func (*DataContext) GetParser

func (s *DataContext) GetParser() antlr.Parser

func (*DataContext) GetRuleContext

func (s *DataContext) GetRuleContext() antlr.RuleContext

func (*DataContext) IsDataContext

func (*DataContext) IsDataContext()

func (*DataContext) STRING

func (s *DataContext) STRING(i int) antlr.TerminalNode

func (*DataContext) ToStringTree

func (s *DataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*DataContext) Variable

func (s *DataContext) Variable() IVariableContext

type ElemContext

type ElemContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewElemContext

func NewElemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElemContext

func NewEmptyElemContext

func NewEmptyElemContext() *ElemContext

func (*ElemContext) Accept

func (s *ElemContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ElemContext) Expr

func (s *ElemContext) Expr() IExprContext

func (*ElemContext) FuncVars

func (s *ElemContext) FuncVars() IFuncVarsContext

func (*ElemContext) GetParser

func (s *ElemContext) GetParser() antlr.Parser

func (*ElemContext) GetRuleContext

func (s *ElemContext) GetRuleContext() antlr.RuleContext

func (*ElemContext) IsElemContext

func (*ElemContext) IsElemContext()

func (*ElemContext) ToStringTree

func (s *ElemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ElemContext) Variable

func (s *ElemContext) Variable() IVariableContext

type ElemTypeContext

type ElemTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewElemTypeContext

func NewElemTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElemTypeContext

func NewEmptyElemTypeContext

func NewEmptyElemTypeContext() *ElemTypeContext

func (*ElemTypeContext) Accept

func (s *ElemTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ElemTypeContext) GetParser

func (s *ElemTypeContext) GetParser() antlr.Parser

func (*ElemTypeContext) GetRuleContext

func (s *ElemTypeContext) GetRuleContext() antlr.RuleContext

func (*ElemTypeContext) IsElemTypeContext

func (*ElemTypeContext) IsElemTypeContext()

func (*ElemTypeContext) ToStringTree

func (s *ElemTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EmbeddedExContext

type EmbeddedExContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmbeddedExContext

func NewEmbeddedExContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmbeddedExContext

func NewEmptyEmbeddedExContext

func NewEmptyEmbeddedExContext() *EmbeddedExContext

func (*EmbeddedExContext) Accept

func (s *EmbeddedExContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*EmbeddedExContext) AllSTRING

func (s *EmbeddedExContext) AllSTRING() []antlr.TerminalNode

func (*EmbeddedExContext) GetParser

func (s *EmbeddedExContext) GetParser() antlr.Parser

func (*EmbeddedExContext) GetRuleContext

func (s *EmbeddedExContext) GetRuleContext() antlr.RuleContext

func (*EmbeddedExContext) IsEmbeddedExContext

func (*EmbeddedExContext) IsEmbeddedExContext()

func (*EmbeddedExContext) STRING

func (s *EmbeddedExContext) STRING(i int) antlr.TerminalNode

func (*EmbeddedExContext) ToStringTree

func (s *EmbeddedExContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EmbeddedImContext

type EmbeddedImContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmbeddedImContext

func NewEmbeddedImContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmbeddedImContext

func NewEmptyEmbeddedImContext

func NewEmptyEmbeddedImContext() *EmbeddedImContext

func (*EmbeddedImContext) Accept

func (s *EmbeddedImContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*EmbeddedImContext) AllSTRING

func (s *EmbeddedImContext) AllSTRING() []antlr.TerminalNode

func (*EmbeddedImContext) GetParser

func (s *EmbeddedImContext) GetParser() antlr.Parser

func (*EmbeddedImContext) GetRuleContext

func (s *EmbeddedImContext) GetRuleContext() antlr.RuleContext

func (*EmbeddedImContext) IsEmbeddedImContext

func (*EmbeddedImContext) IsEmbeddedImContext()

func (*EmbeddedImContext) STRING

func (s *EmbeddedImContext) STRING(i int) antlr.TerminalNode

func (*EmbeddedImContext) ToStringTree

func (s *EmbeddedImContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExpectedContext

type ExpectedContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExpectedContext

func NewEmptyExpectedContext() *ExpectedContext

func NewExpectedContext

func NewExpectedContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpectedContext

func (*ExpectedContext) Accept

func (s *ExpectedContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExpectedContext) CST_OPS

func (s *ExpectedContext) CST_OPS() antlr.TerminalNode

func (*ExpectedContext) ConstInstr

func (s *ExpectedContext) ConstInstr() IConstInstrContext

func (*ExpectedContext) GetNan

func (s *ExpectedContext) GetNan() antlr.Token

func (*ExpectedContext) GetOp

func (s *ExpectedContext) GetOp() antlr.Token

func (*ExpectedContext) GetParser

func (s *ExpectedContext) GetParser() antlr.Parser

func (*ExpectedContext) GetRuleContext

func (s *ExpectedContext) GetRuleContext() antlr.RuleContext

func (*ExpectedContext) IsExpectedContext

func (*ExpectedContext) IsExpectedContext()

func (*ExpectedContext) SetNan

func (s *ExpectedContext) SetNan(v antlr.Token)

func (*ExpectedContext) SetOp

func (s *ExpectedContext) SetOp(v antlr.Token)

func (*ExpectedContext) ToStringTree

func (s *ExpectedContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExportContext

type ExportContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExportContext

func NewEmptyExportContext() *ExportContext

func NewExportContext

func NewExportContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExportContext

func (*ExportContext) Accept

func (s *ExportContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExportContext) ExportDesc

func (s *ExportContext) ExportDesc() IExportDescContext

func (*ExportContext) GetParser

func (s *ExportContext) GetParser() antlr.Parser

func (*ExportContext) GetRuleContext

func (s *ExportContext) GetRuleContext() antlr.RuleContext

func (*ExportContext) IsExportContext

func (*ExportContext) IsExportContext()

func (*ExportContext) STRING

func (s *ExportContext) STRING() antlr.TerminalNode

func (*ExportContext) ToStringTree

func (s *ExportContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExportDescContext

type ExportDescContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExportDescContext

func NewEmptyExportDescContext() *ExportDescContext

func NewExportDescContext

func NewExportDescContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExportDescContext

func (*ExportDescContext) Accept

func (s *ExportDescContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExportDescContext) GetKind

func (s *ExportDescContext) GetKind() antlr.Token

func (*ExportDescContext) GetParser

func (s *ExportDescContext) GetParser() antlr.Parser

func (*ExportDescContext) GetRuleContext

func (s *ExportDescContext) GetRuleContext() antlr.RuleContext

func (*ExportDescContext) IsExportDescContext

func (*ExportDescContext) IsExportDescContext()

func (*ExportDescContext) SetKind

func (s *ExportDescContext) SetKind(v antlr.Token)

func (*ExportDescContext) ToStringTree

func (s *ExportDescContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ExportDescContext) Variable

func (s *ExportDescContext) Variable() IVariableContext

type ExprContext

type ExprContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) Accept

func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExprContext) AllInstr

func (s *ExprContext) AllInstr() []IInstrContext

func (*ExprContext) GetParser

func (s *ExprContext) GetParser() antlr.Parser

func (*ExprContext) GetRuleContext

func (s *ExprContext) GetRuleContext() antlr.RuleContext

func (*ExprContext) Instr

func (s *ExprContext) Instr(i int) IInstrContext

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) ToStringTree

func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FoldedInstrContext

type FoldedInstrContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFoldedInstrContext

func NewEmptyFoldedInstrContext() *FoldedInstrContext

func NewFoldedInstrContext

func NewFoldedInstrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FoldedInstrContext

func (*FoldedInstrContext) Accept

func (s *FoldedInstrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FoldedInstrContext) AllExpr

func (s *FoldedInstrContext) AllExpr() []IExprContext

func (*FoldedInstrContext) AllFoldedInstr

func (s *FoldedInstrContext) AllFoldedInstr() []IFoldedInstrContext

func (*FoldedInstrContext) BlockType

func (s *FoldedInstrContext) BlockType() IBlockTypeContext

func (*FoldedInstrContext) Expr

func (s *FoldedInstrContext) Expr(i int) IExprContext

func (*FoldedInstrContext) FoldedInstr

func (s *FoldedInstrContext) FoldedInstr(i int) IFoldedInstrContext

func (*FoldedInstrContext) GetLabel

func (s *FoldedInstrContext) GetLabel() antlr.Token

func (*FoldedInstrContext) GetOp

func (s *FoldedInstrContext) GetOp() antlr.Token

func (*FoldedInstrContext) GetParser

func (s *FoldedInstrContext) GetParser() antlr.Parser

func (*FoldedInstrContext) GetRuleContext

func (s *FoldedInstrContext) GetRuleContext() antlr.RuleContext

func (*FoldedInstrContext) IsFoldedInstrContext

func (*FoldedInstrContext) IsFoldedInstrContext()

func (*FoldedInstrContext) NAME

func (*FoldedInstrContext) PlainInstr

func (s *FoldedInstrContext) PlainInstr() IPlainInstrContext

func (*FoldedInstrContext) SetLabel

func (s *FoldedInstrContext) SetLabel(v antlr.Token)

func (*FoldedInstrContext) SetOp

func (s *FoldedInstrContext) SetOp(v antlr.Token)

func (*FoldedInstrContext) ToStringTree

func (s *FoldedInstrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FuncLocalContext

type FuncLocalContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFuncLocalContext

func NewEmptyFuncLocalContext() *FuncLocalContext

func NewFuncLocalContext

func NewFuncLocalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncLocalContext

func (*FuncLocalContext) Accept

func (s *FuncLocalContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FuncLocalContext) AllValType

func (s *FuncLocalContext) AllValType() []IValTypeContext

func (*FuncLocalContext) GetParser

func (s *FuncLocalContext) GetParser() antlr.Parser

func (*FuncLocalContext) GetRuleContext

func (s *FuncLocalContext) GetRuleContext() antlr.RuleContext

func (*FuncLocalContext) IsFuncLocalContext

func (*FuncLocalContext) IsFuncLocalContext()

func (*FuncLocalContext) NAME

func (*FuncLocalContext) ToStringTree

func (s *FuncLocalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*FuncLocalContext) ValType

func (s *FuncLocalContext) ValType(i int) IValTypeContext

type FuncTypeContext

type FuncTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFuncTypeContext

func NewEmptyFuncTypeContext() *FuncTypeContext

func NewFuncTypeContext

func NewFuncTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncTypeContext

func (*FuncTypeContext) Accept

func (s *FuncTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FuncTypeContext) AllParam

func (s *FuncTypeContext) AllParam() []IParamContext

func (*FuncTypeContext) AllResult

func (s *FuncTypeContext) AllResult() []IResultContext

func (*FuncTypeContext) GetParser

func (s *FuncTypeContext) GetParser() antlr.Parser

func (*FuncTypeContext) GetRuleContext

func (s *FuncTypeContext) GetRuleContext() antlr.RuleContext

func (*FuncTypeContext) IsFuncTypeContext

func (*FuncTypeContext) IsFuncTypeContext()

func (*FuncTypeContext) Param

func (s *FuncTypeContext) Param(i int) IParamContext

func (*FuncTypeContext) Result

func (s *FuncTypeContext) Result(i int) IResultContext

func (*FuncTypeContext) ToStringTree

func (s *FuncTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FuncVarsContext

type FuncVarsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFuncVarsContext

func NewEmptyFuncVarsContext() *FuncVarsContext

func NewFuncVarsContext

func NewFuncVarsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncVarsContext

func (*FuncVarsContext) Accept

func (s *FuncVarsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FuncVarsContext) AllVariable

func (s *FuncVarsContext) AllVariable() []IVariableContext

func (*FuncVarsContext) GetParser

func (s *FuncVarsContext) GetParser() antlr.Parser

func (*FuncVarsContext) GetRuleContext

func (s *FuncVarsContext) GetRuleContext() antlr.RuleContext

func (*FuncVarsContext) IsFuncVarsContext

func (*FuncVarsContext) IsFuncVarsContext()

func (*FuncVarsContext) ToStringTree

func (s *FuncVarsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*FuncVarsContext) Variable

func (s *FuncVarsContext) Variable(i int) IVariableContext

type Func_Context

type Func_Context struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFunc_Context

func NewEmptyFunc_Context() *Func_Context

func NewFunc_Context

func NewFunc_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Func_Context

func (*Func_Context) Accept

func (s *Func_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*Func_Context) AllFuncLocal

func (s *Func_Context) AllFuncLocal() []IFuncLocalContext

func (*Func_Context) EmbeddedEx

func (s *Func_Context) EmbeddedEx() IEmbeddedExContext

func (*Func_Context) EmbeddedIm

func (s *Func_Context) EmbeddedIm() IEmbeddedImContext

func (*Func_Context) Expr

func (s *Func_Context) Expr() IExprContext

func (*Func_Context) FuncLocal

func (s *Func_Context) FuncLocal(i int) IFuncLocalContext

func (*Func_Context) GetParser

func (s *Func_Context) GetParser() antlr.Parser

func (*Func_Context) GetRuleContext

func (s *Func_Context) GetRuleContext() antlr.RuleContext

func (*Func_Context) IsFunc_Context

func (*Func_Context) IsFunc_Context()

func (*Func_Context) NAME

func (s *Func_Context) NAME() antlr.TerminalNode

func (*Func_Context) ToStringTree

func (s *Func_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*Func_Context) TypeUse

func (s *Func_Context) TypeUse() ITypeUseContext

type GlobalContext

type GlobalContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyGlobalContext

func NewEmptyGlobalContext() *GlobalContext

func NewGlobalContext

func NewGlobalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GlobalContext

func (*GlobalContext) Accept

func (s *GlobalContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*GlobalContext) EmbeddedEx

func (s *GlobalContext) EmbeddedEx() IEmbeddedExContext

func (*GlobalContext) EmbeddedIm

func (s *GlobalContext) EmbeddedIm() IEmbeddedImContext

func (*GlobalContext) Expr

func (s *GlobalContext) Expr() IExprContext

func (*GlobalContext) GetParser

func (s *GlobalContext) GetParser() antlr.Parser

func (*GlobalContext) GetRuleContext

func (s *GlobalContext) GetRuleContext() antlr.RuleContext

func (*GlobalContext) GlobalType

func (s *GlobalContext) GlobalType() IGlobalTypeContext

func (*GlobalContext) IsGlobalContext

func (*GlobalContext) IsGlobalContext()

func (*GlobalContext) NAME

func (s *GlobalContext) NAME() antlr.TerminalNode

func (*GlobalContext) ToStringTree

func (s *GlobalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type GlobalTypeContext

type GlobalTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyGlobalTypeContext

func NewEmptyGlobalTypeContext() *GlobalTypeContext

func NewGlobalTypeContext

func NewGlobalTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GlobalTypeContext

func (*GlobalTypeContext) Accept

func (s *GlobalTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*GlobalTypeContext) GetParser

func (s *GlobalTypeContext) GetParser() antlr.Parser

func (*GlobalTypeContext) GetRuleContext

func (s *GlobalTypeContext) GetRuleContext() antlr.RuleContext

func (*GlobalTypeContext) IsGlobalTypeContext

func (*GlobalTypeContext) IsGlobalTypeContext()

func (*GlobalTypeContext) ToStringTree

func (s *GlobalTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*GlobalTypeContext) ValType

func (s *GlobalTypeContext) ValType() IValTypeContext

type IAction_Context

type IAction_Context interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetKind returns the kind token.
	GetKind() antlr.Token

	// SetKind sets the kind token.
	SetKind(antlr.Token)

	// IsAction_Context differentiates from other interfaces.
	IsAction_Context()
}

IAction_Context is an interface to support dynamic dispatch.

type IAssertionContext

type IAssertionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetKind returns the kind token.
	GetKind() antlr.Token

	// SetKind sets the kind token.
	SetKind(antlr.Token)

	// IsAssertionContext differentiates from other interfaces.
	IsAssertionContext()
}

IAssertionContext is an interface to support dynamic dispatch.

type IBlockInstrContext

type IBlockInstrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op token.
	GetOp() antlr.Token

	// GetLabel returns the label token.
	GetLabel() antlr.Token

	// GetL2 returns the l2 token.
	GetL2() antlr.Token

	// GetL1 returns the l1 token.
	GetL1() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// SetLabel sets the label token.
	SetLabel(antlr.Token)

	// SetL2 sets the l2 token.
	SetL2(antlr.Token)

	// SetL1 sets the l1 token.
	SetL1(antlr.Token)

	// IsBlockInstrContext differentiates from other interfaces.
	IsBlockInstrContext()
}

IBlockInstrContext is an interface to support dynamic dispatch.

type IBlockTypeContext

type IBlockTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBlockTypeContext differentiates from other interfaces.
	IsBlockTypeContext()
}

IBlockTypeContext is an interface to support dynamic dispatch.

type ICmdContext

type ICmdContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCmdContext differentiates from other interfaces.
	IsCmdContext()
}

ICmdContext is an interface to support dynamic dispatch.

type IConstInstrContext

type IConstInstrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// IsConstInstrContext differentiates from other interfaces.
	IsConstInstrContext()
}

IConstInstrContext is an interface to support dynamic dispatch.

type IDataContext

type IDataContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDataContext differentiates from other interfaces.
	IsDataContext()
}

IDataContext is an interface to support dynamic dispatch.

type IElemContext

type IElemContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsElemContext differentiates from other interfaces.
	IsElemContext()
}

IElemContext is an interface to support dynamic dispatch.

type IElemTypeContext

type IElemTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsElemTypeContext differentiates from other interfaces.
	IsElemTypeContext()
}

IElemTypeContext is an interface to support dynamic dispatch.

type IEmbeddedExContext

type IEmbeddedExContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEmbeddedExContext differentiates from other interfaces.
	IsEmbeddedExContext()
}

IEmbeddedExContext is an interface to support dynamic dispatch.

type IEmbeddedImContext

type IEmbeddedImContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEmbeddedImContext differentiates from other interfaces.
	IsEmbeddedImContext()
}

IEmbeddedImContext is an interface to support dynamic dispatch.

type IExpectedContext

type IExpectedContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op token.
	GetOp() antlr.Token

	// GetNan returns the nan token.
	GetNan() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// SetNan sets the nan token.
	SetNan(antlr.Token)

	// IsExpectedContext differentiates from other interfaces.
	IsExpectedContext()
}

IExpectedContext is an interface to support dynamic dispatch.

type IExportContext

type IExportContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExportContext differentiates from other interfaces.
	IsExportContext()
}

IExportContext is an interface to support dynamic dispatch.

type IExportDescContext

type IExportDescContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetKind returns the kind token.
	GetKind() antlr.Token

	// SetKind sets the kind token.
	SetKind(antlr.Token)

	// IsExportDescContext differentiates from other interfaces.
	IsExportDescContext()
}

IExportDescContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExprContext differentiates from other interfaces.
	IsExprContext()
}

IExprContext is an interface to support dynamic dispatch.

type IFoldedInstrContext

type IFoldedInstrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op token.
	GetOp() antlr.Token

	// GetLabel returns the label token.
	GetLabel() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// SetLabel sets the label token.
	SetLabel(antlr.Token)

	// IsFoldedInstrContext differentiates from other interfaces.
	IsFoldedInstrContext()
}

IFoldedInstrContext is an interface to support dynamic dispatch.

type IFuncLocalContext

type IFuncLocalContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFuncLocalContext differentiates from other interfaces.
	IsFuncLocalContext()
}

IFuncLocalContext is an interface to support dynamic dispatch.

type IFuncTypeContext

type IFuncTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFuncTypeContext differentiates from other interfaces.
	IsFuncTypeContext()
}

IFuncTypeContext is an interface to support dynamic dispatch.

type IFuncVarsContext

type IFuncVarsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFuncVarsContext differentiates from other interfaces.
	IsFuncVarsContext()
}

IFuncVarsContext is an interface to support dynamic dispatch.

type IFunc_Context

type IFunc_Context interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunc_Context differentiates from other interfaces.
	IsFunc_Context()
}

IFunc_Context is an interface to support dynamic dispatch.

type IGlobalContext

type IGlobalContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsGlobalContext differentiates from other interfaces.
	IsGlobalContext()
}

IGlobalContext is an interface to support dynamic dispatch.

type IGlobalTypeContext

type IGlobalTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsGlobalTypeContext differentiates from other interfaces.
	IsGlobalTypeContext()
}

IGlobalTypeContext is an interface to support dynamic dispatch.

type IImportDescContext

type IImportDescContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetKind returns the kind token.
	GetKind() antlr.Token

	// SetKind sets the kind token.
	SetKind(antlr.Token)

	// IsImportDescContext differentiates from other interfaces.
	IsImportDescContext()
}

IImportDescContext is an interface to support dynamic dispatch.

type IImport_Context

type IImport_Context interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsImport_Context differentiates from other interfaces.
	IsImport_Context()
}

IImport_Context is an interface to support dynamic dispatch.

type IInstrContext

type IInstrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsInstrContext differentiates from other interfaces.
	IsInstrContext()
}

IInstrContext is an interface to support dynamic dispatch.

type ILimitsContext

type ILimitsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLimitsContext differentiates from other interfaces.
	IsLimitsContext()
}

ILimitsContext is an interface to support dynamic dispatch.

type IMemArgContext

type IMemArgContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOffset returns the offset rule contexts.
	GetOffset() INatContext

	// GetAlign returns the align rule contexts.
	GetAlign() INatContext

	// SetOffset sets the offset rule contexts.
	SetOffset(INatContext)

	// SetAlign sets the align rule contexts.
	SetAlign(INatContext)

	// IsMemArgContext differentiates from other interfaces.
	IsMemArgContext()
}

IMemArgContext is an interface to support dynamic dispatch.

type IMemoryContext

type IMemoryContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMemoryContext differentiates from other interfaces.
	IsMemoryContext()
}

IMemoryContext is an interface to support dynamic dispatch.

type IMemoryTypeContext

type IMemoryTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMemoryTypeContext differentiates from other interfaces.
	IsMemoryTypeContext()
}

IMemoryTypeContext is an interface to support dynamic dispatch.

type IMetaContext

type IMetaContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMetaContext differentiates from other interfaces.
	IsMetaContext()
}

IMetaContext is an interface to support dynamic dispatch.

type IModuleContext

type IModuleContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsModuleContext differentiates from other interfaces.
	IsModuleContext()
}

IModuleContext is an interface to support dynamic dispatch.

type IModuleFieldContext

type IModuleFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsModuleFieldContext differentiates from other interfaces.
	IsModuleFieldContext()
}

IModuleFieldContext is an interface to support dynamic dispatch.

type INatContext

type INatContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNatContext differentiates from other interfaces.
	IsNatContext()
}

INatContext is an interface to support dynamic dispatch.

type IParamContext

type IParamContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsParamContext differentiates from other interfaces.
	IsParamContext()
}

IParamContext is an interface to support dynamic dispatch.

type IPlainInstrContext

type IPlainInstrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// IsPlainInstrContext differentiates from other interfaces.
	IsPlainInstrContext()
}

IPlainInstrContext is an interface to support dynamic dispatch.

type IResultContext

type IResultContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsResultContext differentiates from other interfaces.
	IsResultContext()
}

IResultContext is an interface to support dynamic dispatch.

type IScriptContext

type IScriptContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsScriptContext differentiates from other interfaces.
	IsScriptContext()
}

IScriptContext is an interface to support dynamic dispatch.

type IStartContext

type IStartContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStartContext differentiates from other interfaces.
	IsStartContext()
}

IStartContext is an interface to support dynamic dispatch.

type ITableContext

type ITableContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTableContext differentiates from other interfaces.
	IsTableContext()
}

ITableContext is an interface to support dynamic dispatch.

type ITableTypeContext

type ITableTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTableTypeContext differentiates from other interfaces.
	IsTableTypeContext()
}

ITableTypeContext is an interface to support dynamic dispatch.

type ITypeDefContext

type ITypeDefContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeDefContext differentiates from other interfaces.
	IsTypeDefContext()
}

ITypeDefContext is an interface to support dynamic dispatch.

type ITypeUseContext

type ITypeUseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeUseContext differentiates from other interfaces.
	IsTypeUseContext()
}

ITypeUseContext is an interface to support dynamic dispatch.

type IValTypeContext

type IValTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsValTypeContext differentiates from other interfaces.
	IsValTypeContext()
}

IValTypeContext is an interface to support dynamic dispatch.

type IValueContext

type IValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsValueContext differentiates from other interfaces.
	IsValueContext()
}

IValueContext is an interface to support dynamic dispatch.

type IVariableContext

type IVariableContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableContext differentiates from other interfaces.
	IsVariableContext()
}

IVariableContext is an interface to support dynamic dispatch.

type IWastModuleContext

type IWastModuleContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetKind returns the kind token.
	GetKind() antlr.Token

	// SetKind sets the kind token.
	SetKind(antlr.Token)

	// IsWastModuleContext differentiates from other interfaces.
	IsWastModuleContext()
}

IWastModuleContext is an interface to support dynamic dispatch.

type IWatModuleContext

type IWatModuleContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetKw returns the kw token.
	GetKw() antlr.Token

	// SetKw sets the kw token.
	SetKw(antlr.Token)

	// IsWatModuleContext differentiates from other interfaces.
	IsWatModuleContext()
}

IWatModuleContext is an interface to support dynamic dispatch.

type ImportDescContext

type ImportDescContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImportDescContext

func NewEmptyImportDescContext() *ImportDescContext

func NewImportDescContext

func NewImportDescContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportDescContext

func (*ImportDescContext) Accept

func (s *ImportDescContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ImportDescContext) GetKind

func (s *ImportDescContext) GetKind() antlr.Token

func (*ImportDescContext) GetParser

func (s *ImportDescContext) GetParser() antlr.Parser

func (*ImportDescContext) GetRuleContext

func (s *ImportDescContext) GetRuleContext() antlr.RuleContext

func (*ImportDescContext) GlobalType

func (s *ImportDescContext) GlobalType() IGlobalTypeContext

func (*ImportDescContext) IsImportDescContext

func (*ImportDescContext) IsImportDescContext()

func (*ImportDescContext) MemoryType

func (s *ImportDescContext) MemoryType() IMemoryTypeContext

func (*ImportDescContext) NAME

func (*ImportDescContext) SetKind

func (s *ImportDescContext) SetKind(v antlr.Token)

func (*ImportDescContext) TableType

func (s *ImportDescContext) TableType() ITableTypeContext

func (*ImportDescContext) ToStringTree

func (s *ImportDescContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ImportDescContext) TypeUse

func (s *ImportDescContext) TypeUse() ITypeUseContext

type Import_Context

type Import_Context struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImport_Context

func NewEmptyImport_Context() *Import_Context

func NewImport_Context

func NewImport_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Import_Context

func (*Import_Context) Accept

func (s *Import_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*Import_Context) AllSTRING

func (s *Import_Context) AllSTRING() []antlr.TerminalNode

func (*Import_Context) GetParser

func (s *Import_Context) GetParser() antlr.Parser

func (*Import_Context) GetRuleContext

func (s *Import_Context) GetRuleContext() antlr.RuleContext

func (*Import_Context) ImportDesc

func (s *Import_Context) ImportDesc() IImportDescContext

func (*Import_Context) IsImport_Context

func (*Import_Context) IsImport_Context()

func (*Import_Context) STRING

func (s *Import_Context) STRING(i int) antlr.TerminalNode

func (*Import_Context) ToStringTree

func (s *Import_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type InstrContext

type InstrContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyInstrContext

func NewEmptyInstrContext() *InstrContext

func NewInstrContext

func NewInstrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InstrContext

func (*InstrContext) Accept

func (s *InstrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*InstrContext) BlockInstr

func (s *InstrContext) BlockInstr() IBlockInstrContext

func (*InstrContext) FoldedInstr

func (s *InstrContext) FoldedInstr() IFoldedInstrContext

func (*InstrContext) GetParser

func (s *InstrContext) GetParser() antlr.Parser

func (*InstrContext) GetRuleContext

func (s *InstrContext) GetRuleContext() antlr.RuleContext

func (*InstrContext) IsInstrContext

func (*InstrContext) IsInstrContext()

func (*InstrContext) PlainInstr

func (s *InstrContext) PlainInstr() IPlainInstrContext

func (*InstrContext) ToStringTree

func (s *InstrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LimitsContext

type LimitsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLimitsContext

func NewEmptyLimitsContext() *LimitsContext

func NewLimitsContext

func NewLimitsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LimitsContext

func (*LimitsContext) Accept

func (s *LimitsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*LimitsContext) AllNat

func (s *LimitsContext) AllNat() []INatContext

func (*LimitsContext) GetParser

func (s *LimitsContext) GetParser() antlr.Parser

func (*LimitsContext) GetRuleContext

func (s *LimitsContext) GetRuleContext() antlr.RuleContext

func (*LimitsContext) IsLimitsContext

func (*LimitsContext) IsLimitsContext()

func (*LimitsContext) Nat

func (s *LimitsContext) Nat(i int) INatContext

func (*LimitsContext) ToStringTree

func (s *LimitsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MemArgContext

type MemArgContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMemArgContext

func NewEmptyMemArgContext() *MemArgContext

func NewMemArgContext

func NewMemArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MemArgContext

func (*MemArgContext) Accept

func (s *MemArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*MemArgContext) AllNat

func (s *MemArgContext) AllNat() []INatContext

func (*MemArgContext) GetAlign

func (s *MemArgContext) GetAlign() INatContext

func (*MemArgContext) GetOffset

func (s *MemArgContext) GetOffset() INatContext

func (*MemArgContext) GetParser

func (s *MemArgContext) GetParser() antlr.Parser

func (*MemArgContext) GetRuleContext

func (s *MemArgContext) GetRuleContext() antlr.RuleContext

func (*MemArgContext) IsMemArgContext

func (*MemArgContext) IsMemArgContext()

func (*MemArgContext) Nat

func (s *MemArgContext) Nat(i int) INatContext

func (*MemArgContext) SetAlign

func (s *MemArgContext) SetAlign(v INatContext)

func (*MemArgContext) SetOffset

func (s *MemArgContext) SetOffset(v INatContext)

func (*MemArgContext) ToStringTree

func (s *MemArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MemoryContext

type MemoryContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMemoryContext

func NewEmptyMemoryContext() *MemoryContext

func NewMemoryContext

func NewMemoryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MemoryContext

func (*MemoryContext) Accept

func (s *MemoryContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*MemoryContext) AllSTRING

func (s *MemoryContext) AllSTRING() []antlr.TerminalNode

func (*MemoryContext) EmbeddedEx

func (s *MemoryContext) EmbeddedEx() IEmbeddedExContext

func (*MemoryContext) EmbeddedIm

func (s *MemoryContext) EmbeddedIm() IEmbeddedImContext

func (*MemoryContext) GetParser

func (s *MemoryContext) GetParser() antlr.Parser

func (*MemoryContext) GetRuleContext

func (s *MemoryContext) GetRuleContext() antlr.RuleContext

func (*MemoryContext) IsMemoryContext

func (*MemoryContext) IsMemoryContext()

func (*MemoryContext) MemoryType

func (s *MemoryContext) MemoryType() IMemoryTypeContext

func (*MemoryContext) NAME

func (s *MemoryContext) NAME() antlr.TerminalNode

func (*MemoryContext) STRING

func (s *MemoryContext) STRING(i int) antlr.TerminalNode

func (*MemoryContext) ToStringTree

func (s *MemoryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MemoryTypeContext

type MemoryTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMemoryTypeContext

func NewEmptyMemoryTypeContext() *MemoryTypeContext

func NewMemoryTypeContext

func NewMemoryTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MemoryTypeContext

func (*MemoryTypeContext) Accept

func (s *MemoryTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*MemoryTypeContext) GetParser

func (s *MemoryTypeContext) GetParser() antlr.Parser

func (*MemoryTypeContext) GetRuleContext

func (s *MemoryTypeContext) GetRuleContext() antlr.RuleContext

func (*MemoryTypeContext) IsMemoryTypeContext

func (*MemoryTypeContext) IsMemoryTypeContext()

func (*MemoryTypeContext) Limits

func (s *MemoryTypeContext) Limits() ILimitsContext

func (*MemoryTypeContext) ToStringTree

func (s *MemoryTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MetaContext

type MetaContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMetaContext

func NewEmptyMetaContext() *MetaContext

func NewMetaContext

func NewMetaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MetaContext

func (*MetaContext) Accept

func (s *MetaContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*MetaContext) GetParser

func (s *MetaContext) GetParser() antlr.Parser

func (*MetaContext) GetRuleContext

func (s *MetaContext) GetRuleContext() antlr.RuleContext

func (*MetaContext) IsMetaContext

func (*MetaContext) IsMetaContext()

func (*MetaContext) NAME

func (s *MetaContext) NAME() antlr.TerminalNode

func (*MetaContext) STRING

func (s *MetaContext) STRING() antlr.TerminalNode

func (*MetaContext) Script

func (s *MetaContext) Script() IScriptContext

func (*MetaContext) ToStringTree

func (s *MetaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ModuleContext

type ModuleContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyModuleContext

func NewEmptyModuleContext() *ModuleContext

func NewModuleContext

func NewModuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModuleContext

func (*ModuleContext) Accept

func (s *ModuleContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ModuleContext) EOF

func (s *ModuleContext) EOF() antlr.TerminalNode

func (*ModuleContext) GetParser

func (s *ModuleContext) GetParser() antlr.Parser

func (*ModuleContext) GetRuleContext

func (s *ModuleContext) GetRuleContext() antlr.RuleContext

func (*ModuleContext) IsModuleContext

func (*ModuleContext) IsModuleContext()

func (*ModuleContext) ToStringTree

func (s *ModuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ModuleContext) WatModule

func (s *ModuleContext) WatModule() IWatModuleContext

type ModuleFieldContext

type ModuleFieldContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyModuleFieldContext

func NewEmptyModuleFieldContext() *ModuleFieldContext

func NewModuleFieldContext

func NewModuleFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModuleFieldContext

func (*ModuleFieldContext) Accept

func (s *ModuleFieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ModuleFieldContext) Data

func (s *ModuleFieldContext) Data() IDataContext

func (*ModuleFieldContext) Elem

func (s *ModuleFieldContext) Elem() IElemContext

func (*ModuleFieldContext) Export

func (s *ModuleFieldContext) Export() IExportContext

func (*ModuleFieldContext) Func_

func (s *ModuleFieldContext) Func_() IFunc_Context

func (*ModuleFieldContext) GetParser

func (s *ModuleFieldContext) GetParser() antlr.Parser

func (*ModuleFieldContext) GetRuleContext

func (s *ModuleFieldContext) GetRuleContext() antlr.RuleContext

func (*ModuleFieldContext) Global

func (s *ModuleFieldContext) Global() IGlobalContext

func (*ModuleFieldContext) Import_

func (s *ModuleFieldContext) Import_() IImport_Context

func (*ModuleFieldContext) IsModuleFieldContext

func (*ModuleFieldContext) IsModuleFieldContext()

func (*ModuleFieldContext) Memory

func (s *ModuleFieldContext) Memory() IMemoryContext

func (*ModuleFieldContext) Start

func (s *ModuleFieldContext) Start() IStartContext

func (*ModuleFieldContext) Table

func (s *ModuleFieldContext) Table() ITableContext

func (*ModuleFieldContext) ToStringTree

func (s *ModuleFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ModuleFieldContext) TypeDef

func (s *ModuleFieldContext) TypeDef() ITypeDefContext

type NatContext

type NatContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNatContext

func NewEmptyNatContext() *NatContext

func NewNatContext

func NewNatContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NatContext

func (*NatContext) Accept

func (s *NatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NatContext) GetParser

func (s *NatContext) GetParser() antlr.Parser

func (*NatContext) GetRuleContext

func (s *NatContext) GetRuleContext() antlr.RuleContext

func (*NatContext) IsNatContext

func (*NatContext) IsNatContext()

func (*NatContext) NAT

func (s *NatContext) NAT() antlr.TerminalNode

func (*NatContext) ToStringTree

func (s *NatContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ParamContext

type ParamContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyParamContext

func NewEmptyParamContext() *ParamContext

func NewParamContext

func NewParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamContext

func (*ParamContext) Accept

func (s *ParamContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ParamContext) AllValType

func (s *ParamContext) AllValType() []IValTypeContext

func (*ParamContext) GetParser

func (s *ParamContext) GetParser() antlr.Parser

func (*ParamContext) GetRuleContext

func (s *ParamContext) GetRuleContext() antlr.RuleContext

func (*ParamContext) IsParamContext

func (*ParamContext) IsParamContext()

func (*ParamContext) NAME

func (s *ParamContext) NAME() antlr.TerminalNode

func (*ParamContext) ToStringTree

func (s *ParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ParamContext) ValType

func (s *ParamContext) ValType(i int) IValTypeContext

type PlainInstrContext

type PlainInstrContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPlainInstrContext

func NewEmptyPlainInstrContext() *PlainInstrContext

func NewPlainInstrContext

func NewPlainInstrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PlainInstrContext

func (*PlainInstrContext) Accept

func (s *PlainInstrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PlainInstrContext) AllVariable

func (s *PlainInstrContext) AllVariable() []IVariableContext

func (*PlainInstrContext) ConstInstr

func (s *PlainInstrContext) ConstInstr() IConstInstrContext

func (*PlainInstrContext) GetOp

func (s *PlainInstrContext) GetOp() antlr.Token

func (*PlainInstrContext) GetParser

func (s *PlainInstrContext) GetParser() antlr.Parser

func (*PlainInstrContext) GetRuleContext

func (s *PlainInstrContext) GetRuleContext() antlr.RuleContext

func (*PlainInstrContext) IsPlainInstrContext

func (*PlainInstrContext) IsPlainInstrContext()

func (*PlainInstrContext) MEM_OPS

func (s *PlainInstrContext) MEM_OPS() antlr.TerminalNode

func (*PlainInstrContext) MemArg

func (s *PlainInstrContext) MemArg() IMemArgContext

func (*PlainInstrContext) NUM_OPS

func (s *PlainInstrContext) NUM_OPS() antlr.TerminalNode

func (*PlainInstrContext) SetOp

func (s *PlainInstrContext) SetOp(v antlr.Token)

func (*PlainInstrContext) ToStringTree

func (s *PlainInstrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*PlainInstrContext) TypeUse

func (s *PlainInstrContext) TypeUse() ITypeUseContext

func (*PlainInstrContext) VAR_OPS

func (s *PlainInstrContext) VAR_OPS() antlr.TerminalNode

func (*PlainInstrContext) Variable

func (s *PlainInstrContext) Variable(i int) IVariableContext

type ResultContext

type ResultContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyResultContext

func NewEmptyResultContext() *ResultContext

func NewResultContext

func NewResultContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResultContext

func (*ResultContext) Accept

func (s *ResultContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ResultContext) AllValType

func (s *ResultContext) AllValType() []IValTypeContext

func (*ResultContext) GetParser

func (s *ResultContext) GetParser() antlr.Parser

func (*ResultContext) GetRuleContext

func (s *ResultContext) GetRuleContext() antlr.RuleContext

func (*ResultContext) IsResultContext

func (*ResultContext) IsResultContext()

func (*ResultContext) ToStringTree

func (s *ResultContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ResultContext) ValType

func (s *ResultContext) ValType(i int) IValTypeContext

type ScriptContext

type ScriptContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyScriptContext

func NewEmptyScriptContext() *ScriptContext

func NewScriptContext

func NewScriptContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScriptContext

func (*ScriptContext) Accept

func (s *ScriptContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ScriptContext) AllCmd

func (s *ScriptContext) AllCmd() []ICmdContext

func (*ScriptContext) Cmd

func (s *ScriptContext) Cmd(i int) ICmdContext

func (*ScriptContext) EOF

func (s *ScriptContext) EOF() antlr.TerminalNode

func (*ScriptContext) GetParser

func (s *ScriptContext) GetParser() antlr.Parser

func (*ScriptContext) GetRuleContext

func (s *ScriptContext) GetRuleContext() antlr.RuleContext

func (*ScriptContext) IsScriptContext

func (*ScriptContext) IsScriptContext()

func (*ScriptContext) ToStringTree

func (s *ScriptContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StartContext

type StartContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStartContext

func NewEmptyStartContext() *StartContext

func NewStartContext

func NewStartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartContext

func (*StartContext) Accept

func (s *StartContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StartContext) GetParser

func (s *StartContext) GetParser() antlr.Parser

func (*StartContext) GetRuleContext

func (s *StartContext) GetRuleContext() antlr.RuleContext

func (*StartContext) IsStartContext

func (*StartContext) IsStartContext()

func (*StartContext) ToStringTree

func (s *StartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*StartContext) Variable

func (s *StartContext) Variable() IVariableContext

type TableContext

type TableContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTableContext

func NewEmptyTableContext() *TableContext

func NewTableContext

func NewTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableContext

func (*TableContext) Accept

func (s *TableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TableContext) ElemType

func (s *TableContext) ElemType() IElemTypeContext

func (*TableContext) EmbeddedEx

func (s *TableContext) EmbeddedEx() IEmbeddedExContext

func (*TableContext) EmbeddedIm

func (s *TableContext) EmbeddedIm() IEmbeddedImContext

func (*TableContext) FuncVars

func (s *TableContext) FuncVars() IFuncVarsContext

func (*TableContext) GetParser

func (s *TableContext) GetParser() antlr.Parser

func (*TableContext) GetRuleContext

func (s *TableContext) GetRuleContext() antlr.RuleContext

func (*TableContext) IsTableContext

func (*TableContext) IsTableContext()

func (*TableContext) NAME

func (s *TableContext) NAME() antlr.TerminalNode

func (*TableContext) TableType

func (s *TableContext) TableType() ITableTypeContext

func (*TableContext) ToStringTree

func (s *TableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TableTypeContext

type TableTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTableTypeContext

func NewEmptyTableTypeContext() *TableTypeContext

func NewTableTypeContext

func NewTableTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableTypeContext

func (*TableTypeContext) Accept

func (s *TableTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TableTypeContext) ElemType

func (s *TableTypeContext) ElemType() IElemTypeContext

func (*TableTypeContext) GetParser

func (s *TableTypeContext) GetParser() antlr.Parser

func (*TableTypeContext) GetRuleContext

func (s *TableTypeContext) GetRuleContext() antlr.RuleContext

func (*TableTypeContext) IsTableTypeContext

func (*TableTypeContext) IsTableTypeContext()

func (*TableTypeContext) Limits

func (s *TableTypeContext) Limits() ILimitsContext

func (*TableTypeContext) ToStringTree

func (s *TableTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TypeDefContext

type TypeDefContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeDefContext

func NewEmptyTypeDefContext() *TypeDefContext

func NewTypeDefContext

func NewTypeDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDefContext

func (*TypeDefContext) Accept

func (s *TypeDefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TypeDefContext) FuncType

func (s *TypeDefContext) FuncType() IFuncTypeContext

func (*TypeDefContext) GetParser

func (s *TypeDefContext) GetParser() antlr.Parser

func (*TypeDefContext) GetRuleContext

func (s *TypeDefContext) GetRuleContext() antlr.RuleContext

func (*TypeDefContext) IsTypeDefContext

func (*TypeDefContext) IsTypeDefContext()

func (*TypeDefContext) NAME

func (s *TypeDefContext) NAME() antlr.TerminalNode

func (*TypeDefContext) ToStringTree

func (s *TypeDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TypeUseContext

type TypeUseContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeUseContext

func NewEmptyTypeUseContext() *TypeUseContext

func NewTypeUseContext

func NewTypeUseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeUseContext

func (*TypeUseContext) Accept

func (s *TypeUseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TypeUseContext) FuncType

func (s *TypeUseContext) FuncType() IFuncTypeContext

func (*TypeUseContext) GetParser

func (s *TypeUseContext) GetParser() antlr.Parser

func (*TypeUseContext) GetRuleContext

func (s *TypeUseContext) GetRuleContext() antlr.RuleContext

func (*TypeUseContext) IsTypeUseContext

func (*TypeUseContext) IsTypeUseContext()

func (*TypeUseContext) ToStringTree

func (s *TypeUseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*TypeUseContext) Variable

func (s *TypeUseContext) Variable() IVariableContext

type ValTypeContext

type ValTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyValTypeContext

func NewEmptyValTypeContext() *ValTypeContext

func NewValTypeContext

func NewValTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValTypeContext

func (*ValTypeContext) Accept

func (s *ValTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ValTypeContext) GetParser

func (s *ValTypeContext) GetParser() antlr.Parser

func (*ValTypeContext) GetRuleContext

func (s *ValTypeContext) GetRuleContext() antlr.RuleContext

func (*ValTypeContext) IsValTypeContext

func (*ValTypeContext) IsValTypeContext()

func (*ValTypeContext) ToStringTree

func (s *ValTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ValTypeContext) VAL_TYPE

func (s *ValTypeContext) VAL_TYPE() antlr.TerminalNode

type ValueContext

type ValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyValueContext

func NewEmptyValueContext() *ValueContext

func NewValueContext

func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext

func (*ValueContext) Accept

func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ValueContext) FLOAT

func (s *ValueContext) FLOAT() antlr.TerminalNode

func (*ValueContext) GetParser

func (s *ValueContext) GetParser() antlr.Parser

func (*ValueContext) GetRuleContext

func (s *ValueContext) GetRuleContext() antlr.RuleContext

func (*ValueContext) INT

func (s *ValueContext) INT() antlr.TerminalNode

func (*ValueContext) IsValueContext

func (*ValueContext) IsValueContext()

func (*ValueContext) NAT

func (s *ValueContext) NAT() antlr.TerminalNode

func (*ValueContext) ToStringTree

func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type VariableContext

type VariableContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVariableContext

func NewEmptyVariableContext() *VariableContext

func NewVariableContext

func NewVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableContext

func (*VariableContext) Accept

func (s *VariableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VariableContext) GetParser

func (s *VariableContext) GetParser() antlr.Parser

func (*VariableContext) GetRuleContext

func (s *VariableContext) GetRuleContext() antlr.RuleContext

func (*VariableContext) IsVariableContext

func (*VariableContext) IsVariableContext()

func (*VariableContext) NAME

func (*VariableContext) NAT

func (*VariableContext) ToStringTree

func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type WASTLexer

type WASTLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewWASTLexer

func NewWASTLexer(input antlr.CharStream) *WASTLexer

type WASTParser

type WASTParser struct {
	*antlr.BaseParser
}

func NewWASTParser

func NewWASTParser(input antlr.TokenStream) *WASTParser

func (*WASTParser) Action_

func (p *WASTParser) Action_() (localctx IAction_Context)

func (*WASTParser) Assertion

func (p *WASTParser) Assertion() (localctx IAssertionContext)

func (*WASTParser) BlockInstr

func (p *WASTParser) BlockInstr() (localctx IBlockInstrContext)

func (*WASTParser) BlockType

func (p *WASTParser) BlockType() (localctx IBlockTypeContext)

func (*WASTParser) Cmd

func (p *WASTParser) Cmd() (localctx ICmdContext)

func (*WASTParser) ConstInstr

func (p *WASTParser) ConstInstr() (localctx IConstInstrContext)

func (*WASTParser) Data

func (p *WASTParser) Data() (localctx IDataContext)

func (*WASTParser) Elem

func (p *WASTParser) Elem() (localctx IElemContext)

func (*WASTParser) ElemType

func (p *WASTParser) ElemType() (localctx IElemTypeContext)

func (*WASTParser) EmbeddedEx

func (p *WASTParser) EmbeddedEx() (localctx IEmbeddedExContext)

func (*WASTParser) EmbeddedIm

func (p *WASTParser) EmbeddedIm() (localctx IEmbeddedImContext)

func (*WASTParser) Expected

func (p *WASTParser) Expected() (localctx IExpectedContext)

func (*WASTParser) Export

func (p *WASTParser) Export() (localctx IExportContext)

func (*WASTParser) ExportDesc

func (p *WASTParser) ExportDesc() (localctx IExportDescContext)

func (*WASTParser) Expr

func (p *WASTParser) Expr() (localctx IExprContext)

func (*WASTParser) FoldedInstr

func (p *WASTParser) FoldedInstr() (localctx IFoldedInstrContext)

func (*WASTParser) FuncLocal

func (p *WASTParser) FuncLocal() (localctx IFuncLocalContext)

func (*WASTParser) FuncType

func (p *WASTParser) FuncType() (localctx IFuncTypeContext)

func (*WASTParser) FuncVars

func (p *WASTParser) FuncVars() (localctx IFuncVarsContext)

func (*WASTParser) Func_

func (p *WASTParser) Func_() (localctx IFunc_Context)

func (*WASTParser) Global

func (p *WASTParser) Global() (localctx IGlobalContext)

func (*WASTParser) GlobalType

func (p *WASTParser) GlobalType() (localctx IGlobalTypeContext)

func (*WASTParser) ImportDesc

func (p *WASTParser) ImportDesc() (localctx IImportDescContext)

func (*WASTParser) Import_

func (p *WASTParser) Import_() (localctx IImport_Context)

func (*WASTParser) Instr

func (p *WASTParser) Instr() (localctx IInstrContext)

func (*WASTParser) Limits

func (p *WASTParser) Limits() (localctx ILimitsContext)

func (*WASTParser) MemArg

func (p *WASTParser) MemArg() (localctx IMemArgContext)

func (*WASTParser) Memory

func (p *WASTParser) Memory() (localctx IMemoryContext)

func (*WASTParser) MemoryType

func (p *WASTParser) MemoryType() (localctx IMemoryTypeContext)

func (*WASTParser) Meta

func (p *WASTParser) Meta() (localctx IMetaContext)

func (*WASTParser) Module

func (p *WASTParser) Module() (localctx IModuleContext)

func (*WASTParser) ModuleField

func (p *WASTParser) ModuleField() (localctx IModuleFieldContext)

func (*WASTParser) Nat

func (p *WASTParser) Nat() (localctx INatContext)

func (*WASTParser) Param

func (p *WASTParser) Param() (localctx IParamContext)

func (*WASTParser) PlainInstr

func (p *WASTParser) PlainInstr() (localctx IPlainInstrContext)

func (*WASTParser) Result

func (p *WASTParser) Result() (localctx IResultContext)

func (*WASTParser) Script

func (p *WASTParser) Script() (localctx IScriptContext)

func (*WASTParser) Start

func (p *WASTParser) Start() (localctx IStartContext)

func (*WASTParser) Table

func (p *WASTParser) Table() (localctx ITableContext)

func (*WASTParser) TableType

func (p *WASTParser) TableType() (localctx ITableTypeContext)

func (*WASTParser) TypeDef

func (p *WASTParser) TypeDef() (localctx ITypeDefContext)

func (*WASTParser) TypeUse

func (p *WASTParser) TypeUse() (localctx ITypeUseContext)

func (*WASTParser) ValType

func (p *WASTParser) ValType() (localctx IValTypeContext)

func (*WASTParser) Value

func (p *WASTParser) Value() (localctx IValueContext)

func (*WASTParser) Variable

func (p *WASTParser) Variable() (localctx IVariableContext)

func (*WASTParser) WastModule

func (p *WASTParser) WastModule() (localctx IWastModuleContext)

func (*WASTParser) WatModule

func (p *WASTParser) WatModule() (localctx IWatModuleContext)

type WASTVisitor

type WASTVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by WASTParser#script.
	VisitScript(ctx *ScriptContext) interface{}

	// Visit a parse tree produced by WASTParser#cmd.
	VisitCmd(ctx *CmdContext) interface{}

	// Visit a parse tree produced by WASTParser#wastModule.
	VisitWastModule(ctx *WastModuleContext) interface{}

	// Visit a parse tree produced by WASTParser#action_.
	VisitAction_(ctx *Action_Context) interface{}

	// Visit a parse tree produced by WASTParser#assertion.
	VisitAssertion(ctx *AssertionContext) interface{}

	// Visit a parse tree produced by WASTParser#expected.
	VisitExpected(ctx *ExpectedContext) interface{}

	// Visit a parse tree produced by WASTParser#meta.
	VisitMeta(ctx *MetaContext) interface{}

	// Visit a parse tree produced by WASTParser#module.
	VisitModule(ctx *ModuleContext) interface{}

	// Visit a parse tree produced by WASTParser#watModule.
	VisitWatModule(ctx *WatModuleContext) interface{}

	// Visit a parse tree produced by WASTParser#moduleField.
	VisitModuleField(ctx *ModuleFieldContext) interface{}

	// Visit a parse tree produced by WASTParser#typeDef.
	VisitTypeDef(ctx *TypeDefContext) interface{}

	// Visit a parse tree produced by WASTParser#import_.
	VisitImport_(ctx *Import_Context) interface{}

	// Visit a parse tree produced by WASTParser#importDesc.
	VisitImportDesc(ctx *ImportDescContext) interface{}

	// Visit a parse tree produced by WASTParser#func_.
	VisitFunc_(ctx *Func_Context) interface{}

	// Visit a parse tree produced by WASTParser#funcLocal.
	VisitFuncLocal(ctx *FuncLocalContext) interface{}

	// Visit a parse tree produced by WASTParser#table.
	VisitTable(ctx *TableContext) interface{}

	// Visit a parse tree produced by WASTParser#memory.
	VisitMemory(ctx *MemoryContext) interface{}

	// Visit a parse tree produced by WASTParser#global.
	VisitGlobal(ctx *GlobalContext) interface{}

	// Visit a parse tree produced by WASTParser#export.
	VisitExport(ctx *ExportContext) interface{}

	// Visit a parse tree produced by WASTParser#exportDesc.
	VisitExportDesc(ctx *ExportDescContext) interface{}

	// Visit a parse tree produced by WASTParser#start.
	VisitStart(ctx *StartContext) interface{}

	// Visit a parse tree produced by WASTParser#elem.
	VisitElem(ctx *ElemContext) interface{}

	// Visit a parse tree produced by WASTParser#data.
	VisitData(ctx *DataContext) interface{}

	// Visit a parse tree produced by WASTParser#embeddedIm.
	VisitEmbeddedIm(ctx *EmbeddedImContext) interface{}

	// Visit a parse tree produced by WASTParser#embeddedEx.
	VisitEmbeddedEx(ctx *EmbeddedExContext) interface{}

	// Visit a parse tree produced by WASTParser#typeUse.
	VisitTypeUse(ctx *TypeUseContext) interface{}

	// Visit a parse tree produced by WASTParser#funcVars.
	VisitFuncVars(ctx *FuncVarsContext) interface{}

	// Visit a parse tree produced by WASTParser#valType.
	VisitValType(ctx *ValTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#blockType.
	VisitBlockType(ctx *BlockTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#globalType.
	VisitGlobalType(ctx *GlobalTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#memoryType.
	VisitMemoryType(ctx *MemoryTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#tableType.
	VisitTableType(ctx *TableTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#elemType.
	VisitElemType(ctx *ElemTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#limits.
	VisitLimits(ctx *LimitsContext) interface{}

	// Visit a parse tree produced by WASTParser#funcType.
	VisitFuncType(ctx *FuncTypeContext) interface{}

	// Visit a parse tree produced by WASTParser#param.
	VisitParam(ctx *ParamContext) interface{}

	// Visit a parse tree produced by WASTParser#result.
	VisitResult(ctx *ResultContext) interface{}

	// Visit a parse tree produced by WASTParser#expr.
	VisitExpr(ctx *ExprContext) interface{}

	// Visit a parse tree produced by WASTParser#instr.
	VisitInstr(ctx *InstrContext) interface{}

	// Visit a parse tree produced by WASTParser#foldedInstr.
	VisitFoldedInstr(ctx *FoldedInstrContext) interface{}

	// Visit a parse tree produced by WASTParser#blockInstr.
	VisitBlockInstr(ctx *BlockInstrContext) interface{}

	// Visit a parse tree produced by WASTParser#plainInstr.
	VisitPlainInstr(ctx *PlainInstrContext) interface{}

	// Visit a parse tree produced by WASTParser#constInstr.
	VisitConstInstr(ctx *ConstInstrContext) interface{}

	// Visit a parse tree produced by WASTParser#memArg.
	VisitMemArg(ctx *MemArgContext) interface{}

	// Visit a parse tree produced by WASTParser#nat.
	VisitNat(ctx *NatContext) interface{}

	// Visit a parse tree produced by WASTParser#value.
	VisitValue(ctx *ValueContext) interface{}

	// Visit a parse tree produced by WASTParser#variable.
	VisitVariable(ctx *VariableContext) interface{}
}

A complete Visitor for a parse tree produced by WASTParser.

type WastModuleContext

type WastModuleContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyWastModuleContext

func NewEmptyWastModuleContext() *WastModuleContext

func NewWastModuleContext

func NewWastModuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WastModuleContext

func (*WastModuleContext) Accept

func (s *WastModuleContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*WastModuleContext) AllSTRING

func (s *WastModuleContext) AllSTRING() []antlr.TerminalNode

func (*WastModuleContext) GetKind

func (s *WastModuleContext) GetKind() antlr.Token

func (*WastModuleContext) GetParser

func (s *WastModuleContext) GetParser() antlr.Parser

func (*WastModuleContext) GetRuleContext

func (s *WastModuleContext) GetRuleContext() antlr.RuleContext

func (*WastModuleContext) IsWastModuleContext

func (*WastModuleContext) IsWastModuleContext()

func (*WastModuleContext) NAME

func (*WastModuleContext) STRING

func (s *WastModuleContext) STRING(i int) antlr.TerminalNode

func (*WastModuleContext) SetKind

func (s *WastModuleContext) SetKind(v antlr.Token)

func (*WastModuleContext) ToStringTree

func (s *WastModuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*WastModuleContext) WatModule

func (s *WastModuleContext) WatModule() IWatModuleContext

type WatModuleContext

type WatModuleContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyWatModuleContext

func NewEmptyWatModuleContext() *WatModuleContext

func NewWatModuleContext

func NewWatModuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WatModuleContext

func (*WatModuleContext) Accept

func (s *WatModuleContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*WatModuleContext) AllModuleField

func (s *WatModuleContext) AllModuleField() []IModuleFieldContext

func (*WatModuleContext) GetKw

func (s *WatModuleContext) GetKw() antlr.Token

func (*WatModuleContext) GetParser

func (s *WatModuleContext) GetParser() antlr.Parser

func (*WatModuleContext) GetRuleContext

func (s *WatModuleContext) GetRuleContext() antlr.RuleContext

func (*WatModuleContext) IsWatModuleContext

func (*WatModuleContext) IsWatModuleContext()

func (*WatModuleContext) ModuleField

func (s *WatModuleContext) ModuleField(i int) IModuleFieldContext

func (*WatModuleContext) NAME

func (*WatModuleContext) SetKw

func (s *WatModuleContext) SetKw(v antlr.Token)

func (*WatModuleContext) ToStringTree

func (s *WatModuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL