parser

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StowageLexerT__0       = 1
	StowageLexerT__1       = 2
	StowageLexerT__2       = 3
	StowageLexerT__3       = 4
	StowageLexerT__4       = 5
	StowageLexerT__5       = 6
	StowageLexerT__6       = 7
	StowageLexerT__7       = 8
	StowageLexerT__8       = 9
	StowageLexerT__9       = 10
	StowageLexerT__10      = 11
	StowageLexerT__11      = 12
	StowageLexerT__12      = 13
	StowageLexerT__13      = 14
	StowageLexerT__14      = 15
	StowageLexerT__15      = 16
	StowageLexerT__16      = 17
	StowageLexerT__17      = 18
	StowageLexerT__18      = 19
	StowageLexerT__19      = 20
	StowageLexerT__20      = 21
	StowageLexerT__21      = 22
	StowageLexerT__22      = 23
	StowageLexerT__23      = 24
	StowageLexerCOL        = 25
	StowageLexerCOMMENT    = 26
	StowageLexerUNIQUE     = 27
	StowageLexerCOMPUTED   = 28
	StowageLexerHASH       = 29
	StowageLexerABS        = 30
	StowageLexerLOWER      = 31
	StowageLexerUPPER      = 32
	StowageLexerIDENTIFIER = 33
	StowageLexerSTRING     = 34
	StowageLexerINT        = 35
	StowageLexerWHITESPACE = 36
)

StowageLexer tokens.

View Source
const (
	StowageParserEOF        = antlr.TokenEOF
	StowageParserT__0       = 1
	StowageParserT__1       = 2
	StowageParserT__2       = 3
	StowageParserT__3       = 4
	StowageParserT__4       = 5
	StowageParserT__5       = 6
	StowageParserT__6       = 7
	StowageParserT__7       = 8
	StowageParserT__8       = 9
	StowageParserT__9       = 10
	StowageParserT__10      = 11
	StowageParserT__11      = 12
	StowageParserT__12      = 13
	StowageParserT__13      = 14
	StowageParserT__14      = 15
	StowageParserT__15      = 16
	StowageParserT__16      = 17
	StowageParserT__17      = 18
	StowageParserT__18      = 19
	StowageParserT__19      = 20
	StowageParserT__20      = 21
	StowageParserT__21      = 22
	StowageParserT__22      = 23
	StowageParserT__23      = 24
	StowageParserCOL        = 25
	StowageParserCOMMENT    = 26
	StowageParserUNIQUE     = 27
	StowageParserCOMPUTED   = 28
	StowageParserHASH       = 29
	StowageParserABS        = 30
	StowageParserLOWER      = 31
	StowageParserUPPER      = 32
	StowageParserIDENTIFIER = 33
	StowageParserSTRING     = 34
	StowageParserINT        = 35
	StowageParserWHITESPACE = 36
)

StowageParser tokens.

View Source
const (
	StowageParserRULE_identifier        = 0
	StowageParserRULE_identifiers       = 1
	StowageParserRULE_pkg               = 2
	StowageParserRULE_root              = 3
	StowageParserRULE_entity            = 4
	StowageParserRULE_view              = 5
	StowageParserRULE_query             = 6
	StowageParserRULE_enum              = 7
	StowageParserRULE_enumValue         = 8
	StowageParserRULE_attribute         = 9
	StowageParserRULE_viewAttribute     = 10
	StowageParserRULE_uniqueTypeDef     = 11
	StowageParserRULE_typeDef           = 12
	StowageParserRULE_viewTypeDef       = 13
	StowageParserRULE_computedAttribute = 14
	StowageParserRULE_intType           = 15
	StowageParserRULE_serialType        = 16
	StowageParserRULE_floatType         = 17
	StowageParserRULE_stringType        = 18
	StowageParserRULE_boolType          = 19
	StowageParserRULE_enumType          = 20
	StowageParserRULE_timeType          = 21
	StowageParserRULE_referenceType     = 22
	StowageParserRULE_expression        = 23
	StowageParserRULE_literal           = 24
)

StowageParser rules.

Variables

View Source
var StowageLexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var StowageParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func InitEmptyAttributeContext added in v0.19.3

func InitEmptyAttributeContext(p *AttributeContext)

func InitEmptyBoolTypeContext added in v0.19.3

func InitEmptyBoolTypeContext(p *BoolTypeContext)

func InitEmptyComputedAttributeContext added in v0.19.3

func InitEmptyComputedAttributeContext(p *ComputedAttributeContext)

func InitEmptyEntityContext added in v0.19.3

func InitEmptyEntityContext(p *EntityContext)

func InitEmptyEnumContext added in v0.27.0

func InitEmptyEnumContext(p *EnumContext)

func InitEmptyEnumTypeContext added in v0.19.3

func InitEmptyEnumTypeContext(p *EnumTypeContext)

func InitEmptyEnumValueContext added in v0.19.3

func InitEmptyEnumValueContext(p *EnumValueContext)

func InitEmptyExpressionContext added in v0.19.3

func InitEmptyExpressionContext(p *ExpressionContext)

func InitEmptyFloatTypeContext added in v0.19.3

func InitEmptyFloatTypeContext(p *FloatTypeContext)

func InitEmptyIdentifierContext added in v0.19.3

func InitEmptyIdentifierContext(p *IdentifierContext)

func InitEmptyIdentifiersContext added in v0.19.3

func InitEmptyIdentifiersContext(p *IdentifiersContext)

func InitEmptyIntTypeContext added in v0.19.3

func InitEmptyIntTypeContext(p *IntTypeContext)

func InitEmptyLiteralContext added in v0.19.3

func InitEmptyLiteralContext(p *LiteralContext)

func InitEmptyPkgContext added in v0.19.3

func InitEmptyPkgContext(p *PkgContext)

func InitEmptyQueryContext added in v0.26.0

func InitEmptyQueryContext(p *QueryContext)

func InitEmptyReferenceTypeContext added in v0.19.3

func InitEmptyReferenceTypeContext(p *ReferenceTypeContext)

func InitEmptyRootContext added in v0.19.3

func InitEmptyRootContext(p *RootContext)

func InitEmptySerialTypeContext added in v0.19.3

func InitEmptySerialTypeContext(p *SerialTypeContext)

func InitEmptyStringTypeContext added in v0.19.3

func InitEmptyStringTypeContext(p *StringTypeContext)

func InitEmptyTimeTypeContext added in v0.19.3

func InitEmptyTimeTypeContext(p *TimeTypeContext)

func InitEmptyTypeDefContext added in v0.19.3

func InitEmptyTypeDefContext(p *TypeDefContext)

