Documentation ¶
Index ¶
- Constants
- type ArrayLiteralContext
- func (s *ArrayLiteralContext) AllSingleExpression() []ISingleExpressionContext
- func (s *ArrayLiteralContext) CloseBracket() antlr.TerminalNode
- func (s *ArrayLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayLiteralContext) GetParser() antlr.Parser
- func (s *ArrayLiteralContext) GetRuleContext() antlr.RuleContext
- func (*ArrayLiteralContext) IsArrayLiteralContext()
- func (s *ArrayLiteralContext) OpenBracket() antlr.TerminalNode
- func (s *ArrayLiteralContext) SingleExpression(i int) ISingleExpressionContext
- func (s *ArrayLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseJaclListener
- func (s *BaseJaclListener) EnterArrayLiteral(ctx *ArrayLiteralContext)
- func (s *BaseJaclListener) EnterCall(ctx *CallContext)
- func (s *BaseJaclListener) EnterConfig(ctx *ConfigContext)
- func (s *BaseJaclListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseJaclListener) EnterIdentifierName(ctx *IdentifierNameContext)
- func (s *BaseJaclListener) EnterLiteral(ctx *LiteralContext)
- func (s *BaseJaclListener) EnterMapLiteral(ctx *MapLiteralContext)
- func (s *BaseJaclListener) EnterPropertyAssignment(ctx *PropertyAssignmentContext)
- func (s *BaseJaclListener) EnterPropertyName(ctx *PropertyNameContext)
- func (s *BaseJaclListener) EnterSingleExpression(ctx *SingleExpressionContext)
- func (s *BaseJaclListener) ExitArrayLiteral(ctx *ArrayLiteralContext)
- func (s *BaseJaclListener) ExitCall(ctx *CallContext)
- func (s *BaseJaclListener) ExitConfig(ctx *ConfigContext)
- func (s *BaseJaclListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseJaclListener) ExitIdentifierName(ctx *IdentifierNameContext)
- func (s *BaseJaclListener) ExitLiteral(ctx *LiteralContext)
- func (s *BaseJaclListener) ExitMapLiteral(ctx *MapLiteralContext)
- func (s *BaseJaclListener) ExitPropertyAssignment(ctx *PropertyAssignmentContext)
- func (s *BaseJaclListener) ExitPropertyName(ctx *PropertyNameContext)
- func (s *BaseJaclListener) ExitSingleExpression(ctx *SingleExpressionContext)
- func (s *BaseJaclListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseJaclListener) VisitTerminal(node antlr.TerminalNode)
- type CallContext
- func (s *CallContext) AllSingleExpression() []ISingleExpressionContext
- func (s *CallContext) CloseParen() antlr.TerminalNode
- func (s *CallContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CallContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CallContext) GetParser() antlr.Parser
- func (s *CallContext) GetRuleContext() antlr.RuleContext
- func (s *CallContext) IdentifierName() IIdentifierNameContext
- func (*CallContext) IsCallContext()
- func (s *CallContext) OpenParen() antlr.TerminalNode
- func (s *CallContext) SingleExpression(i int) ISingleExpressionContext
- func (s *CallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ConfigContext
- func (s *ConfigContext) AllPropertyAssignment() []IPropertyAssignmentContext
- func (s *ConfigContext) EOF() antlr.TerminalNode
- func (s *ConfigContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConfigContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConfigContext) GetParser() antlr.Parser
- func (s *ConfigContext) GetRuleContext() antlr.RuleContext
- func (*ConfigContext) IsConfigContext()
- func (s *ConfigContext) PropertyAssignment(i int) IPropertyAssignmentContext
- func (s *ConfigContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArrayLiteralContext
- type ICallContext
- type IConfigContext
- type IIdentifierNameContext
- type ILiteralContext
- type IMapLiteralContext
- type IPropertyAssignmentContext
- type IPropertyNameContext
- type ISingleExpressionContext
- type IdentifierNameContext
- func (s *IdentifierNameContext) BooleanLiteral() antlr.TerminalNode
- func (s *IdentifierNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierNameContext) GetParser() antlr.Parser
- func (s *IdentifierNameContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierNameContext) Identifier() antlr.TerminalNode
- func (*IdentifierNameContext) IsIdentifierNameContext()
- func (s *IdentifierNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type JaclLexer
- type JaclListener
- type JaclParser
- func (p *JaclParser) ArrayLiteral() (localctx IArrayLiteralContext)
- func (p *JaclParser) Call() (localctx ICallContext)
- func (p *JaclParser) Config() (localctx IConfigContext)
- func (p *JaclParser) IdentifierName() (localctx IIdentifierNameContext)
- func (p *JaclParser) Literal() (localctx ILiteralContext)
- func (p *JaclParser) MapLiteral() (localctx IMapLiteralContext)
- func (p *JaclParser) PropertyAssignment() (localctx IPropertyAssignmentContext)
- func (p *JaclParser) PropertyName() (localctx IPropertyNameContext)
- func (p *JaclParser) SingleExpression() (localctx ISingleExpressionContext)
- type LiteralContext
- func (s *LiteralContext) BooleanLiteral() antlr.TerminalNode
- func (s *LiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralContext) FloatLiteral() antlr.TerminalNode
- func (s *LiteralContext) GetParser() antlr.Parser
- func (s *LiteralContext) GetRuleContext() antlr.RuleContext
- func (s *LiteralContext) IntegerLiteral() antlr.TerminalNode
- func (*LiteralContext) IsLiteralContext()
- func (s *LiteralContext) RawStringLiteral() antlr.TerminalNode
- func (s *LiteralContext) StringLiteral() antlr.TerminalNode
- func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MapLiteralContext
- func (s *MapLiteralContext) AllPropertyAssignment() []IPropertyAssignmentContext
- func (s *MapLiteralContext) CloseBrace() antlr.TerminalNode
- func (s *MapLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MapLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MapLiteralContext) GetParser() antlr.Parser
- func (s *MapLiteralContext) GetRuleContext() antlr.RuleContext
- func (*MapLiteralContext) IsMapLiteralContext()
- func (s *MapLiteralContext) OpenBrace() antlr.TerminalNode
- func (s *MapLiteralContext) PropertyAssignment(i int) IPropertyAssignmentContext
- func (s *MapLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PropertyAssignmentContext
- func (s *PropertyAssignmentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PropertyAssignmentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PropertyAssignmentContext) GetParser() antlr.Parser
- func (s *PropertyAssignmentContext) GetRuleContext() antlr.RuleContext
- func (*PropertyAssignmentContext) IsPropertyAssignmentContext()
- func (s *PropertyAssignmentContext) PropertyName() IPropertyNameContext
- func (s *PropertyAssignmentContext) SingleExpression() ISingleExpressionContext
- func (s *PropertyAssignmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PropertyNameContext
- func (s *PropertyNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PropertyNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PropertyNameContext) GetParser() antlr.Parser
- func (s *PropertyNameContext) GetRuleContext() antlr.RuleContext
- func (s *PropertyNameContext) IdentifierName() IIdentifierNameContext
- func (*PropertyNameContext) IsPropertyNameContext()
- func (s *PropertyNameContext) StringLiteral() antlr.TerminalNode
- func (s *PropertyNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SingleExpressionContext
- func (s *SingleExpressionContext) ArrayLiteral() IArrayLiteralContext
- func (s *SingleExpressionContext) Call() ICallContext
- func (s *SingleExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SingleExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SingleExpressionContext) GetParser() antlr.Parser
- func (s *SingleExpressionContext) GetRuleContext() antlr.RuleContext
- func (*SingleExpressionContext) IsSingleExpressionContext()
- func (s *SingleExpressionContext) Literal() ILiteralContext
- func (s *SingleExpressionContext) MapLiteral() IMapLiteralContext
- func (s *SingleExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
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.
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.
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 ¶
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 (s *PropertyAssignmentContext) PropertyName() IPropertyNameContext
func (*PropertyAssignmentContext) SingleExpression ¶
func (s *PropertyAssignmentContext) SingleExpression() ISingleExpressionContext
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 (s *SingleExpressionContext) ArrayLiteral() IArrayLiteralContext
func (*SingleExpressionContext) Call ¶
func (s *SingleExpressionContext) Call() ICallContext
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 (s *SingleExpressionContext) Literal() ILiteralContext
func (*SingleExpressionContext) MapLiteral ¶
func (s *SingleExpressionContext) MapLiteral() IMapLiteralContext
func (*SingleExpressionContext) ToStringTree ¶
func (s *SingleExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string