parser

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiceLexerD             = 1
	DiceLexerSIGN          = 2
	DiceLexerLPAREN        = 3
	DiceLexerRPAREN        = 4
	DiceLexerCOMMA         = 5
	DiceLexerSPACE         = 6
	DiceLexerWS            = 7
	DiceLexerInteger       = 8
	DiceLexerId            = 9
	DiceLexerStringLiteral = 10
)

DiceLexer tokens.

View Source
const (
	DiceParserEOF           = antlr.TokenEOF
	DiceParserD             = 1
	DiceParserSIGN          = 2
	DiceParserLPAREN        = 3
	DiceParserRPAREN        = 4
	DiceParserCOMMA         = 5
	DiceParserSPACE         = 6
	DiceParserWS            = 7
	DiceParserInteger       = 8
	DiceParserId            = 9
	DiceParserStringLiteral = 10
)

DiceParser tokens.

View Source
const (
	DiceParserRULE_formula    = 0
	DiceParserRULE_extensions = 1
	DiceParserRULE_count      = 2
	DiceParserRULE_sides      = 3
	DiceParserRULE_modifier   = 4
	DiceParserRULE_parameter  = 5
	DiceParserRULE_parameters = 6
	DiceParserRULE_funcname   = 7
	DiceParserRULE_funccall   = 8
)

DiceParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseDiceListener

type BaseDiceListener struct{}

BaseDiceListener is a complete listener for a parse tree produced by DiceParser.

func (*BaseDiceListener) EnterCount

func (s *BaseDiceListener) EnterCount(ctx *CountContext)

EnterCount is called when production count is entered.

func (*BaseDiceListener) EnterEveryRule

func (s *BaseDiceListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseDiceListener) EnterExtensions

func (s *BaseDiceListener) EnterExtensions(ctx *ExtensionsContext)

EnterExtensions is called when production extensions is entered.

func (*BaseDiceListener) EnterFormula

func (s *BaseDiceListener) EnterFormula(ctx *FormulaContext)

EnterFormula is called when production formula is entered.

func (*BaseDiceListener) EnterFunccall

func (s *BaseDiceListener) EnterFunccall(ctx *FunccallContext)

EnterFunccall is called when production funccall is entered.

func (*BaseDiceListener) EnterFuncname

func (s *BaseDiceListener) EnterFuncname(ctx *FuncnameContext)

EnterFuncname is called when production funcname is entered.

func (*BaseDiceListener) EnterModifier

func (s *BaseDiceListener) EnterModifier(ctx *ModifierContext)

EnterModifier is called when production modifier is entered.

func (*BaseDiceListener) EnterParameter

func (s *BaseDiceListener) EnterParameter(ctx *ParameterContext)

EnterParameter is called when production parameter is entered.

func (*BaseDiceListener) EnterParameters

func (s *BaseDiceListener) EnterParameters(ctx *ParametersContext)

EnterParameters is called when production parameters is entered.

func (*BaseDiceListener) EnterSides

func (s *BaseDiceListener) EnterSides(ctx *SidesContext)

EnterSides is called when production sides is entered.

func (*BaseDiceListener) ExitCount

func (s *BaseDiceListener) ExitCount(ctx *CountContext)

ExitCount is called when production count is exited.

func (*BaseDiceListener) ExitEveryRule

func (s *BaseDiceListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseDiceListener) ExitExtensions

func (s *BaseDiceListener) ExitExtensions(ctx *ExtensionsContext)

ExitExtensions is called when production extensions is exited.

func (*BaseDiceListener) ExitFormula

func (s *BaseDiceListener) ExitFormula(ctx *FormulaContext)

ExitFormula is called when production formula is exited.

func (*BaseDiceListener) ExitFunccall

func (s *BaseDiceListener) ExitFunccall(ctx *FunccallContext)

ExitFunccall is called when production funccall is exited.

func (*BaseDiceListener) ExitFuncname

func (s *BaseDiceListener) ExitFuncname(ctx *FuncnameContext)

ExitFuncname is called when production funcname is exited.