func InitEmptyUniqueTypeDefContext added in v0.19.3

func InitEmptyUniqueTypeDefContext(p *UniqueTypeDefContext)

func InitEmptyViewAttributeContext added in v0.19.3

func InitEmptyViewAttributeContext(p *ViewAttributeContext)

func InitEmptyViewContext added in v0.19.3

func InitEmptyViewContext(p *ViewContext)

func InitEmptyViewTypeDefContext added in v0.19.3

func InitEmptyViewTypeDefContext(p *ViewTypeDefContext)

func Parse

func Parse(i string, sourceFolder string) (*ast.AST, error)

func StowageLexerInit added in v0.19.3

func StowageLexerInit()

StowageLexerInit initializes any static state used to implement StowageLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewStowageLexer(). You can call this function if you wish to initialize the static state ahead of time.

func StowageParserInit added in v0.19.3

func StowageParserInit()

StowageParserInit initializes any static state used to implement StowageParser. By default the static state used to implement the parser is lazily initialized during the first call to NewStowageParser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type ASTVisitor

type ASTVisitor struct {
	*BaseStowageVisitor
	// contains filtered or unexported fields
}

func (*ASTVisitor) VisitAttribute

func (v *ASTVisitor) VisitAttribute(ctx *AttributeContext) interface{}

func (*ASTVisitor) VisitBoolType

func (v *ASTVisitor) VisitBoolType(_ *BoolTypeContext) interface{}

func (*ASTVisitor) VisitEntity

func (v *ASTVisitor) VisitEntity(ctx *EntityContext) interface{}

func (*ASTVisitor) VisitEnum added in v0.27.0

func (v *ASTVisitor) VisitEnum(ctx *EnumContext) any

func (*ASTVisitor) VisitEnumType

func (v *ASTVisitor) VisitEnumType(ctx *EnumTypeContext) interface{}

func (*ASTVisitor) VisitEnumValue

func (v *ASTVisitor) VisitEnumValue(ctx *EnumValueContext) interface{}

func (*ASTVisitor) VisitExpression added in v0.19.3

func (v *ASTVisitor) VisitExpression(ctx *ExpressionContext) interface{}

func (*ASTVisitor) VisitFloatType

func (v *ASTVisitor) VisitFloatType(_ *FloatTypeContext) interface{}

func (*ASTVisitor) VisitIdentifiers

func (v *ASTVisitor) VisitIdentifiers(ctx *IdentifiersContext) interface{}

func (*ASTVisitor) VisitIntType

func (v *ASTVisitor) VisitIntType(_ *IntTypeContext) interface{}

func (*ASTVisitor) VisitLiteral added in v0.19.3

func (v *ASTVisitor) VisitLiteral(ctx *LiteralContext) interface{}

func (*ASTVisitor) VisitQuery added in v0.26.0

func (v *ASTVisitor) VisitQuery(ctx *QueryContext) interface{}

func (*ASTVisitor) VisitReferenceType

func (v *ASTVisitor) VisitReferenceType(ctx *ReferenceTypeContext) interface{}

func (*ASTVisitor) VisitRoot

func (v *ASTVisitor) VisitRoot(ctx *RootContext) interface{}

func (*ASTVisitor) VisitSerialType

func (v *ASTVisitor) VisitSerialType(_ *SerialTypeContext) interface{}

func (*ASTVisitor) VisitStringType

func (v *ASTVisitor) VisitStringType(_ *StringTypeContext) interface{}

func (*ASTVisitor) VisitTimeType

func (v *ASTVisitor) VisitTimeType(_ *TimeTypeContext) interface{}

func (*ASTVisitor) VisitTypeDef

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

func (*ASTVisitor) VisitUniqueTypeDef

func (v *ASTVisitor) VisitUniqueTypeDef(ctx *UniqueTypeDefContext) interface{}

func (*ASTVisitor) VisitView added in v0.18.0

func (v *ASTVisitor) VisitView(ctx *ViewContext) interface{}

func (*ASTVisitor) VisitViewAttribute added in v0.18.0

func (v *ASTVisitor) VisitViewAttribute(ctx *ViewAttributeContext) interface{}

func (*ASTVisitor) VisitViewTypeDef added in v0.18.0

func (v *ASTVisitor) VisitViewTypeDef(ctx *ViewTypeDefContext) interface{}

type AttributeContext

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

func NewAttributeContext

func NewAttributeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeContext

func NewEmptyAttributeContext

func NewEmptyAttributeContext() *AttributeContext

func (*AttributeContext) Accept

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

func (*AttributeContext) ComputedAttribute added in v0.19.3

func (s *AttributeContext) ComputedAttribute() IComputedAttributeContext

func (*AttributeContext) GetParser

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

func (*AttributeContext) GetRuleContext

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

func (*AttributeContext) Identifier

func (s *AttributeContext) Identifier() IIdentifierContext

func (*AttributeContext) IsAttributeContext

func (*AttributeContext) IsAttributeContext()

func (*AttributeContext) ToStringTree

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

func (*AttributeContext) TypeDef

func (s *AttributeContext) TypeDef() ITypeDefContext

func (*AttributeContext) UNIQUE

func (s *AttributeContext) UNIQUE() antlr.TerminalNode

func (*AttributeContext) UniqueTypeDef

func (s *AttributeContext) UniqueTypeDef() IUniqueTypeDefContext

type BaseStowageVisitor

type BaseStowageVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseStowageVisitor) VisitAttribute

func (v *BaseStowageVisitor) VisitAttribute(ctx *AttributeContext) interface{}

func (*BaseStowageVisitor) VisitBoolType

func (v *BaseStowageVisitor) VisitBoolType(ctx *BoolTypeContext) interface{}

func (*BaseStowageVisitor) VisitComputedAttribute added in v0.19.3

func (v *BaseStowageVisitor) VisitComputedAttribute(ctx *ComputedAttributeContext) interface{}

func (*BaseStowageVisitor) VisitEntity

func (v *BaseStowageVisitor) VisitEntity(ctx *EntityContext) interface{}

func (*BaseStowageVisitor) VisitEnum added in v0.27.0

func (v *BaseStowageVisitor) VisitEnum(ctx *EnumContext) interface{}

func (*BaseStowageVisitor) VisitEnumType

func (v *BaseStowageVisitor) VisitEnumType(ctx *EnumTypeContext) interface{}

func (*BaseStowageVisitor) VisitEnumValue

func (v *BaseStowageVisitor) VisitEnumValue(ctx *EnumValueContext) interface{}

func (*BaseStowageVisitor) VisitExpression added in v0.19.3

func (v *BaseStowageVisitor) VisitExpression(ctx *ExpressionContext) interface{}

