grammar

package
v0.0.0-...-5b88717 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func FhirpathLexerInit

func FhirpathLexerInit()

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

func FhirpathParserInit

func FhirpathParserInit()

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

func InitEmptyDateTimePrecisionContext

func InitEmptyDateTimePrecisionContext(p *DateTimePrecisionContext)

func InitEmptyExpressionContext

func InitEmptyExpressionContext(p *ExpressionContext)

func InitEmptyExternalConstantContext

func InitEmptyExternalConstantContext(p *ExternalConstantContext)

func InitEmptyFunctionContext

func InitEmptyFunctionContext(p *FunctionContext)

func InitEmptyIdentifierContext

func InitEmptyIdentifierContext(p *IdentifierContext)

func InitEmptyInvocationContext

func InitEmptyInvocationContext(p *InvocationContext)

func InitEmptyLiteralContext

func InitEmptyLiteralContext(p *LiteralContext)

func InitEmptyParamListContext

func InitEmptyParamListContext(p *ParamListContext)

func InitEmptyPluralDateTimePrecisionContext

func InitEmptyPluralDateTimePrecisionContext(p *PluralDateTimePrecisionContext)

func InitEmptyProgContext

func InitEmptyProgContext(p *ProgContext)

func InitEmptyQualifiedIdentifierContext

func InitEmptyQualifiedIdentifierContext(p *QualifiedIdentifierContext)

func InitEmptyQuantityContext

func InitEmptyQuantityContext(p *QuantityContext)

func InitEmptyTermContext

func InitEmptyTermContext(p *TermContext)

func InitEmptyTypeSpecifierContext

func InitEmptyTypeSpecifierContext(p *TypeSpecifierContext)

func InitEmptyUnitContext

func InitEmptyUnitContext(p *UnitContext)

func NewfhirpathLexer

func NewfhirpathLexer(input antlr.CharStream) *fhirpathLexer

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

func NewfhirpathParser

func NewfhirpathParser(input antlr.TokenStream) *fhirpathParser

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

Types

type AdditiveExpressionContext

type AdditiveExpressionContext struct {
	ExpressionContext
}

func NewAdditiveExpressionContext

func NewAdditiveExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditiveExpressionContext

func (*AdditiveExpressionContext) Accept

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

func (*AdditiveExpressionContext) AllExpression

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

func (*AdditiveExpressionContext) Expression

func (*AdditiveExpressionContext) GetRuleContext

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

type AndExpressionContext

type AndExpressionContext struct {
	ExpressionContext
}

func NewAndExpressionContext

func NewAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AndExpressionContext

func (*AndExpressionContext) Accept

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

func (*AndExpressionContext) AllExpression

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

func (*AndExpressionContext) Expression

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

func (*AndExpressionContext) GetRuleContext

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

type BooleanLiteralContext

type BooleanLiteralContext struct {
	LiteralContext
}

func NewBooleanLiteralContext

func NewBooleanLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BooleanLiteralContext

func (*BooleanLiteralContext) Accept

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

func (*BooleanLiteralContext) GetRuleContext

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

type DateLiteralContext

type DateLiteralContext struct {
	LiteralContext
}

func NewDateLiteralContext

func NewDateLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DateLiteralContext

func (*DateLiteralContext) Accept

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

func (*DateLiteralContext) DATE

func (s *DateLiteralContext) DATE() antlr.TerminalNode

func (*DateLiteralContext) GetRuleContext

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

type DateTimeLiteralContext

type DateTimeLiteralContext struct {
	LiteralContext
}

func NewDateTimeLiteralContext

func NewDateTimeLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DateTimeLiteralContext

func (*DateTimeLiteralContext) Accept

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

func (*DateTimeLiteralContext) DATETIME

func (s *DateTimeLiteralContext) DATETIME() antlr.TerminalNode

func (*DateTimeLiteralContext) GetRuleContext

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

type DateTimePrecisionContext

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

func NewDateTimePrecisionContext

func NewDateTimePrecisionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DateTimePrecisionContext

func NewEmptyDateTimePrecisionContext

func NewEmptyDateTimePrecisionContext() *DateTimePrecisionContext

func (*DateTimePrecisionContext) Accept

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

func (*DateTimePrecisionContext) GetParser

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

func (*DateTimePrecisionContext) GetRuleContext

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

func (*DateTimePrecisionContext) IsDateTimePrecisionContext

func (*DateTimePrecisionContext) IsDateTimePrecisionContext()

func (*DateTimePrecisionContext) ToStringTree

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

type EqualityExpressionContext

type EqualityExpressionContext struct {
	ExpressionContext
}

func NewEqualityExpressionContext

func NewEqualityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualityExpressionContext

func (*EqualityExpressionContext) Accept

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

func (*EqualityExpressionContext) AllExpression

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

func (*EqualityExpressionContext) Expression

func (*EqualityExpressionContext) GetRuleContext

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

type ExpressionContext

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

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

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

func (*ExpressionContext) CopyAll

func (s *ExpressionContext) CopyAll(ctx *ExpressionContext)

func (*ExpressionContext) GetParser

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

func (*ExpressionContext) GetRuleContext

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

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) ToStringTree

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

type ExternalConstantContext

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

func NewEmptyExternalConstantContext

func NewEmptyExternalConstantContext() *ExternalConstantContext

func NewExternalConstantContext

func NewExternalConstantContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExternalConstantContext

func (*ExternalConstantContext) Accept

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

func (*ExternalConstantContext) GetParser

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

func (*ExternalConstantContext) GetRuleContext

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

func (*ExternalConstantContext) Identifier

func (*ExternalConstantContext) IsExternalConstantContext

func (*ExternalConstantContext) IsExternalConstantContext()

func (*ExternalConstantContext) STRING

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

func (*ExternalConstantContext) ToStringTree

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

type ExternalConstantTermContext

type ExternalConstantTermContext struct {
	TermContext
}

func NewExternalConstantTermContext

func NewExternalConstantTermContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExternalConstantTermContext

func (*ExternalConstantTermContext) Accept

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

func (*ExternalConstantTermContext) ExternalConstant

func (*ExternalConstantTermContext) GetRuleContext

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

type FunctionContext

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

func NewEmptyFunctionContext

func NewEmptyFunctionContext() *FunctionContext

func NewFunctionContext

func NewFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionContext

func (*FunctionContext) Accept

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

func (*FunctionContext) GetParser

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

func (*FunctionContext) GetRuleContext

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

func (*FunctionContext) Identifier

func (s *FunctionContext) Identifier() IIdentifierContext

func (*FunctionContext) IsFunctionContext

func (*FunctionContext) IsFunctionContext()

func (*FunctionContext) ParamList

func (s *FunctionContext) ParamList() IParamListContext

func (*FunctionContext) ToStringTree

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

type FunctionInvocationContext

type FunctionInvocationContext struct {
	InvocationContext
}

func NewFunctionInvocationContext

func NewFunctionInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionInvocationContext

func (*FunctionInvocationContext) Accept

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

func (*FunctionInvocationContext) Function

func (*FunctionInvocationContext) GetRuleContext

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

type IDateTimePrecisionContext