func (*BaseDiceListener) ExitModifier

func (s *BaseDiceListener) ExitModifier(ctx *ModifierContext)

ExitModifier is called when production modifier is exited.

func (*BaseDiceListener) ExitParameter

func (s *BaseDiceListener) ExitParameter(ctx *ParameterContext)

ExitParameter is called when production parameter is exited.

func (*BaseDiceListener) ExitParameters

func (s *BaseDiceListener) ExitParameters(ctx *ParametersContext)

ExitParameters is called when production parameters is exited.

func (*BaseDiceListener) ExitSides

func (s *BaseDiceListener) ExitSides(ctx *SidesContext)

ExitSides is called when production sides is exited.

func (*BaseDiceListener) VisitErrorNode

func (s *BaseDiceListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseDiceListener) VisitTerminal

func (s *BaseDiceListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BaseDiceVisitor

type BaseDiceVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseDiceVisitor) VisitCount

func (v *BaseDiceVisitor) VisitCount(ctx *CountContext) interface{}

func (*BaseDiceVisitor) VisitExtensions

func (v *BaseDiceVisitor) VisitExtensions(ctx *ExtensionsContext) interface{}

func (*BaseDiceVisitor) VisitFormula

func (v *BaseDiceVisitor) VisitFormula(ctx *FormulaContext) interface{}

func (*BaseDiceVisitor) VisitFunccall

func (v *BaseDiceVisitor) VisitFunccall(ctx *FunccallContext) interface{}

func (*BaseDiceVisitor) VisitFuncname

func (v *BaseDiceVisitor) VisitFuncname(ctx *FuncnameContext) interface{}

func (*BaseDiceVisitor) VisitModifier

func (v *BaseDiceVisitor) VisitModifier(ctx *ModifierContext) interface{}

func (*BaseDiceVisitor) VisitParameter

func (v *BaseDiceVisitor) VisitParameter(ctx *ParameterContext) interface{}

func (*BaseDiceVisitor) VisitParameters

func (v *BaseDiceVisitor) VisitParameters(ctx *ParametersContext) interface{}

func (*BaseDiceVisitor) VisitSides

func (v *BaseDiceVisitor) VisitSides(ctx *SidesContext) interface{}

type CountContext

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

func NewCountContext

func NewCountContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CountContext

func NewEmptyCountContext

func NewEmptyCountContext() *CountContext

func (*CountContext) Accept

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

func (*CountContext) EnterRule

func (s *CountContext) EnterRule(listener antlr.ParseTreeListener)

func (*CountContext) ExitRule

func (s *CountContext) ExitRule(listener antlr.ParseTreeListener)

func (*CountContext) GetParser

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

func (*CountContext) GetRuleContext

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

func (*CountContext) Integer

func (s *CountContext) Integer() antlr.TerminalNode

func (*CountContext) IsCountContext

func (*CountContext) IsCountContext()

func (*CountContext) ToStringTree

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

type DiceLexer

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

func NewDiceLexer

func NewDiceLexer(input antlr.CharStream) *DiceLexer

type DiceListener

type DiceListener interface {
	antlr.ParseTreeListener

	// EnterFormula is called when entering the formula production.
	EnterFormula(c *FormulaContext)

	// EnterExtensions is called when entering the extensions production.
	EnterExtensions(c *ExtensionsContext)

	// EnterCount is called when entering the count production.
	EnterCount(c *CountContext)

	// EnterSides is called when entering the sides production.
	EnterSides(c *SidesContext)

	// EnterModifier is called when entering the modifier production.
	EnterModifier(c *ModifierContext)

	// EnterParameter is called when entering the parameter production.
	EnterParameter(c *ParameterContext)

	// EnterParameters is called when entering the parameters production.
	EnterParameters(c *ParametersContext)

	// EnterFuncname is called when entering the funcname production.
	EnterFuncname(c *FuncnameContext)

	// EnterFunccall is called when entering the funccall production.
	EnterFunccall(c *FunccallContext)

	// ExitFormula is called when exiting the formula production.
	ExitFormula(c *FormulaContext)

	// ExitExtensions is called when exiting the extensions production.
	ExitExtensions(c *ExtensionsContext)

	// ExitCount is called when exiting the count production.
	ExitCount(c *CountContext)

	// ExitSides is called when exiting the sides production.
	ExitSides(c *SidesContext)

	// ExitModifier is called when exiting the modifier production.
	ExitModifier(c *ModifierContext)

	// ExitParameter is called when exiting the parameter production.
	ExitParameter(c *ParameterContext)

	// ExitParameters is called when exiting the parameters production.
	ExitParameters(c *ParametersContext)

	// ExitFuncname is called when exiting the funcname production.
	ExitFuncname(c *FuncnameContext)

	// ExitFunccall is called when exiting the funccall production.
	ExitFunccall(c *FunccallContext)
}