func (*BaseStowageVisitor) VisitFloatType

func (v *BaseStowageVisitor) VisitFloatType(ctx *FloatTypeContext) interface{}

func (*BaseStowageVisitor) VisitIdentifier

func (v *BaseStowageVisitor) VisitIdentifier(ctx *IdentifierContext) interface{}

func (*BaseStowageVisitor) VisitIdentifiers

func (v *BaseStowageVisitor) VisitIdentifiers(ctx *IdentifiersContext) interface{}

func (*BaseStowageVisitor) VisitIntType

func (v *BaseStowageVisitor) VisitIntType(ctx *IntTypeContext) interface{}

func (*BaseStowageVisitor) VisitLiteral added in v0.19.3

func (v *BaseStowageVisitor) VisitLiteral(ctx *LiteralContext) interface{}

func (*BaseStowageVisitor) VisitPkg

func (v *BaseStowageVisitor) VisitPkg(ctx *PkgContext) interface{}

func (*BaseStowageVisitor) VisitQuery added in v0.26.0

func (v *BaseStowageVisitor) VisitQuery(ctx *QueryContext) interface{}

func (*BaseStowageVisitor) VisitReferenceType

func (v *BaseStowageVisitor) VisitReferenceType(ctx *ReferenceTypeContext) interface{}

func (*BaseStowageVisitor) VisitRoot

func (v *BaseStowageVisitor) VisitRoot(ctx *RootContext) interface{}

func (*BaseStowageVisitor) VisitSerialType

func (v *BaseStowageVisitor) VisitSerialType(ctx *SerialTypeContext) interface{}

func (*BaseStowageVisitor) VisitStringType

func (v *BaseStowageVisitor) VisitStringType(ctx *StringTypeContext) interface{}

func (*BaseStowageVisitor) VisitTimeType

func (v *BaseStowageVisitor) VisitTimeType(ctx *TimeTypeContext) interface{}

func (*BaseStowageVisitor) VisitTypeDef

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

func (*BaseStowageVisitor) VisitUniqueTypeDef

func (v *BaseStowageVisitor) VisitUniqueTypeDef(ctx *UniqueTypeDefContext) interface{}

func (*BaseStowageVisitor) VisitView added in v0.18.0

func (v *BaseStowageVisitor) VisitView(ctx *ViewContext) interface{}

func (*BaseStowageVisitor) VisitViewAttribute added in v0.18.0

func (v *BaseStowageVisitor) VisitViewAttribute(ctx *ViewAttributeContext) interface{}

func (*BaseStowageVisitor) VisitViewTypeDef added in v0.18.0

func (v *BaseStowageVisitor) VisitViewTypeDef(ctx *ViewTypeDefContext) interface{}

type BoolTypeContext

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

func NewBoolTypeContext

func NewBoolTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoolTypeContext

func NewEmptyBoolTypeContext

func NewEmptyBoolTypeContext() *BoolTypeContext

func (*BoolTypeContext) Accept

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

func (*BoolTypeContext) GetParser

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

func (*BoolTypeContext) GetRuleContext

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

func (*BoolTypeContext) IsBoolTypeContext

func (*BoolTypeContext) IsBoolTypeContext()

func (*BoolTypeContext) ToStringTree

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

type ComputedAttributeContext added in v0.19.3

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

func NewComputedAttributeContext added in v0.19.3

func NewComputedAttributeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComputedAttributeContext

func NewEmptyComputedAttributeContext added in v0.19.3

func NewEmptyComputedAttributeContext() *ComputedAttributeContext

func (*ComputedAttributeContext) Accept added in v0.19.3

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

func (*ComputedAttributeContext) COMPUTED added in v0.19.3

func (s *ComputedAttributeContext) COMPUTED() antlr.TerminalNode

func (*ComputedAttributeContext) Expression added in v0.19.3

func (*ComputedAttributeContext) GetParser added in v0.19.3

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

func (*ComputedAttributeContext) GetRuleContext added in v0.19.3

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

func (*ComputedAttributeContext) IsComputedAttributeContext added in v0.19.3

func (*ComputedAttributeContext) IsComputedAttributeContext()

func (*ComputedAttributeContext) ToStringTree added in v0.19.3

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

type EntityContext

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

func NewEmptyEntityContext

func NewEmptyEntityContext() *EntityContext

func NewEntityContext

func NewEntityContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EntityContext

func (*EntityContext) Accept

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

func (*EntityContext) AllAttribute

func (s *EntityContext) AllAttribute() []IAttributeContext

func (*EntityContext) AllCOMMENT

func (s *EntityContext) AllCOMMENT() []antlr.TerminalNode

func (*EntityContext) Attribute

func (s *EntityContext) Attribute(i int) IAttributeContext

func (*EntityContext) COMMENT

func (s *EntityContext) COMMENT(i int) antlr.TerminalNode

func (*EntityContext) GetParser

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

func (*EntityContext) GetRuleContext

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

func (*EntityContext) Identifier

func (s *EntityContext) Identifier() IIdentifierContext

func (*EntityContext) Identifiers

func (s *EntityContext) Identifiers() IIdentifiersContext

func (*EntityContext) IsEntityContext

func (*EntityContext) IsEntityContext()

func (*EntityContext) ToStringTree

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

type EnumContext added in v0.27.0

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

func NewEmptyEnumContext added in v0.27.0

func NewEmptyEnumContext() *EnumContext

func NewEnumContext added in v0.27.0

func NewEnumContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumContext

func (*EnumContext) Accept added in v0.27.0

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

func (*EnumContext) AllCOMMENT added in v0.27.0

func (s *EnumContext) AllCOMMENT() []antlr.TerminalNode

func (*EnumContext) AllEnumValue added in v0.27.0

func (s *EnumContext) AllEnumValue() []IEnumValueContext

func (*EnumContext) COMMENT added in v0.27.0

func (s *EnumContext) COMMENT(i int) antlr.TerminalNode

func (*EnumContext) EnumValue added in v0.27.0

func (s *EnumContext) EnumValue(i int) IEnumValueContext

func (*EnumContext) GetParser added in v0.27.0

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

func (*EnumContext) GetRuleContext added in v0.27.0

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

func (*EnumContext) Identifier added in v0.27.0

func (s *EnumContext) Identifier() IIdentifierContext

func (*EnumContext) IsEnumContext added in v0.27.0

func (*EnumContext) IsEnumContext()

func (*EnumContext) ToStringTree added in v0.27.0

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

type EnumTypeContext

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

func NewEmptyEnumTypeContext

func NewEmptyEnumTypeContext() *EnumTypeContext

