parser

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JaclLexerT__0                  = 1
	JaclLexerT__1                  = 2
	JaclLexerIntegerLiteral        = 3
	JaclLexerMultiLineComment      = 4
	JaclLexerSingleLineComment     = 5
	JaclLexerOpenBracket           = 6
	JaclLexerCloseBracket          = 7
	JaclLexerOpenBrace             = 8
	JaclLexerCloseBrace            = 9
	JaclLexerOpenParen             = 10
	JaclLexerCloseParen            = 11
	JaclLexerBooleanLiteral        = 12
	JaclLexerFloatLiteral          = 13
	JaclLexerSignedIntegerLiteral  = 14
	JaclLexerBinaryIntegerLiteral  = 15
	JaclLexerOctalIntegerLiteral   = 16
	JaclLexerDecimalIntegerLiteral = 17
	JaclLexerHexIntegerLiteral     = 18
	JaclLexerStringLiteral         = 19
	JaclLexerRawStringLiteral      = 20
	JaclLexerWhiteSpaces           = 21
	JaclLexerLineTerminator        = 22
	JaclLexerIdentifier            = 23
)

JaclLexer tokens.

View Source
const (
	JaclParserEOF                   = antlr.TokenEOF
	JaclParserT__0                  = 1
	JaclParserT__1                  = 2
	JaclParserIntegerLiteral        = 3
	JaclParserMultiLineComment      = 4
	JaclParserSingleLineComment     = 5
	JaclParserOpenBracket           = 6
	JaclParserCloseBracket          = 7
	JaclParserOpenBrace             = 8
	JaclParserCloseBrace            = 9
	JaclParserOpenParen             = 10
	JaclParserCloseParen            = 11
	JaclParserBooleanLiteral        = 12
	JaclParserFloatLiteral          = 13
	JaclParserSignedIntegerLiteral  = 14
	JaclParserBinaryIntegerLiteral  = 15
	JaclParserOctalIntegerLiteral   = 16
	JaclParserDecimalIntegerLiteral = 17
	JaclParserHexIntegerLiteral     = 18
	JaclParserStringLiteral         = 19
	JaclParserRawStringLiteral      = 20
	JaclParserWhiteSpaces           = 21
	JaclParserLineTerminator        = 22
	JaclParserIdentifier            = 23
)

JaclParser tokens.

View Source
const (
	JaclParserRULE_config             = 0
	JaclParserRULE_arrayLiteral       = 1
	JaclParserRULE_mapLiteral         = 2
	JaclParserRULE_call               = 3
	JaclParserRULE_propertyAssignment = 4
	JaclParserRULE_propertyName       = 5
	JaclParserRULE_singleExpression   = 6
	JaclParserRULE_literal            = 7
	JaclParserRULE_identifierName     = 8
)

JaclParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayLiteralContext

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

func NewArrayLiteralContext

func NewArrayLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayLiteralContext

func NewEmptyArrayLiteralContext

func NewEmptyArrayLiteralContext() *ArrayLiteralContext

func (*ArrayLiteralContext) AllSingleExpression

func (s *ArrayLiteralContext) AllSingleExpression() []ISingleExpressionContext

func (*ArrayLiteralContext) CloseBracket

func (s *ArrayLiteralContext) CloseBracket() antlr.TerminalNode

func (*ArrayLiteralContext) EnterRule

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

func (*ArrayLiteralContext) ExitRule

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

func (*ArrayLiteralContext) GetParser

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

func (*ArrayLiteralContext) GetRuleContext

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

func (*ArrayLiteralContext) IsArrayLiteralContext

func (*ArrayLiteralContext) IsArrayLiteralContext()

func (*ArrayLiteralContext) OpenBracket

func (s *ArrayLiteralContext) OpenBracket() antlr.TerminalNode

func (*ArrayLiteralContext) SingleExpression

func (s *ArrayLiteralContext) SingleExpression(i int) ISingleExpressionContext