DiceListener is a complete listener for a parse tree produced by DiceParser.

type DiceParser

type DiceParser struct {
	*antlr.BaseParser
}

func NewDiceParser

func NewDiceParser(input antlr.TokenStream) *DiceParser

func (*DiceParser) Count

func (p *DiceParser) Count() (localctx ICountContext)

func (*DiceParser) Extensions

func (p *DiceParser) Extensions() (localctx IExtensionsContext)

func (*DiceParser) Formula

func (p *DiceParser) Formula() (localctx IFormulaContext)

func (*DiceParser) Funccall

func (p *DiceParser) Funccall() (localctx IFunccallContext)

func (*DiceParser) Funcname

func (p *DiceParser) Funcname() (localctx IFuncnameContext)

func (*DiceParser) Modifier

func (p *DiceParser) Modifier() (localctx IModifierContext)

func (*DiceParser) Parameter

func (p *DiceParser) Parameter() (localctx IParameterContext)

func (*DiceParser) Parameters

func (p *DiceParser) Parameters() (localctx IParametersContext)

func (*DiceParser) Sides

func (p *DiceParser) Sides() (localctx ISidesContext)

type DiceVisitor

type DiceVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by DiceParser#formula.
	VisitFormula(ctx *FormulaContext) interface{}

	// Visit a parse tree produced by DiceParser#extensions.
	VisitExtensions(ctx *ExtensionsContext) interface{}

	// Visit a parse tree produced by DiceParser#count.
	VisitCount(ctx *CountContext) interface{}

	// Visit a parse tree produced by DiceParser#sides.
	VisitSides(ctx *SidesContext) interface{}

	// Visit a parse tree produced by DiceParser#modifier.
	VisitModifier(ctx *ModifierContext) interface{}

	// Visit a parse tree produced by DiceParser#parameter.
	VisitParameter(ctx *ParameterContext) interface{}

	// Visit a parse tree produced by DiceParser#parameters.
	VisitParameters(ctx *ParametersContext) interface{}

	// Visit a parse tree produced by DiceParser#funcname.
	VisitFuncname(ctx *FuncnameContext) interface{}

	// Visit a parse tree produced by DiceParser#funccall.
	VisitFunccall(ctx *FunccallContext) interface{}
}

A complete Visitor for a parse tree produced by DiceParser.

type ExtensionsContext

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

func NewEmptyExtensionsContext

func NewEmptyExtensionsContext() *ExtensionsContext

func NewExtensionsContext

func NewExtensionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtensionsContext

func (*ExtensionsContext) Accept

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

func (*ExtensionsContext) AllFunccall

func (s *ExtensionsContext) AllFunccall() []IFunccallContext

func (*ExtensionsContext) AllSPACE

func (s *ExtensionsContext) AllSPACE() []antlr.TerminalNode

func (*ExtensionsContext) EnterRule

func (s *ExtensionsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExtensionsContext) ExitRule

func (s *ExtensionsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExtensionsContext) Funccall

func (s *ExtensionsContext) Funccall(i int) IFunccallContext

func (*ExtensionsContext) GetParser

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

func (*ExtensionsContext) GetRuleContext

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