func NewEnumTypeContext

func NewEnumTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumTypeContext

func (*EnumTypeContext) Accept

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

func (*EnumTypeContext) GetParser

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

func (*EnumTypeContext) GetRuleContext

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

func (*EnumTypeContext) Identifier added in v0.27.0

func (s *EnumTypeContext) Identifier() IIdentifierContext

func (*EnumTypeContext) IsEnumTypeContext

func (*EnumTypeContext) IsEnumTypeContext()

func (*EnumTypeContext) ToStringTree

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

type EnumValueContext

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

func NewEmptyEnumValueContext

func NewEmptyEnumValueContext() *EnumValueContext

func NewEnumValueContext

func NewEnumValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumValueContext

func (*EnumValueContext) Accept

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

func (*EnumValueContext) GetParser

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

func (*EnumValueContext) GetRuleContext

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

func (*EnumValueContext) Identifier

func (s *EnumValueContext) Identifier() IIdentifierContext

func (*EnumValueContext) IsEnumValueContext

func (*EnumValueContext) IsEnumValueContext()

func (*EnumValueContext) STRING

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

func (*EnumValueContext) ToStringTree

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

type ErrorListener

type ErrorListener struct {
	// contains filtered or unexported fields
}

func NewErrorListener

func NewErrorListener() *ErrorListener

func (*ErrorListener) Get

func (d *ErrorListener) Get() error

func (*ErrorListener) ReportAmbiguity

func (d *ErrorListener) ReportAmbiguity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, exact bool, ambigAlts *antlr.BitSet, configs *antlr.ATNConfigSet)

func (*ErrorListener) ReportAttemptingFullContext

func (d *ErrorListener) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, conflictingAlts *antlr.BitSet, configs *antlr.ATNConfigSet)

func (*ErrorListener) ReportContextSensitivity

func (d *ErrorListener) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, configs *antlr.ATNConfigSet)

func (*ErrorListener) SyntaxError

func (d *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)

type ExpressionContext added in v0.19.3

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

func NewEmptyExpressionContext added in v0.19.3

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext added in v0.19.3

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) ABS added in v0.26.6

func (s *ExpressionContext) ABS() antlr.TerminalNode

func (*ExpressionContext) Accept added in v0.19.3

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

func (*ExpressionContext) AllExpression added in v0.19.3

func (s *ExpressionContext) AllExpression() []IExpressionContext

func (*ExpressionContext) Expression added in v0.19.3

func (s *ExpressionContext) Expression(i int) IExpressionContext

func (*ExpressionContext) GetAbs added in v0.26.5

func (s *ExpressionContext) GetAbs() antlr.Token

func (*ExpressionContext) GetAddition added in v0.19.3

func (s *ExpressionContext) GetAddition() antlr.Token

func (*ExpressionContext) GetColumn added in v0.19.3

func (s *ExpressionContext) GetColumn() IIdentifierContext

func (*ExpressionContext) GetHash added in v0.26.5

func (s *ExpressionContext) GetHash() antlr.Token

func (*ExpressionContext) GetLower added in v0.26.5

func (s *ExpressionContext) GetLower() antlr.Token

func (*ExpressionContext) GetModulo added in v0.26.5

func (s *ExpressionContext) GetModulo() antlr.Token

func (*ExpressionContext) GetParser added in v0.19.3

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

func (*ExpressionContext) GetRuleContext added in v0.19.3

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

func (*ExpressionContext) GetUpper added in v0.26.5

func (s *ExpressionContext) GetUpper() antlr.Token

func (*ExpressionContext) HASH added in v0.26.6

func (s *ExpressionContext) HASH() antlr.TerminalNode

func (*ExpressionContext) Identifier added in v0.19.3

func (s *ExpressionContext) Identifier() IIdentifierContext

func (*ExpressionContext) IsExpressionContext added in v0.19.3

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) LOWER added in v0.26.6

func (s *ExpressionContext) LOWER() antlr.TerminalNode

func (*ExpressionContext) Literal added in v0.19.3

func (s *ExpressionContext) Literal() ILiteralContext

func (*ExpressionContext) SetAbs added in v0.26.5

func (s *ExpressionContext) SetAbs(v antlr.Token)

func (*ExpressionContext) SetAddition added in v0.19.3

func (s *ExpressionContext) SetAddition(v antlr.Token)

func (*ExpressionContext) SetColumn added in v0.19.3

func (s *ExpressionContext) SetColumn(v IIdentifierContext)

func (*ExpressionContext) SetHash added in v0.26.5

func (s *ExpressionContext) SetHash(v antlr.Token)

func (*ExpressionContext) SetLower added in v0.26.5

func (s *ExpressionContext) SetLower(v antlr.Token)

func (*ExpressionContext) SetModulo added in v0.26.5

func (s *ExpressionContext) SetModulo(v antlr.Token)

func (*ExpressionContext) SetUpper added in v0.26.5

func (s *ExpressionContext) SetUpper(v antlr.Token)

func (*ExpressionContext) ToStringTree added in v0.19.3

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

func (*ExpressionContext) UPPER added in v0.26.6

func (s *ExpressionContext) UPPER() antlr.TerminalNode

type FloatTypeContext

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

func NewEmptyFloatTypeContext

func NewEmptyFloatTypeContext() *FloatTypeContext

func NewFloatTypeContext

func NewFloatTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatTypeContext

func (*FloatTypeContext) Accept

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

func (*FloatTypeContext) GetParser

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

func (*FloatTypeContext) GetRuleContext

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

func (*FloatTypeContext) IsFloatTypeContext

func (*FloatTypeContext) IsFloatTypeContext()

func (*FloatTypeContext) ToStringTree

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

type IAttributeContext

type IAttributeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	UniqueTypeDef() IUniqueTypeDefContext
	TypeDef() ITypeDefContext
	ComputedAttribute() IComputedAttributeContext
	UNIQUE() antlr.TerminalNode

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

IAttributeContext is an interface to support dynamic dispatch.

type IBoolTypeContext

type IBoolTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsBoolTypeContext differentiates from other interfaces.
	IsBoolTypeContext()
}

IBoolTypeContext is an interface to support dynamic dispatch.

type IComputedAttributeContext added in v0.19.3

type IComputedAttributeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	COMPUTED() antlr.TerminalNode
	Expression() IExpressionContext

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

IComputedAttributeContext is an interface to support dynamic dispatch.

type IEntityContext

type IEntityContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	AllCOMMENT() []antlr.TerminalNode
	COMMENT(i int) antlr.TerminalNode
	Identifiers() IIdentifiersContext
	AllAttribute() []IAttributeContext
	Attribute(i int) IAttributeContext

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