func (*ArrayLiteralContext) ToStringTree

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

type BaseJaclListener

type BaseJaclListener struct{}

BaseJaclListener is a complete listener for a parse tree produced by JaclParser.

func (*BaseJaclListener) EnterArrayLiteral

func (s *BaseJaclListener) EnterArrayLiteral(ctx *ArrayLiteralContext)

EnterArrayLiteral is called when production arrayLiteral is entered.

func (*BaseJaclListener) EnterCall

func (s *BaseJaclListener) EnterCall(ctx *CallContext)

EnterCall is called when production call is entered.

func (*BaseJaclListener) EnterConfig

func (s *BaseJaclListener) EnterConfig(ctx *ConfigContext)

EnterConfig is called when production config is entered.

func (*BaseJaclListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseJaclListener) EnterIdentifierName

func (s *BaseJaclListener) EnterIdentifierName(ctx *IdentifierNameContext)

EnterIdentifierName is called when production identifierName is entered.

func (*BaseJaclListener) EnterLiteral

func (s *BaseJaclListener) EnterLiteral(ctx *LiteralContext)

EnterLiteral is called when production literal is entered.

func (*BaseJaclListener) EnterMapLiteral

func (s *BaseJaclListener) EnterMapLiteral(ctx *MapLiteralContext)

EnterMapLiteral is called when production mapLiteral is entered.

func (*BaseJaclListener) EnterPropertyAssignment

func (s *BaseJaclListener) EnterPropertyAssignment(ctx *PropertyAssignmentContext)

EnterPropertyAssignment is called when production propertyAssignment is entered.

func (*BaseJaclListener) EnterPropertyName

func (s *BaseJaclListener) EnterPropertyName(ctx *PropertyNameContext)

EnterPropertyName is called when production propertyName is entered.

func (*BaseJaclListener) EnterSingleExpression

func (s *BaseJaclListener) EnterSingleExpression(ctx *SingleExpressionContext)

EnterSingleExpression is called when production singleExpression is entered.

func (*BaseJaclListener) ExitArrayLiteral

func (s *BaseJaclListener) ExitArrayLiteral(ctx *ArrayLiteralContext)

ExitArrayLiteral is called when production arrayLiteral is exited.

func (*BaseJaclListener) ExitCall

func (s *BaseJaclListener) ExitCall(ctx *CallContext)

ExitCall is called when production call is exited.

func (*BaseJaclListener) ExitConfig

func (s *BaseJaclListener) ExitConfig(ctx *ConfigContext)

ExitConfig is called when production config is exited.

func (*BaseJaclListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseJaclListener) ExitIdentifierName

func (s *BaseJaclListener) ExitIdentifierName(ctx *IdentifierNameContext)

ExitIdentifierName is called when production identifierName is exited.

func (*BaseJaclListener) ExitLiteral

func (s *BaseJaclListener) ExitLiteral(ctx *LiteralContext)

ExitLiteral is called when production literal is exited.

func (*BaseJaclListener) ExitMapLiteral

func (s *BaseJaclListener) ExitMapLiteral(ctx *MapLiteralContext)

ExitMapLiteral is called when production mapLiteral is exited.

func (*BaseJaclListener) ExitPropertyAssignment

func (s *BaseJaclListener) ExitPropertyAssignment(ctx *PropertyAssignmentContext)

ExitPropertyAssignment is called when production propertyAssignment is exited.

func (*BaseJaclListener) ExitPropertyName

func (s *BaseJaclListener) ExitPropertyName(ctx *PropertyNameContext)

ExitPropertyName is called when production propertyName is exited.

func (*BaseJaclListener) ExitSingleExpression

func (s *BaseJaclListener) ExitSingleExpression(ctx *SingleExpressionContext)

ExitSingleExpression is called when production singleExpression is exited.