func (*ExtensionsContext) IsExtensionsContext

func (*ExtensionsContext) IsExtensionsContext()

func (*ExtensionsContext) SPACE

func (*ExtensionsContext) ToStringTree

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

type FormulaContext

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

func NewEmptyFormulaContext

func NewEmptyFormulaContext() *FormulaContext

func NewFormulaContext

func NewFormulaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormulaContext

func (*FormulaContext) Accept

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

func (*FormulaContext) Count

func (s *FormulaContext) Count() ICountContext

func (*FormulaContext) EnterRule

func (s *FormulaContext) EnterRule(listener antlr.ParseTreeListener)

func (*FormulaContext) ExitRule

func (s *FormulaContext) ExitRule(listener antlr.ParseTreeListener)

func (*FormulaContext) Extensions

func (s *FormulaContext) Extensions() IExtensionsContext

func (*FormulaContext) GetParser

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

func (*FormulaContext) GetRuleContext

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

func (*FormulaContext) IsFormulaContext

func (*FormulaContext) IsFormulaContext()

func (*FormulaContext) Modifier

func (s *FormulaContext) Modifier() IModifierContext

func (*FormulaContext) Sides

func (s *FormulaContext) Sides() ISidesContext

func (*FormulaContext) ToStringTree

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

type FunccallContext

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

func NewEmptyFunccallContext

func NewEmptyFunccallContext() *FunccallContext

func NewFunccallContext

func NewFunccallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunccallContext

func (*FunccallContext) Accept

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

func (*FunccallContext) EnterRule

func (s *FunccallContext) EnterRule(listener antlr.ParseTreeListener)

func (*FunccallContext) ExitRule

func (s *FunccallContext) ExitRule(listener antlr.ParseTreeListener)

func (*FunccallContext) Funcname

func (s *FunccallContext) Funcname() IFuncnameContext

func (*FunccallContext) GetParser

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

func (*FunccallContext) GetRuleContext

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

func (*FunccallContext) IsFunccallContext

func (*FunccallContext) IsFunccallContext()

func (*FunccallContext) LPAREN

func (s *FunccallContext) LPAREN() antlr.TerminalNode

func (*FunccallContext) Parameters

func (s *FunccallContext) Parameters() IParametersContext

func (*FunccallContext) RPAREN

func (s *FunccallContext) RPAREN() antlr.TerminalNode

func (*FunccallContext) ToStringTree

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

type FuncnameContext

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

func NewEmptyFuncnameContext

func NewEmptyFuncnameContext() *FuncnameContext

func NewFuncnameContext

func NewFuncnameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncnameContext

func (*FuncnameContext) Accept

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

func (*FuncnameContext) EnterRule

func (s *FuncnameContext) EnterRule(listener antlr.ParseTreeListener)

func (*FuncnameContext) ExitRule

func (s *FuncnameContext) ExitRule(listener antlr.ParseTreeListener)

func (*FuncnameContext) GetParser

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

func (*FuncnameContext) GetRuleContext

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

func (*FuncnameContext) Id

func (*FuncnameContext) IsFuncnameContext

func (*FuncnameContext) IsFuncnameContext()

func (*FuncnameContext) ToStringTree

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

type ICountContext