IEntityContext is an interface to support dynamic dispatch.

type IEnumContext added in v0.27.0

type IEnumContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	AllEnumValue() []IEnumValueContext
	EnumValue(i int) IEnumValueContext
	AllCOMMENT() []antlr.TerminalNode
	COMMENT(i int) antlr.TerminalNode

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

IEnumContext is an interface to support dynamic dispatch.

type IEnumTypeContext

type IEnumTypeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext

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

IEnumTypeContext is an interface to support dynamic dispatch.

type IEnumValueContext

type IEnumValueContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	STRING() antlr.TerminalNode

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

IEnumValueContext is an interface to support dynamic dispatch.

type IExpressionContext added in v0.19.3

type IExpressionContext interface {
	antlr.ParserRuleContext

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

	// GetHash returns the hash token.
	GetHash() antlr.Token

	// GetAbs returns the abs token.
	GetAbs() antlr.Token

	// GetLower returns the lower token.
	GetLower() antlr.Token

	// GetUpper returns the upper token.
	GetUpper() antlr.Token

	// GetAddition returns the addition token.
	GetAddition() antlr.Token

	// GetModulo returns the modulo token.
	GetModulo() antlr.Token

	// SetHash sets the hash token.
	SetHash(antlr.Token)

	// SetAbs sets the abs token.
	SetAbs(antlr.Token)

	// SetLower sets the lower token.
	SetLower(antlr.Token)

	// SetUpper sets the upper token.
	SetUpper(antlr.Token)

	// SetAddition sets the addition token.
	SetAddition(antlr.Token)

	// SetModulo sets the modulo token.
	SetModulo(antlr.Token)

	// GetColumn returns the column rule contexts.
	GetColumn() IIdentifierContext

	// SetColumn sets the column rule contexts.
	SetColumn(IIdentifierContext)

	// Getter signatures
	Literal() ILiteralContext
	AllExpression() []IExpressionContext
	Expression(i int) IExpressionContext
	HASH() antlr.TerminalNode
	ABS() antlr.TerminalNode
	LOWER() antlr.TerminalNode
	UPPER() antlr.TerminalNode
	Identifier() IIdentifierContext

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

IExpressionContext is an interface to support dynamic dispatch.

type IFloatTypeContext

type IFloatTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsFloatTypeContext differentiates from other interfaces.
	IsFloatTypeContext()
}

IFloatTypeContext is an interface to support dynamic dispatch.

type IIdentifierContext

type IIdentifierContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IDENTIFIER() antlr.TerminalNode
	UNIQUE() antlr.TerminalNode
	HASH() antlr.TerminalNode
	ABS() antlr.TerminalNode
	LOWER() antlr.TerminalNode
	UPPER() antlr.TerminalNode
	COMPUTED() antlr.TerminalNode

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

IIdentifierContext is an interface to support dynamic dispatch.

type IIdentifiersContext

type IIdentifiersContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllIdentifier() []IIdentifierContext
	Identifier(i int) IIdentifierContext

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

IIdentifiersContext is an interface to support dynamic dispatch.

type IIntTypeContext

type IIntTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsIntTypeContext differentiates from other interfaces.
	IsIntTypeContext()
}

IIntTypeContext is an interface to support dynamic dispatch.

type ILiteralContext added in v0.19.3

type ILiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	STRING() antlr.TerminalNode
	INT() antlr.TerminalNode

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

ILiteralContext is an interface to support dynamic dispatch.

type IPkgContext

type IPkgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllIdentifier() []IIdentifierContext
	Identifier(i int) IIdentifierContext

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

IPkgContext is an interface to support dynamic dispatch.

type IQueryContext added in v0.26.0

type IQueryContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	AllCOMMENT() []antlr.TerminalNode
	COMMENT(i int) antlr.TerminalNode
	AllViewAttribute() []IViewAttributeContext
	ViewAttribute(i int) IViewAttributeContext

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

IQueryContext is an interface to support dynamic dispatch.

type IReferenceTypeContext

type IReferenceTypeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext

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

IReferenceTypeContext is an interface to support dynamic dispatch.

type IRootContext

type IRootContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EOF() antlr.TerminalNode
	AllEntity() []IEntityContext
	Entity(i int) IEntityContext
	AllView() []IViewContext
	View(i int) IViewContext
	AllQuery() []IQueryContext
	Query(i int) IQueryContext
	AllEnum() []IEnumContext
	Enum(i int) IEnumContext

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

IRootContext is an interface to support dynamic dispatch.

type ISerialTypeContext

type ISerialTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsSerialTypeContext differentiates from other interfaces.
	IsSerialTypeContext()
}

ISerialTypeContext is an interface to support dynamic dispatch.

type IStringTypeContext

type IStringTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsStringTypeContext differentiates from other interfaces.
	IsStringTypeContext()
}

IStringTypeContext is an interface to support dynamic dispatch.

type ITimeTypeContext

type ITimeTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsTimeTypeContext differentiates from other interfaces.
	IsTimeTypeContext()
}

ITimeTypeContext is an interface to support dynamic dispatch.

type ITypeDefContext

type ITypeDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SerialType() ISerialTypeContext
	BoolType() IBoolTypeContext
	EnumType() IEnumTypeContext
	ReferenceType() IReferenceTypeContext

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

ITypeDefContext is an interface to support dynamic dispatch.

type IUniqueTypeDefContext

type IUniqueTypeDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IntType() IIntTypeContext
	FloatType() IFloatTypeContext
	StringType() IStringTypeContext
	TimeType() ITimeTypeContext

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

IUniqueTypeDefContext is an interface to support dynamic dispatch.

type IViewAttributeContext added in v0.18.0

type IViewAttributeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	ViewTypeDef() IViewTypeDefContext

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

IViewAttributeContext is an interface to support dynamic dispatch.

type IViewContext added in v0.18.0

type IViewContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	AllCOMMENT() []antlr.TerminalNode
	COMMENT(i int) antlr.TerminalNode
	AllViewAttribute() []IViewAttributeContext
	ViewAttribute(i int) IViewAttributeContext

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

IViewContext is an interface to support dynamic dispatch.

type IViewTypeDefContext added in v0.18.0

type IViewTypeDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IntType() IIntTypeContext
	FloatType() IFloatTypeContext
	StringType() IStringTypeContext
	TimeType() ITimeTypeContext
	BoolType() IBoolTypeContext
	EnumType() IEnumTypeContext
	ReferenceType() IReferenceTypeContext

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

IViewTypeDefContext is an interface to support dynamic dispatch.

type IdentifierContext

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

func NewEmptyIdentifierContext