type IDateTimePrecisionContext interface {
	antlr.ParserRuleContext

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

IDateTimePrecisionContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

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

IExpressionContext is an interface to support dynamic dispatch.

type IExternalConstantContext

type IExternalConstantContext interface {
	antlr.ParserRuleContext

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

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

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

IExternalConstantContext is an interface to support dynamic dispatch.

type IFunctionContext

type IFunctionContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() IIdentifierContext
	ParamList() IParamListContext

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

IFunctionContext 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
	DELIMITEDIDENTIFIER() antlr.TerminalNode

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

IIdentifierContext is an interface to support dynamic dispatch.

type IInvocationContext

type IInvocationContext interface {
	antlr.ParserRuleContext

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

IInvocationContext 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 IParamListContext

type IParamListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExpression() []IExpressionContext
	Expression(i int) IExpressionContext

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

IParamListContext is an interface to support dynamic dispatch.

type IPluralDateTimePrecisionContext

type IPluralDateTimePrecisionContext interface {
	antlr.ParserRuleContext

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

IPluralDateTimePrecisionContext is an interface to support dynamic dispatch.

type IProgContext

type IProgContext interface {
	antlr.ParserRuleContext

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

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

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

IProgContext is an interface to support dynamic dispatch.

type IQualifiedIdentifierContext

type IQualifiedIdentifierContext interface {
	antlr.ParserRuleContext

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

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

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

IQualifiedIdentifierContext is an interface to support dynamic dispatch.

type IQuantityContext

type IQuantityContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NUMBER() antlr.TerminalNode
	Unit() IUnitContext

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

IQuantityContext is an interface to support dynamic dispatch.

type ITermContext

type ITermContext interface {
	antlr.ParserRuleContext

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

ITermContext is an interface to support dynamic dispatch.

type ITypeSpecifierContext

type ITypeSpecifierContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	QualifiedIdentifier() IQualifiedIdentifierContext

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

ITypeSpecifierContext is an interface to support dynamic dispatch.

type IUnitContext

type IUnitContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DateTimePrecision() IDateTimePrecisionContext
	PluralDateTimePrecision() IPluralDateTimePrecisionContext
	STRING() antlr.TerminalNode

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

IUnitContext 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) Accept

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

func (*IdentifierContext) DELIMITEDIDENTIFIER

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

func (*IdentifierContext) GetParser

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

func (*IdentifierContext) GetRuleContext

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

func (*IdentifierContext) IDENTIFIER

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

func (*IdentifierContext) IsIdentifierContext

func (*IdentifierContext) IsIdentifierContext()

func (*IdentifierContext) ToStringTree

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

type ImpliesExpressionContext

type ImpliesExpressionContext struct {
	ExpressionContext
}

func NewImpliesExpressionContext

func NewImpliesExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ImpliesExpressionContext

func (*ImpliesExpressionContext) Accept

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

func (*ImpliesExpressionContext) AllExpression

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

func (*ImpliesExpressionContext) Expression

func (*ImpliesExpressionContext) GetRuleContext

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

type IndexInvocationContext

type IndexInvocationContext struct {
	InvocationContext
}

func NewIndexInvocationContext

func NewIndexInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IndexInvocationContext

func (*IndexInvocationContext) Accept

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

func (*IndexInvocationContext) GetRuleContext

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

type IndexerExpressionContext

type IndexerExpressionContext struct {
	ExpressionContext
}

func NewIndexerExpressionContext

func NewIndexerExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IndexerExpressionContext

func (*IndexerExpressionContext) Accept

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

func (*IndexerExpressionContext) AllExpression

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

func (*IndexerExpressionContext) Expression

func (*IndexerExpressionContext) GetRuleContext

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

type InequalityExpressionContext

type InequalityExpressionContext struct {
	ExpressionContext
}

func NewInequalityExpressionContext

func NewInequalityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InequalityExpressionContext

func (*InequalityExpressionContext) Accept

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

func (*InequalityExpressionContext) AllExpression

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

func (*InequalityExpressionContext) Expression

func (*InequalityExpressionContext) GetRuleContext

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

type InvocationContext

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

func NewEmptyInvocationContext

func NewEmptyInvocationContext() *InvocationContext

func NewInvocationContext

func NewInvocationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InvocationContext

func (*InvocationContext) CopyAll

func (s *InvocationContext) CopyAll(ctx *InvocationContext)

func (*InvocationContext) GetParser

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

func (*InvocationContext) GetRuleContext

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

func (*InvocationContext) IsInvocationContext

func (*InvocationContext) IsInvocationContext()

func (*InvocationContext) ToStringTree

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

type InvocationExpressionContext

type InvocationExpressionContext struct {
	ExpressionContext
}

func NewInvocationExpressionContext

func NewInvocationExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InvocationExpressionContext

func (*InvocationExpressionContext) Accept

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

func (*InvocationExpressionContext) Expression

func (*InvocationExpressionContext) GetRuleContext

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

func (*InvocationExpressionContext) Invocation

type InvocationTermContext

type InvocationTermContext struct {
	TermContext
}

func NewInvocationTermContext

func NewInvocationTermContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InvocationTermContext

func (*InvocationTermContext) Accept

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

func (*InvocationTermContext) GetRuleContext

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

func (*InvocationTermContext) Invocation

func (s *InvocationTermContext) Invocation() IInvocationContext

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

func (s *LiteralContext) CopyAll(ctx *LiteralContext)

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) ToStringTree

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

type LiteralTermContext

type LiteralTermContext struct {
	TermContext
}

func NewLiteralTermContext

func NewLiteralTermContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralTermContext

func (*LiteralTermContext) Accept

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

func (*LiteralTermContext) GetRuleContext

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

func (*LiteralTermContext) Literal

func (s *LiteralTermContext) Literal() ILiteralContext

type MemberInvocationContext

type MemberInvocationContext struct {
	InvocationContext
}

func NewMemberInvocationContext

func NewMemberInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberInvocationContext

func (*MemberInvocationContext) Accept

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

func (*MemberInvocationContext) GetRuleContext

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

func (*MemberInvocationContext) Identifier

type MembershipExpressionContext

type MembershipExpressionContext struct {
	ExpressionContext
}

func NewMembershipExpressionContext

func NewMembershipExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MembershipExpressionContext

func (*MembershipExpressionContext) Accept

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

func (*MembershipExpressionContext) AllExpression

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

func (*MembershipExpressionContext) Expression

func (*MembershipExpressionContext) GetRuleContext

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

type MultiplicativeExpressionContext

type MultiplicativeExpressionContext struct {
	ExpressionContext
}

func NewMultiplicativeExpressionContext

func NewMultiplicativeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicativeExpressionContext

func (*MultiplicativeExpressionContext) Accept

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

func (*MultiplicativeExpressionContext) AllExpression

func (*MultiplicativeExpressionContext) Expression

func (*MultiplicativeExpressionContext) GetRuleContext

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

type NullLiteralContext

type NullLiteralContext struct {
	LiteralContext
}

func NewNullLiteralContext

func NewNullLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullLiteralContext

func (*NullLiteralContext) Accept

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

func (*NullLiteralContext) GetRuleContext

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

type NumberLiteralContext

type NumberLiteralContext struct {
	LiteralContext
}

func NewNumberLiteralContext

func NewNumberLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberLiteralContext

func (*NumberLiteralContext) Accept

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

func (*NumberLiteralContext) GetRuleContext

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

func (*NumberLiteralContext) NUMBER

func (s *NumberLiteralContext) NUMBER() antlr.TerminalNode

type OrExpressionContext

type OrExpressionContext struct {
	ExpressionContext
}

func NewOrExpressionContext

func NewOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OrExpressionContext

func (*OrExpressionContext) Accept

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

func (*OrExpressionContext) AllExpression

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

func (*OrExpressionContext) Expression

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

func (*OrExpressionContext) GetRuleContext

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

type ParamListContext

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

func NewEmptyParamListContext

func NewEmptyParamListContext() *ParamListContext

func NewParamListContext

func NewParamListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamListContext

func (*ParamListContext) Accept

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

func (*ParamListContext) AllExpression

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

func (*ParamListContext) Expression

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

func (*ParamListContext) GetParser

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

func (*ParamListContext) GetRuleContext

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

func (*ParamListContext) IsParamListContext

func (*ParamListContext) IsParamListContext()

func (*ParamListContext) ToStringTree

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

type ParenthesizedTermContext

type ParenthesizedTermContext struct {
	TermContext
}

func NewParenthesizedTermContext

func NewParenthesizedTermContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesizedTermContext

func (*ParenthesizedTermContext) Accept

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

func (*ParenthesizedTermContext) Expression

func (*ParenthesizedTermContext) GetRuleContext

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

type PluralDateTimePrecisionContext

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

func NewEmptyPluralDateTimePrecisionContext

func NewEmptyPluralDateTimePrecisionContext() *PluralDateTimePrecisionContext

func NewPluralDateTimePrecisionContext

func NewPluralDateTimePrecisionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PluralDateTimePrecisionContext

func (*PluralDateTimePrecisionContext) Accept

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

func (*PluralDateTimePrecisionContext) GetParser

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

func (*PluralDateTimePrecisionContext) GetRuleContext

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

func (*PluralDateTimePrecisionContext) IsPluralDateTimePrecisionContext

func (*PluralDateTimePrecisionContext) IsPluralDateTimePrecisionContext()

func (*PluralDateTimePrecisionContext) ToStringTree

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

type PolarityExpressionContext

type PolarityExpressionContext struct {
	ExpressionContext
}

func NewPolarityExpressionContext

func NewPolarityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PolarityExpressionContext

func (*PolarityExpressionContext) Accept

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

func (*PolarityExpressionContext) Expression

func (*PolarityExpressionContext) GetRuleContext

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

type ProgContext

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

func NewEmptyProgContext

func NewEmptyProgContext() *ProgContext

func NewProgContext

func NewProgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgContext

func (*ProgContext) Accept

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

func (*ProgContext) EOF

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

func (*ProgContext) Expression

func (s *ProgContext) Expression() IExpressionContext

func (*ProgContext) GetParser

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

func (*ProgContext) GetRuleContext

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

func (*ProgContext) IsProgContext

func (*ProgContext) IsProgContext()

func (*ProgContext) ToStringTree

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

type QualifiedIdentifierContext

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

func NewEmptyQualifiedIdentifierContext

func NewEmptyQualifiedIdentifierContext() *QualifiedIdentifierContext

func NewQualifiedIdentifierContext

func NewQualifiedIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QualifiedIdentifierContext

func (*QualifiedIdentifierContext) Accept

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

func (*QualifiedIdentifierContext) AllIdentifier

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

func (*QualifiedIdentifierContext) GetParser

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

func (*QualifiedIdentifierContext) GetRuleContext

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

func (*QualifiedIdentifierContext) Identifier

func (*QualifiedIdentifierContext) IsQualifiedIdentifierContext

func (*QualifiedIdentifierContext) IsQualifiedIdentifierContext()

func (*QualifiedIdentifierContext) ToStringTree

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

type QuantityContext

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

func NewEmptyQuantityContext

func NewEmptyQuantityContext() *QuantityContext

func NewQuantityContext

func NewQuantityContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuantityContext

func (*QuantityContext) Accept

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

func (*QuantityContext) GetParser

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

func (*QuantityContext) GetRuleContext

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

func (*QuantityContext) IsQuantityContext

func (*QuantityContext) IsQuantityContext()

func (*QuantityContext) NUMBER

func (s *QuantityContext) NUMBER() antlr.TerminalNode

func (*QuantityContext) ToStringTree

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

func (*QuantityContext) Unit

func (s *QuantityContext) Unit() IUnitContext

type QuantityLiteralContext

type QuantityLiteralContext struct {
	LiteralContext
}

func NewQuantityLiteralContext

func NewQuantityLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *QuantityLiteralContext

func (*QuantityLiteralContext) Accept

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

func (*QuantityLiteralContext) GetRuleContext

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

func (*QuantityLiteralContext) Quantity

type StringLiteralContext

type StringLiteralContext struct {
	LiteralContext
}

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringLiteralContext

func (*StringLiteralContext) Accept

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

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) STRING

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

type TermContext

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

func NewEmptyTermContext

func NewEmptyTermContext() *TermContext

func NewTermContext

func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext

func (*TermContext) CopyAll

func (s *TermContext) CopyAll(ctx *TermContext)

func (*TermContext) GetParser

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

func (*TermContext) GetRuleContext

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

func (*TermContext) IsTermContext

func (*TermContext) IsTermContext()

func (*TermContext) ToStringTree

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

type TermExpressionContext

type TermExpressionContext struct {
	ExpressionContext
}

func NewTermExpressionContext

func NewTermExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TermExpressionContext

func (*TermExpressionContext) Accept

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

func (*TermExpressionContext) GetRuleContext

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

func (*TermExpressionContext) Term

type ThisInvocationContext

type ThisInvocationContext struct {
	InvocationContext
}

func NewThisInvocationContext

func NewThisInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ThisInvocationContext

func (*ThisInvocationContext) Accept

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

func (*ThisInvocationContext) GetRuleContext

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

type TimeLiteralContext

type TimeLiteralContext struct {
	LiteralContext
}

func NewTimeLiteralContext

func NewTimeLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TimeLiteralContext

func (*TimeLiteralContext) Accept

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

func (*TimeLiteralContext) GetRuleContext

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

func (*TimeLiteralContext) TIME

func (s *TimeLiteralContext) TIME() antlr.TerminalNode

type TotalInvocationContext

type TotalInvocationContext struct {
	InvocationContext
}

func NewTotalInvocationContext

func NewTotalInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TotalInvocationContext

func (*TotalInvocationContext) Accept

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

func (*TotalInvocationContext) GetRuleContext

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

type TypeExpressionContext

type TypeExpressionContext struct {
	ExpressionContext
}

func NewTypeExpressionContext

func NewTypeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeExpressionContext

func (*TypeExpressionContext) Accept

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

func (*TypeExpressionContext) Expression

func (s *TypeExpressionContext) Expression() IExpressionContext

func (*TypeExpressionContext) GetRuleContext

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

func (*TypeExpressionContext) TypeSpecifier

func (s *TypeExpressionContext) TypeSpecifier() ITypeSpecifierContext

type TypeSpecifierContext

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

func NewEmptyTypeSpecifierContext

func NewEmptyTypeSpecifierContext() *TypeSpecifierContext

func NewTypeSpecifierContext

func NewTypeSpecifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSpecifierContext

func (*TypeSpecifierContext) Accept

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

func (*TypeSpecifierContext) GetParser

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

func (*TypeSpecifierContext) GetRuleContext

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

func (*TypeSpecifierContext) IsTypeSpecifierContext

func (*TypeSpecifierContext) IsTypeSpecifierContext()

func (*TypeSpecifierContext) QualifiedIdentifier

func (s *TypeSpecifierContext) QualifiedIdentifier() IQualifiedIdentifierContext

func (*TypeSpecifierContext) ToStringTree

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

type UnionExpressionContext

type UnionExpressionContext struct {
	ExpressionContext
}

func NewUnionExpressionContext

func NewUnionExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnionExpressionContext

func (*UnionExpressionContext) Accept

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

func (*UnionExpressionContext) AllExpression

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

func (*UnionExpressionContext) Expression

func (*UnionExpressionContext) GetRuleContext

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

type UnitContext

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

func NewEmptyUnitContext

func NewEmptyUnitContext() *UnitContext

func NewUnitContext

func NewUnitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnitContext

func (*UnitContext) Accept

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

func (*UnitContext) DateTimePrecision

func (s *UnitContext) DateTimePrecision() IDateTimePrecisionContext

func (*UnitContext) GetParser

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

func (*UnitContext) GetRuleContext

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

func (*UnitContext) IsUnitContext

func (*UnitContext) IsUnitContext()

func (*UnitContext) PluralDateTimePrecision

func (s *UnitContext) PluralDateTimePrecision() IPluralDateTimePrecisionContext

func (*UnitContext) STRING

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

func (*UnitContext) ToStringTree

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