type ICountContext interface {
	antlr.ParserRuleContext

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

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

ICountContext is an interface to support dynamic dispatch.

type IExtensionsContext

type IExtensionsContext interface {
	antlr.ParserRuleContext

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

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

IExtensionsContext is an interface to support dynamic dispatch.

type IFormulaContext

type IFormulaContext interface {
	antlr.ParserRuleContext

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

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

IFormulaContext is an interface to support dynamic dispatch.

type IFunccallContext

type IFunccallContext interface {
	antlr.ParserRuleContext

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

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

IFunccallContext is an interface to support dynamic dispatch.

type IFuncnameContext

type IFuncnameContext interface {
	antlr.ParserRuleContext

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

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

IFuncnameContext is an interface to support dynamic dispatch.

type IModifierContext

type IModifierContext interface {
	antlr.ParserRuleContext

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

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

IModifierContext is an interface to support dynamic dispatch.

type IParameterContext

type IParameterContext interface {
	antlr.ParserRuleContext

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

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

IParameterContext is an interface to support dynamic dispatch.

type IParametersContext

type IParametersContext interface {
	antlr.ParserRuleContext

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

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

IParametersContext is an interface to support dynamic dispatch.

type ISidesContext

type ISidesContext interface {
	antlr.ParserRuleContext

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

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

ISidesContext is an interface to support dynamic dispatch.

type ModifierContext

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

func NewEmptyModifierContext

func NewEmptyModifierContext() *ModifierContext

func NewModifierContext

func NewModifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModifierContext

func (*ModifierContext) Accept

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

func (*ModifierContext) EnterRule

func (s *ModifierContext) EnterRule(listener antlr.ParseTreeListener)

func (*ModifierContext) ExitRule

func (s *ModifierContext) ExitRule(listener antlr.ParseTreeListener)

func (*ModifierContext) GetParser

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

func (*ModifierContext) GetRuleContext

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

func (*ModifierContext) Integer

func (s *ModifierContext) Integer() antlr.TerminalNode

func (*ModifierContext) IsModifierContext

func (*ModifierContext) IsModifierContext()

func (*ModifierContext) SIGN

func (*ModifierContext) ToStringTree

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

type ParameterContext

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

func NewEmptyParameterContext

func NewEmptyParameterContext() *ParameterContext

func NewParameterContext

func NewParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterContext

func (*ParameterContext) Accept

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

func (*ParameterContext) EnterRule

func (s *ParameterContext) EnterRule(listener antlr.ParseTreeListener)

func (*ParameterContext) ExitRule

func (s *ParameterContext) ExitRule(listener antlr.ParseTreeListener)

func (*ParameterContext) GetParser

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

func (*ParameterContext) GetRuleContext

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

func (*ParameterContext) Integer

func (s *ParameterContext) Integer() antlr.TerminalNode

func (*ParameterContext) IsParameterContext

func (*ParameterContext) IsParameterContext()

func (*ParameterContext) StringLiteral

func (s *ParameterContext) StringLiteral() antlr.TerminalNode

func (*ParameterContext) ToStringTree

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

type ParametersContext

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

func NewEmptyParametersContext

func NewEmptyParametersContext() *ParametersContext

func NewParametersContext

func NewParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParametersContext

func (*ParametersContext) Accept

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

func (*ParametersContext) AllCOMMA

func (s *ParametersContext) AllCOMMA() []antlr.TerminalNode

func (*ParametersContext) AllParameter

func (s *ParametersContext) AllParameter() []IParameterContext

func (*ParametersContext) COMMA

func (*ParametersContext) EnterRule

func (s *ParametersContext) EnterRule(listener antlr.ParseTreeListener)

func (*ParametersContext) ExitRule

func (s *ParametersContext) ExitRule(listener antlr.ParseTreeListener)

func (*ParametersContext) GetParser

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

func (*ParametersContext) GetRuleContext

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

func (*ParametersContext) IsParametersContext

func (*ParametersContext) IsParametersContext()

func (*ParametersContext) Parameter

func (s *ParametersContext) Parameter(i int) IParameterContext

func (*ParametersContext) ToStringTree

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

type SidesContext

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

func NewEmptySidesContext

func NewEmptySidesContext() *SidesContext

func NewSidesContext

func NewSidesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SidesContext

func (*SidesContext) Accept

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

func (*SidesContext) EnterRule

func (s *SidesContext) EnterRule(listener antlr.ParseTreeListener)

func (*SidesContext) ExitRule

func (s *SidesContext) ExitRule(listener antlr.ParseTreeListener)

func (*SidesContext) GetParser

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

func (*SidesContext) GetRuleContext

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

func (*SidesContext) Id

func (*SidesContext) IsSidesContext

func (*SidesContext) IsSidesContext()

func (*SidesContext) ToStringTree

func (s *SidesContext) 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