func NewEmptyIdentifierContext() *IdentifierContext

func NewIdentifierContext

func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext

func (*IdentifierContext) ABS added in v0.26.6

func (s *IdentifierContext) ABS() antlr.TerminalNode

func (*IdentifierContext) Accept

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

func (*IdentifierContext) COMPUTED added in v0.26.6

func (s *IdentifierContext) COMPUTED() antlr.TerminalNode

func (*IdentifierContext) GetParser

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

func (*IdentifierContext) GetRuleContext

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

func (*IdentifierContext) HASH added in v0.26.6

func (s *IdentifierContext) HASH() antlr.TerminalNode

func (*IdentifierContext) IDENTIFIER

func (s *IdentifierContext) IDENTIFIER() antlr.TerminalNode

func (*IdentifierContext) IsIdentifierContext

func (*IdentifierContext) IsIdentifierContext()

func (*IdentifierContext) LOWER added in v0.26.6

func (s *IdentifierContext) LOWER() antlr.TerminalNode

func (*IdentifierContext) ToStringTree

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

func (*IdentifierContext) UNIQUE

func (s *IdentifierContext) UNIQUE() antlr.TerminalNode

func (*IdentifierContext) UPPER added in v0.26.6

func (s *IdentifierContext) UPPER() antlr.TerminalNode

type IdentifiersContext

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

func NewEmptyIdentifiersContext

func NewEmptyIdentifiersContext() *IdentifiersContext

func NewIdentifiersContext

func NewIdentifiersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifiersContext

func (*IdentifiersContext) Accept

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

func (*IdentifiersContext) AllIdentifier

func (s *IdentifiersContext) AllIdentifier() []IIdentifierContext

func (*IdentifiersContext) GetParser

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

func (*IdentifiersContext) GetRuleContext

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

func (*IdentifiersContext) Identifier

func (s *IdentifiersContext) Identifier(i int) IIdentifierContext

func (*IdentifiersContext) IsIdentifiersContext

func (*IdentifiersContext) IsIdentifiersContext()

func (*IdentifiersContext) ToStringTree

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

type IntTypeContext

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

func NewEmptyIntTypeContext

func NewEmptyIntTypeContext() *IntTypeContext

func NewIntTypeContext

func NewIntTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntTypeContext

func (*IntTypeContext) Accept

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

func (*IntTypeContext) GetParser

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

func (*IntTypeContext) GetRuleContext

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

func (*IntTypeContext) IsIntTypeContext

func (*IntTypeContext) IsIntTypeContext()

func (*IntTypeContext) ToStringTree

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

type LiteralContext added in v0.19.3

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

func NewEmptyLiteralContext added in v0.19.3

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext added in v0.19.3

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

func (*LiteralContext) Accept added in v0.19.3

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

func (*LiteralContext) GetParser added in v0.19.3

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

func (*LiteralContext) GetRuleContext added in v0.19.3

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

func (*LiteralContext) INT added in v0.26.5

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

func (*LiteralContext) IsLiteralContext added in v0.19.3

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) STRING added in v0.19.3

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

func (*LiteralContext) ToStringTree added in v0.19.3

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

type PkgContext

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

func NewEmptyPkgContext

func NewEmptyPkgContext() *PkgContext

func NewPkgContext

func NewPkgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PkgContext

func (*PkgContext) Accept

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

func (*PkgContext) AllIdentifier

func (s *PkgContext) AllIdentifier() []IIdentifierContext

func (*PkgContext) GetParser

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

func (*PkgContext) GetRuleContext

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

func (*PkgContext) Identifier

func (s *PkgContext) Identifier(i int) IIdentifierContext

func (*PkgContext) IsPkgContext

func (*PkgContext) IsPkgContext()

func (*PkgContext) ToStringTree

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

type QueryContext added in v0.26.0

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

func NewEmptyQueryContext added in v0.26.0

func NewEmptyQueryContext() *QueryContext

func NewQueryContext added in v0.26.0

func NewQueryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QueryContext

func (*QueryContext) Accept added in v0.26.0

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

func (*QueryContext) AllCOMMENT added in v0.26.0

func (s *QueryContext) AllCOMMENT() []antlr.TerminalNode

func (*QueryContext) AllViewAttribute added in v0.26.0

func (s *QueryContext) AllViewAttribute() []IViewAttributeContext

func (*QueryContext) COMMENT added in v0.26.0

func (s *QueryContext) COMMENT(i int) antlr.TerminalNode

func (*QueryContext) GetParser added in v0.26.0

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

func (*QueryContext) GetRuleContext added in v0.26.0

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

func (*QueryContext) Identifier added in v0.26.0

func (s *QueryContext) Identifier() IIdentifierContext

func (*QueryContext) IsQueryContext added in v0.26.0

func (*QueryContext) IsQueryContext()

func (*QueryContext) ToStringTree added in v0.26.0

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

func (*QueryContext) ViewAttribute added in v0.26.0

func (s *QueryContext) ViewAttribute(i int) IViewAttributeContext

type ReferenceTypeContext

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

func NewEmptyReferenceTypeContext

func NewEmptyReferenceTypeContext() *ReferenceTypeContext

func NewReferenceTypeContext

func NewReferenceTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReferenceTypeContext

func (*ReferenceTypeContext) Accept

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

func (*ReferenceTypeContext) GetParser

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

func (*ReferenceTypeContext) GetRuleContext

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

func (*ReferenceTypeContext) Identifier

func (s *ReferenceTypeContext) Identifier() IIdentifierContext

func (*ReferenceTypeContext) IsReferenceTypeContext

func (*ReferenceTypeContext) IsReferenceTypeContext()

func (*ReferenceTypeContext) ToStringTree

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

type RootContext

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

func NewEmptyRootContext

func NewEmptyRootContext() *RootContext

func NewRootContext

func NewRootContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootContext

func (*RootContext) Accept

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

func (*RootContext) AllEntity

func (s *RootContext) AllEntity() []IEntityContext

func (*RootContext) AllEnum added in v0.27.0

func (s *RootContext) AllEnum() []IEnumContext

func (*RootContext) AllQuery added in v0.26.0

func (s *RootContext) AllQuery() []IQueryContext

func (*RootContext) AllView added in v0.18.0

func (s *RootContext) AllView() []IViewContext

func (*RootContext) EOF

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

func (*RootContext) Entity

func (s *RootContext) Entity(i int) IEntityContext

func (*RootContext) Enum added in v0.27.0

func (s *RootContext) Enum(i int) IEnumContext

func (*RootContext) GetParser

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

func (*RootContext) GetRuleContext

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

func (*RootContext) IsRootContext