func (*BaseJaclListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseJaclListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type CallContext

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

func NewCallContext

func NewCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CallContext

func NewEmptyCallContext

func NewEmptyCallContext() *CallContext

func (*CallContext) AllSingleExpression

func (s *CallContext) AllSingleExpression() []ISingleExpressionContext

func (*CallContext) CloseParen

func (s *CallContext) CloseParen() antlr.TerminalNode

func (*CallContext) EnterRule

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

func (*CallContext) ExitRule

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

func (*CallContext) GetParser

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

func (*CallContext) GetRuleContext

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

func (*CallContext) IdentifierName

func (s *CallContext) IdentifierName() IIdentifierNameContext

func (*CallContext) IsCallContext

func (*CallContext) IsCallContext()

func (*CallContext) OpenParen

func (s *CallContext) OpenParen() antlr.TerminalNode

func (*CallContext) SingleExpression

func (s *CallContext) SingleExpression(i int) ISingleExpressionContext

func (*CallContext) ToStringTree

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

type ConfigContext

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

func NewConfigContext

func NewConfigContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConfigContext

func NewEmptyConfigContext

func NewEmptyConfigContext() *ConfigContext

func (*ConfigContext) AllPropertyAssignment

func (s *ConfigContext) AllPropertyAssignment() []IPropertyAssignmentContext

func (*ConfigContext) EOF

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

func (*ConfigContext) EnterRule

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

func (*ConfigContext) ExitRule

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

func (*ConfigContext) GetParser

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

func (*ConfigContext) GetRuleContext

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

func (*ConfigContext) IsConfigContext

func (*ConfigContext) IsConfigContext()

func (*ConfigContext) PropertyAssignment

func (s *ConfigContext) PropertyAssignment(i int) IPropertyAssignmentContext

func (*ConfigContext) ToStringTree

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

type IArrayLiteralContext

type IArrayLiteralContext interface {
	antlr.ParserRuleContext

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

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

IArrayLiteralContext is an interface to support dynamic dispatch.

type ICallContext

type ICallContext interface {
	antlr.ParserRuleContext

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

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

ICallContext is an interface to support dynamic dispatch.

type IConfigContext

type IConfigContext interface {
	antlr.ParserRuleContext

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

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

IConfigContext is an interface to support dynamic dispatch.

type IIdentifierNameContext

type IIdentifierNameContext interface {
	antlr.ParserRuleContext

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

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

IIdentifierNameContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

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

ILiteralContext is an interface to support dynamic dispatch.

type IMapLiteralContext

type IMapLiteralContext interface {
	antlr.ParserRuleContext

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

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

IMapLiteralContext is an interface to support dynamic dispatch.

type IPropertyAssignmentContext

type IPropertyAssignmentContext interface {
	antlr.ParserRuleContext

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

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

IPropertyAssignmentContext is an interface to support dynamic dispatch.

type IPropertyNameContext

type IPropertyNameContext interface {
	antlr.ParserRuleContext

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

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

IPropertyNameContext is an interface to support dynamic dispatch.

type ISingleExpressionContext

type ISingleExpressionContext interface {
	antlr.ParserRuleContext

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

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

ISingleExpressionContext is an interface to support dynamic dispatch.

type IdentifierNameContext

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

func NewEmptyIdentifierNameContext

func NewEmptyIdentifierNameContext() *IdentifierNameContext

func NewIdentifierNameContext

func NewIdentifierNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierNameContext

func (*IdentifierNameContext) BooleanLiteral

func (s *IdentifierNameContext) BooleanLiteral() antlr.TerminalNode

func (*IdentifierNameContext) EnterRule

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

func (*IdentifierNameContext) ExitRule

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

func (*IdentifierNameContext) GetParser

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

func (*IdentifierNameContext) GetRuleContext

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

func (*IdentifierNameContext) Identifier

func (s *IdentifierNameContext) Identifier() antlr.TerminalNode

func (*IdentifierNameContext) IsIdentifierNameContext

func (*IdentifierNameContext) IsIdentifierNameContext()

func (*IdentifierNameContext) ToStringTree

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

type JaclLexer

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

func NewJaclLexer

func NewJaclLexer(input antlr.CharStream) *JaclLexer

type JaclListener

type JaclListener interface {
	antlr.ParseTreeListener

	// EnterConfig is called when entering the config production.
	EnterConfig(c *ConfigContext)

	// EnterArrayLiteral is called when entering the arrayLiteral production.
	EnterArrayLiteral(c *ArrayLiteralContext)

	// EnterMapLiteral is called when entering the mapLiteral production.
	EnterMapLiteral(c *MapLiteralContext)

	// EnterCall is called when entering the call production.
	EnterCall(c *CallContext)

	// EnterPropertyAssignment is called when entering the propertyAssignment production.
	EnterPropertyAssignment(c *PropertyAssignmentContext)

	// EnterPropertyName is called when entering the propertyName production.
	EnterPropertyName(c *PropertyNameContext)

	// EnterSingleExpression is called when entering the singleExpression production.
	EnterSingleExpression(c *SingleExpressionContext)

	// EnterLiteral is called when entering the literal production.
	EnterLiteral(c *LiteralContext)

	// EnterIdentifierName is called when entering the identifierName production.
	EnterIdentifierName(c *IdentifierNameContext)

	// ExitConfig is called when exiting the config production.
	ExitConfig(c *ConfigContext)

	// ExitArrayLiteral is called when exiting the arrayLiteral production.
	ExitArrayLiteral(c *ArrayLiteralContext)

	// ExitMapLiteral is called when exiting the mapLiteral production.
	ExitMapLiteral(c *MapLiteralContext)

	// ExitCall is called when exiting the call production.
	ExitCall(c *CallContext)

	// ExitPropertyAssignment is called when exiting the propertyAssignment production.
	ExitPropertyAssignment(c *PropertyAssignmentContext)

	// ExitPropertyName is called when exiting the propertyName production.
	ExitPropertyName(c *PropertyNameContext)

	// ExitSingleExpression is called when exiting the singleExpression production.
	ExitSingleExpression(c *SingleExpressionContext)

	// ExitLiteral is called when exiting the literal production.
	ExitLiteral(c *LiteralContext)

	// ExitIdentifierName is called when exiting the identifierName production.
	ExitIdentifierName(c *IdentifierNameContext)
}

JaclListener is a complete listener for a parse tree produced by JaclParser.

type JaclParser

type JaclParser struct {
	*antlr.BaseParser
}

func NewJaclParser

func NewJaclParser(input antlr.TokenStream) *JaclParser

func (*JaclParser) ArrayLiteral

func (p *JaclParser) ArrayLiteral() (localctx IArrayLiteralContext)

func (*JaclParser) Call

func (p *JaclParser) Call() (localctx ICallContext)

func (*JaclParser) Config

func (p *JaclParser) Config() (localctx IConfigContext)

func (*JaclParser) IdentifierName

func (p *JaclParser) IdentifierName() (localctx IIdentifierNameContext)

func (*JaclParser) Literal

func (p *JaclParser) Literal() (localctx ILiteralContext)

func (*JaclParser) MapLiteral

func (p *JaclParser) MapLiteral() (localctx IMapLiteralContext)

func (*JaclParser) PropertyAssignment

func (p *JaclParser) PropertyAssignment() (localctx IPropertyAssignmentContext)

func (*JaclParser) PropertyName

func (p *JaclParser) PropertyName() (localctx IPropertyNameContext)

func (*JaclParser) SingleExpression

func (p *JaclParser) SingleExpression() (localctx ISingleExpressionContext)

type LiteralContext

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

func NewEmptyLiteralContext

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext

func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext

func (*LiteralContext) BooleanLiteral

func (s *LiteralContext) BooleanLiteral() antlr.TerminalNode

func (*LiteralContext) EnterRule

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

func (*LiteralContext) ExitRule

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

func (*LiteralContext) FloatLiteral

func (s *LiteralContext) FloatLiteral() antlr.TerminalNode

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) IntegerLiteral

func (s *LiteralContext) IntegerLiteral() antlr.TerminalNode

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) RawStringLiteral

func (s *LiteralContext) RawStringLiteral() antlr.TerminalNode

func (*LiteralContext) StringLiteral

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

func (*LiteralContext) ToStringTree

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

type MapLiteralContext

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

func NewEmptyMapLiteralContext

func NewEmptyMapLiteralContext() *MapLiteralContext

func NewMapLiteralContext

func NewMapLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapLiteralContext

func (*MapLiteralContext) AllPropertyAssignment

func (s *MapLiteralContext) AllPropertyAssignment() []IPropertyAssignmentContext

func (*MapLiteralContext) CloseBrace

func (s *MapLiteralContext) CloseBrace() antlr.TerminalNode

func (*MapLiteralContext) EnterRule

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

func (*MapLiteralContext) ExitRule

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

func (*MapLiteralContext) GetParser

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

func (*MapLiteralContext) GetRuleContext

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

func (*MapLiteralContext) IsMapLiteralContext

func (*MapLiteralContext) IsMapLiteralContext()

func (*MapLiteralContext) OpenBrace

func (s *MapLiteralContext) OpenBrace() antlr.TerminalNode

func (*MapLiteralContext) PropertyAssignment

func (s *MapLiteralContext) PropertyAssignment(i int) IPropertyAssignmentContext

func (*MapLiteralContext) ToStringTree

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

type PropertyAssignmentContext

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

func NewEmptyPropertyAssignmentContext

func NewEmptyPropertyAssignmentContext() *PropertyAssignmentContext

func NewPropertyAssignmentContext

func NewPropertyAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyAssignmentContext

func (*PropertyAssignmentContext) EnterRule

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

func (*PropertyAssignmentContext) ExitRule

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

func (*PropertyAssignmentContext) GetParser

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

func (*PropertyAssignmentContext) GetRuleContext

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

func (*PropertyAssignmentContext) IsPropertyAssignmentContext

func (*PropertyAssignmentContext) IsPropertyAssignmentContext()

func (*PropertyAssignmentContext) PropertyName

func (*PropertyAssignmentContext) SingleExpression

func (*PropertyAssignmentContext) ToStringTree

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

type PropertyNameContext

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

func NewEmptyPropertyNameContext

func NewEmptyPropertyNameContext() *PropertyNameContext

func NewPropertyNameContext

func NewPropertyNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyNameContext

func (*PropertyNameContext) EnterRule

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

func (*PropertyNameContext) ExitRule

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

func (*PropertyNameContext) GetParser

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

func (*PropertyNameContext) GetRuleContext

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

func (*PropertyNameContext) IdentifierName

func (s *PropertyNameContext) IdentifierName() IIdentifierNameContext

func (*PropertyNameContext) IsPropertyNameContext

func (*PropertyNameContext) IsPropertyNameContext()

func (*PropertyNameContext) StringLiteral

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

func (*PropertyNameContext) ToStringTree

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

type SingleExpressionContext

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

func NewEmptySingleExpressionContext

func NewEmptySingleExpressionContext() *SingleExpressionContext

func NewSingleExpressionContext

func NewSingleExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SingleExpressionContext

func (*SingleExpressionContext) ArrayLiteral

func (*SingleExpressionContext) Call

func (*SingleExpressionContext) EnterRule

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

func (*SingleExpressionContext) ExitRule

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

func (*SingleExpressionContext) GetParser

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

func (*SingleExpressionContext) GetRuleContext

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

func (*SingleExpressionContext) IsSingleExpressionContext

func (*SingleExpressionContext) IsSingleExpressionContext()

func (*SingleExpressionContext) Literal

func (*SingleExpressionContext) MapLiteral

func (*SingleExpressionContext) ToStringTree

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