func (*RootContext) IsRootContext()

func (*RootContext) Query added in v0.26.0

func (s *RootContext) Query(i int) IQueryContext

func (*RootContext) ToStringTree

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

func (*RootContext) View added in v0.18.0

func (s *RootContext) View(i int) IViewContext

type SerialTypeContext

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

func NewEmptySerialTypeContext

func NewEmptySerialTypeContext() *SerialTypeContext

func NewSerialTypeContext

func NewSerialTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SerialTypeContext

func (*SerialTypeContext) Accept

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

func (*SerialTypeContext) GetParser

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

func (*SerialTypeContext) GetRuleContext

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

func (*SerialTypeContext) IsSerialTypeContext

func (*SerialTypeContext) IsSerialTypeContext()

func (*SerialTypeContext) ToStringTree

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

type StowageLexer

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

func NewStowageLexer

func NewStowageLexer(input antlr.CharStream) *StowageLexer

NewStowageLexer produces a new lexer instance for the optional input antlr.CharStream.

type StowageParser

type StowageParser struct {
	*antlr.BaseParser
}

func NewStowageParser

func NewStowageParser(input antlr.TokenStream) *StowageParser

NewStowageParser produces a new parser instance for the optional input antlr.TokenStream.

func (*StowageParser) Attribute

func (p *StowageParser) Attribute() (localctx IAttributeContext)

func (*StowageParser) BoolType

func (p *StowageParser) BoolType() (localctx IBoolTypeContext)

func (*StowageParser) ComputedAttribute added in v0.19.3

func (p *StowageParser) ComputedAttribute() (localctx IComputedAttributeContext)

func (*StowageParser) Entity

func (p *StowageParser) Entity() (localctx IEntityContext)

func (*StowageParser) Enum added in v0.27.0

func (p *StowageParser) Enum() (localctx IEnumContext)

func (*StowageParser) EnumType

func (p *StowageParser) EnumType() (localctx IEnumTypeContext)

func (*StowageParser) EnumValue

func (p *StowageParser) EnumValue() (localctx IEnumValueContext)

func (*StowageParser) Expression added in v0.19.3

func (p *StowageParser) Expression() (localctx IExpressionContext)

func (*StowageParser) Expression_Sempred added in v0.19.3

func (p *StowageParser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*StowageParser) FloatType

func (p *StowageParser) FloatType() (localctx IFloatTypeContext)

func (*StowageParser) Identifier

func (p *StowageParser) Identifier() (localctx IIdentifierContext)

func (*StowageParser) Identifiers

func (p *StowageParser) Identifiers() (localctx IIdentifiersContext)

func (*StowageParser) IntType

func (p *StowageParser) IntType() (localctx IIntTypeContext)

func (*StowageParser) Literal added in v0.19.3

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

func (*StowageParser) Pkg

func (p *StowageParser) Pkg() (localctx IPkgContext)

func (*StowageParser) Query added in v0.26.0

func (p *StowageParser) Query() (localctx IQueryContext)

func (*StowageParser) ReferenceType

func (p *StowageParser) ReferenceType() (localctx IReferenceTypeContext)

func (*StowageParser) Root

func (p *StowageParser) Root() (localctx IRootContext)

func (*StowageParser) Sempred added in v0.19.3

func (p *StowageParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*StowageParser) SerialType

func (p *StowageParser) SerialType() (localctx ISerialTypeContext)

func (*StowageParser) StringType

func (p *StowageParser) StringType() (localctx IStringTypeContext)

func (*StowageParser) TimeType

func (p *StowageParser) TimeType() (localctx ITimeTypeContext)

func (*StowageParser) TypeDef

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

func (*StowageParser) UniqueTypeDef

func (p *StowageParser) UniqueTypeDef() (localctx IUniqueTypeDefContext)

func (*StowageParser) View added in v0.18.0

func (p *StowageParser) View() (localctx IViewContext)

func (*StowageParser) ViewAttribute added in v0.18.0

func (p *StowageParser) ViewAttribute() (localctx IViewAttributeContext)

func (*StowageParser) ViewTypeDef added in v0.18.0

func (p *StowageParser) ViewTypeDef() (localctx IViewTypeDefContext)

type StowageVisitor

type StowageVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by StowageParser#identifier.
	VisitIdentifier(ctx *IdentifierContext) interface{}

	// Visit a parse tree produced by StowageParser#identifiers.
	VisitIdentifiers(ctx *IdentifiersContext) interface{}

	// Visit a parse tree produced by StowageParser#pkg.
	VisitPkg(ctx *PkgContext) interface{}

	// Visit a parse tree produced by StowageParser#root.
	VisitRoot(ctx *RootContext) interface{}

	// Visit a parse tree produced by StowageParser#entity.
	VisitEntity(ctx *EntityContext) interface{}

	// Visit a parse tree produced by StowageParser#view.
	VisitView(ctx *ViewContext) interface{}

	// Visit a parse tree produced by StowageParser#query.
	VisitQuery(ctx *QueryContext) interface{}

	// Visit a parse tree produced by StowageParser#enum.
	VisitEnum(ctx *EnumContext) interface{}

	// Visit a parse tree produced by StowageParser#enumValue.
	VisitEnumValue(ctx *EnumValueContext) interface{}

	// Visit a parse tree produced by StowageParser#attribute.
	VisitAttribute(ctx *AttributeContext) interface{}

	// Visit a parse tree produced by StowageParser#viewAttribute.
	VisitViewAttribute(ctx *ViewAttributeContext) interface{}

	// Visit a parse tree produced by StowageParser#uniqueTypeDef.
	VisitUniqueTypeDef(ctx *UniqueTypeDefContext) interface{}

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

	// Visit a parse tree produced by StowageParser#viewTypeDef.
	VisitViewTypeDef(ctx *ViewTypeDefContext) interface{}

	// Visit a parse tree produced by StowageParser#computedAttribute.
	VisitComputedAttribute(ctx *ComputedAttributeContext) interface{}

	// Visit a parse tree produced by StowageParser#intType.
	VisitIntType(ctx *IntTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#serialType.
	VisitSerialType(ctx *SerialTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#floatType.
	VisitFloatType(ctx *FloatTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#stringType.
	VisitStringType(ctx *StringTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#boolType.
	VisitBoolType(ctx *BoolTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#enumType.
	VisitEnumType(ctx *EnumTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#timeType.
	VisitTimeType(ctx *TimeTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#referenceType.
	VisitReferenceType(ctx *ReferenceTypeContext) interface{}

	// Visit a parse tree produced by StowageParser#expression.
	VisitExpression(ctx *ExpressionContext) interface{}

	// Visit a parse tree produced by StowageParser#literal.
	VisitLiteral(ctx *LiteralContext) interface{}
}

A complete Visitor for a parse tree produced by StowageParser.

type StringTypeContext

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

func NewEmptyStringTypeContext

func NewEmptyStringTypeContext() *StringTypeContext

func NewStringTypeContext

func NewStringTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringTypeContext

func (*StringTypeContext) Accept

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

func (*StringTypeContext) GetParser

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

func (*StringTypeContext) GetRuleContext

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

func (*StringTypeContext) IsStringTypeContext

func (*StringTypeContext) IsStringTypeContext()

func (*StringTypeContext) ToStringTree

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

type TimeTypeContext

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

func NewEmptyTimeTypeContext

func NewEmptyTimeTypeContext() *TimeTypeContext

func NewTimeTypeContext

func NewTimeTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TimeTypeContext

func (*TimeTypeContext) Accept

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

func (*TimeTypeContext) GetParser

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

func (*TimeTypeContext) GetRuleContext

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

func (*TimeTypeContext) IsTimeTypeContext

func (*TimeTypeContext) IsTimeTypeContext()

func (*TimeTypeContext) ToStringTree

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

func (s *TypeDefContext) BoolType() IBoolTypeContext

func (*TypeDefContext) EnumType

func (s *TypeDefContext) EnumType() IEnumTypeContext

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) ReferenceType

func (s *TypeDefContext) ReferenceType() IReferenceTypeContext

func (*TypeDefContext) SerialType

func (s *TypeDefContext) SerialType() ISerialTypeContext

func (*TypeDefContext) ToStringTree

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

type UniqueTypeDefContext

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

func NewEmptyUniqueTypeDefContext

func NewEmptyUniqueTypeDefContext() *UniqueTypeDefContext

func NewUniqueTypeDefContext

func NewUniqueTypeDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UniqueTypeDefContext

func (*UniqueTypeDefContext) Accept

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

func (*UniqueTypeDefContext) FloatType

func (s *UniqueTypeDefContext) FloatType() IFloatTypeContext

func (*UniqueTypeDefContext) GetParser

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

func (*UniqueTypeDefContext) GetRuleContext

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

func (*UniqueTypeDefContext) IntType

func (*UniqueTypeDefContext) IsUniqueTypeDefContext

func (*UniqueTypeDefContext) IsUniqueTypeDefContext()

func (*UniqueTypeDefContext) StringType

func (s *UniqueTypeDefContext) StringType() IStringTypeContext

func (*UniqueTypeDefContext) TimeType

func (s *UniqueTypeDefContext) TimeType() ITimeTypeContext

func (*UniqueTypeDefContext) ToStringTree

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

type ViewAttributeContext added in v0.18.0

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

func NewEmptyViewAttributeContext added in v0.18.0

func NewEmptyViewAttributeContext() *ViewAttributeContext

func NewViewAttributeContext added in v0.18.0

func NewViewAttributeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ViewAttributeContext

func (*ViewAttributeContext) Accept added in v0.18.0

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

func (*ViewAttributeContext) GetParser added in v0.18.0

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

func (*ViewAttributeContext) GetRuleContext added in v0.18.0

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

func (*ViewAttributeContext) Identifier added in v0.18.0

func (s *ViewAttributeContext) Identifier() IIdentifierContext

func (*ViewAttributeContext) IsViewAttributeContext added in v0.18.0

func (*ViewAttributeContext) IsViewAttributeContext()

func (*ViewAttributeContext) ToStringTree added in v0.18.0

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

func (*ViewAttributeContext) ViewTypeDef added in v0.18.0

func (s *ViewAttributeContext) ViewTypeDef() IViewTypeDefContext

type ViewContext added in v0.18.0

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

func NewEmptyViewContext added in v0.18.0

func NewEmptyViewContext() *ViewContext

func NewViewContext added in v0.18.0

func NewViewContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ViewContext

func (*ViewContext) Accept added in v0.18.0

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

func (*ViewContext) AllCOMMENT added in v0.18.0

func (s *ViewContext) AllCOMMENT() []antlr.TerminalNode

func (*ViewContext) AllViewAttribute added in v0.18.0

func (s *ViewContext) AllViewAttribute() []IViewAttributeContext

func (*ViewContext) COMMENT added in v0.18.0

func (s *ViewContext) COMMENT(i int) antlr.TerminalNode

func (*ViewContext) GetParser added in v0.18.0

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

func (*ViewContext) GetRuleContext added in v0.18.0

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

func (*ViewContext) Identifier added in v0.18.0

func (s *ViewContext) Identifier() IIdentifierContext

func (*ViewContext) IsViewContext added in v0.18.0

func (*ViewContext) IsViewContext()

func (*ViewContext) ToStringTree added in v0.18.0

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

func (*ViewContext) ViewAttribute added in v0.18.0

func (s *ViewContext) ViewAttribute(i int) IViewAttributeContext

type ViewTypeDefContext added in v0.18.0

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

func NewEmptyViewTypeDefContext added in v0.18.0

func NewEmptyViewTypeDefContext() *ViewTypeDefContext

func NewViewTypeDefContext added in v0.18.0

func NewViewTypeDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ViewTypeDefContext

func (*ViewTypeDefContext) Accept added in v0.18.0

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

func (*ViewTypeDefContext) BoolType added in v0.18.0

func (s *ViewTypeDefContext) BoolType() IBoolTypeContext

func (*ViewTypeDefContext) EnumType added in v0.18.0

func (s *ViewTypeDefContext) EnumType() IEnumTypeContext

func (*ViewTypeDefContext) FloatType added in v0.18.0

func (s *ViewTypeDefContext) FloatType() IFloatTypeContext

func (*ViewTypeDefContext) GetParser added in v0.18.0

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

func (*ViewTypeDefContext) GetRuleContext added in v0.18.0

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

func (*ViewTypeDefContext) IntType added in v0.18.0

func (s *ViewTypeDefContext) IntType() IIntTypeContext

func (*ViewTypeDefContext) IsViewTypeDefContext added in v0.18.0

func (*ViewTypeDefContext) IsViewTypeDefContext()

func (*ViewTypeDefContext) ReferenceType added in v0.18.0

func (s *ViewTypeDefContext) ReferenceType() IReferenceTypeContext

func (*ViewTypeDefContext) StringType added in v0.18.0

func (s *ViewTypeDefContext) StringType() IStringTypeContext

func (*ViewTypeDefContext) TimeType added in v0.18.0

func (s *ViewTypeDefContext) TimeType() ITimeTypeContext

func (*ViewTypeDefContext) ToStringTree added in v0.18.0

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