gen

package
v2.0.0-...-3a13bc0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CESQLParserLexerSPACE                               = 1
	CESQLParserLexerLR_BRACKET                          = 2
	CESQLParserLexerRR_BRACKET                          = 3
	CESQLParserLexerCOMMA                               = 4
	CESQLParserLexerSINGLE_QUOTE_SYMB                   = 5
	CESQLParserLexerDOUBLE_QUOTE_SYMB                   = 6
	CESQLParserLexerAND                                 = 7
	CESQLParserLexerOR                                  = 8
	CESQLParserLexerXOR                                 = 9
	CESQLParserLexerNOT                                 = 10
	CESQLParserLexerSTAR                                = 11
	CESQLParserLexerDIVIDE                              = 12
	CESQLParserLexerMODULE                              = 13
	CESQLParserLexerPLUS                                = 14
	CESQLParserLexerMINUS                               = 15
	CESQLParserLexerEQUAL                               = 16
	CESQLParserLexerNOT_EQUAL                           = 17
	CESQLParserLexerGREATER                             = 18
	CESQLParserLexerGREATER_OR_EQUAL                    = 19
	CESQLParserLexerLESS                                = 20
	CESQLParserLexerLESS_GREATER                        = 21
	CESQLParserLexerLESS_OR_EQUAL                       = 22
	CESQLParserLexerLIKE                                = 23
	CESQLParserLexerEXISTS                              = 24
	CESQLParserLexerIN                                  = 25
	CESQLParserLexerTRUE                                = 26
	CESQLParserLexerFALSE                               = 27
	CESQLParserLexerDQUOTED_STRING_LITERAL              = 28
	CESQLParserLexerSQUOTED_STRING_LITERAL              = 29
	CESQLParserLexerINTEGER_LITERAL                     = 30
	CESQLParserLexerIDENTIFIER                          = 31
	CESQLParserLexerIDENTIFIER_WITH_NUMBER              = 32
	CESQLParserLexerFUNCTION_IDENTIFIER_WITH_UNDERSCORE = 33
)

CESQLParserLexer tokens.

View Source
const (
	CESQLParserParserEOF                                 = antlr.TokenEOF
	CESQLParserParserSPACE                               = 1
	CESQLParserParserLR_BRACKET                          = 2
	CESQLParserParserRR_BRACKET                          = 3
	CESQLParserParserCOMMA                               = 4
	CESQLParserParserSINGLE_QUOTE_SYMB                   = 5
	CESQLParserParserDOUBLE_QUOTE_SYMB                   = 6
	CESQLParserParserAND                                 = 7
	CESQLParserParserOR                                  = 8
	CESQLParserParserXOR                                 = 9
	CESQLParserParserNOT                                 = 10
	CESQLParserParserSTAR                                = 11
	CESQLParserParserDIVIDE                              = 12
	CESQLParserParserMODULE                              = 13
	CESQLParserParserPLUS                                = 14
	CESQLParserParserMINUS                               = 15
	CESQLParserParserEQUAL                               = 16
	CESQLParserParserNOT_EQUAL                           = 17
	CESQLParserParserGREATER                             = 18
	CESQLParserParserGREATER_OR_EQUAL                    = 19
	CESQLParserParserLESS                                = 20
	CESQLParserParserLESS_GREATER                        = 21
	CESQLParserParserLESS_OR_EQUAL                       = 22
	CESQLParserParserLIKE                                = 23
	CESQLParserParserEXISTS                              = 24
	CESQLParserParserIN                                  = 25
	CESQLParserParserTRUE                                = 26
	CESQLParserParserFALSE                               = 27
	CESQLParserParserDQUOTED_STRING_LITERAL              = 28
	CESQLParserParserSQUOTED_STRING_LITERAL              = 29
	CESQLParserParserINTEGER_LITERAL                     = 30
	CESQLParserParserIDENTIFIER                          = 31
	CESQLParserParserIDENTIFIER_WITH_NUMBER              = 32
	CESQLParserParserFUNCTION_IDENTIFIER_WITH_UNDERSCORE = 33
)

CESQLParserParser tokens.

View Source
const (
	CESQLParserParserRULE_cesql                 = 0
	CESQLParserParserRULE_expression            = 1
	CESQLParserParserRULE_atom                  = 2
	CESQLParserParserRULE_identifier            = 3
	CESQLParserParserRULE_functionIdentifier    = 4
	CESQLParserParserRULE_booleanLiteral        = 5
	CESQLParserParserRULE_stringLiteral         = 6
	CESQLParserParserRULE_integerLiteral        = 7
	CESQLParserParserRULE_functionParameterList = 8
	CESQLParserParserRULE_setExpression         = 9
)

CESQLParserParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomContext

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

func NewAtomContext

func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext

func NewEmptyAtomContext

func NewEmptyAtomContext() *AtomContext

func (*AtomContext) CopyFrom

func (s *AtomContext) CopyFrom(ctx *AtomContext)

func (*AtomContext) GetParser

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

func (*AtomContext) GetRuleContext

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

func (*AtomContext) IsAtomContext

func (*AtomContext) IsAtomContext()

func (*AtomContext) ToStringTree

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

type AtomExpressionContext

type AtomExpressionContext struct {
	*ExpressionContext
}

func NewAtomExpressionContext

func NewAtomExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AtomExpressionContext

func (*AtomExpressionContext) Accept

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

func (*AtomExpressionContext) Atom

func (*AtomExpressionContext) GetRuleContext

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

type BaseCESQLParserVisitor

type BaseCESQLParserVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseCESQLParserVisitor) VisitAtomExpression

func (v *BaseCESQLParserVisitor) VisitAtomExpression(ctx *AtomExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitBinaryAdditiveExpression

func (v *BaseCESQLParserVisitor) VisitBinaryAdditiveExpression(ctx *BinaryAdditiveExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitBinaryComparisonExpression

func (v *BaseCESQLParserVisitor) VisitBinaryComparisonExpression(ctx *BinaryComparisonExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitBinaryLogicExpression

func (v *BaseCESQLParserVisitor) VisitBinaryLogicExpression(ctx *BinaryLogicExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitBinaryMultiplicativeExpression

func (v *BaseCESQLParserVisitor) VisitBinaryMultiplicativeExpression(ctx *BinaryMultiplicativeExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitBooleanAtom

func (v *BaseCESQLParserVisitor) VisitBooleanAtom(ctx *BooleanAtomContext) interface{}

func (*BaseCESQLParserVisitor) VisitBooleanLiteral

func (v *BaseCESQLParserVisitor) VisitBooleanLiteral(ctx *BooleanLiteralContext) interface{}

func (*BaseCESQLParserVisitor) VisitCesql

func (v *BaseCESQLParserVisitor) VisitCesql(ctx *CesqlContext) interface{}

func (*BaseCESQLParserVisitor) VisitExistsExpression

func (v *BaseCESQLParserVisitor) VisitExistsExpression(ctx *ExistsExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitFunctionIdentifier

func (v *BaseCESQLParserVisitor) VisitFunctionIdentifier(ctx *FunctionIdentifierContext) interface{}

func (*BaseCESQLParserVisitor) VisitFunctionInvocationExpression

func (v *BaseCESQLParserVisitor) VisitFunctionInvocationExpression(ctx *FunctionInvocationExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitFunctionParameterList

func (v *BaseCESQLParserVisitor) VisitFunctionParameterList(ctx *FunctionParameterListContext) interface{}

func (*BaseCESQLParserVisitor) VisitIdentifier

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

func (*BaseCESQLParserVisitor) VisitIdentifierAtom

func (v *BaseCESQLParserVisitor) VisitIdentifierAtom(ctx *IdentifierAtomContext) interface{}

func (*BaseCESQLParserVisitor) VisitInExpression

func (v *BaseCESQLParserVisitor) VisitInExpression(ctx *InExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitIntegerAtom

func (v *BaseCESQLParserVisitor) VisitIntegerAtom(ctx *IntegerAtomContext) interface{}

func (*BaseCESQLParserVisitor) VisitIntegerLiteral

func (v *BaseCESQLParserVisitor) VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{}

func (*BaseCESQLParserVisitor) VisitLikeExpression

func (v *BaseCESQLParserVisitor) VisitLikeExpression(ctx *LikeExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitSetExpression

func (v *BaseCESQLParserVisitor) VisitSetExpression(ctx *SetExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitStringAtom

func (v *BaseCESQLParserVisitor) VisitStringAtom(ctx *StringAtomContext) interface{}

func (*BaseCESQLParserVisitor) VisitStringLiteral

func (v *BaseCESQLParserVisitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}

func (*BaseCESQLParserVisitor) VisitSubExpression

func (v *BaseCESQLParserVisitor) VisitSubExpression(ctx *SubExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitUnaryLogicExpression

func (v *BaseCESQLParserVisitor) VisitUnaryLogicExpression(ctx *UnaryLogicExpressionContext) interface{}

func (*BaseCESQLParserVisitor) VisitUnaryNumericExpression

func (v *BaseCESQLParserVisitor) VisitUnaryNumericExpression(ctx *UnaryNumericExpressionContext) interface{}

type BinaryAdditiveExpressionContext

type BinaryAdditiveExpressionContext struct {
	*ExpressionContext
}

func NewBinaryAdditiveExpressionContext

func NewBinaryAdditiveExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryAdditiveExpressionContext

func (*BinaryAdditiveExpressionContext) Accept

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

func (*BinaryAdditiveExpressionContext) AllExpression

func (*BinaryAdditiveExpressionContext) Expression

func (*BinaryAdditiveExpressionContext) GetRuleContext

func (*BinaryAdditiveExpressionContext) MINUS

func (*BinaryAdditiveExpressionContext) PLUS

type BinaryComparisonExpressionContext

type BinaryComparisonExpressionContext struct {
	*ExpressionContext
}

func (*BinaryComparisonExpressionContext) Accept

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

func (*BinaryComparisonExpressionContext) AllExpression

func (*BinaryComparisonExpressionContext) EQUAL

func (*BinaryComparisonExpressionContext) Expression

func (*BinaryComparisonExpressionContext) GREATER

func (*BinaryComparisonExpressionContext) GREATER_OR_EQUAL

func (*BinaryComparisonExpressionContext) GetRuleContext

func (*BinaryComparisonExpressionContext) LESS

func (*BinaryComparisonExpressionContext) LESS_GREATER

func (*BinaryComparisonExpressionContext) LESS_OR_EQUAL

func (*BinaryComparisonExpressionContext) NOT_EQUAL

type BinaryLogicExpressionContext

type BinaryLogicExpressionContext struct {
	*ExpressionContext
}

func NewBinaryLogicExpressionContext

func NewBinaryLogicExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryLogicExpressionContext

func (*BinaryLogicExpressionContext) AND

func (*BinaryLogicExpressionContext) Accept

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

func (*BinaryLogicExpressionContext) AllExpression

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

func (*BinaryLogicExpressionContext) Expression

func (*BinaryLogicExpressionContext) GetRuleContext

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

func (*BinaryLogicExpressionContext) OR

func (*BinaryLogicExpressionContext) XOR

type BinaryMultiplicativeExpressionContext

type BinaryMultiplicativeExpressionContext struct {
	*ExpressionContext
}

func (*BinaryMultiplicativeExpressionContext) Accept

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

func (*BinaryMultiplicativeExpressionContext) AllExpression

func (*BinaryMultiplicativeExpressionContext) DIVIDE

func (*BinaryMultiplicativeExpressionContext) Expression

func (*BinaryMultiplicativeExpressionContext) GetRuleContext

func (*BinaryMultiplicativeExpressionContext) MODULE

func (*BinaryMultiplicativeExpressionContext) STAR

type BooleanAtomContext

type BooleanAtomContext struct {
	*AtomContext
}

func NewBooleanAtomContext

func NewBooleanAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BooleanAtomContext

func (*BooleanAtomContext) Accept

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

func (*BooleanAtomContext) BooleanLiteral

func (s *BooleanAtomContext) BooleanLiteral() IBooleanLiteralContext

func (*BooleanAtomContext) GetRuleContext

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

type BooleanLiteralContext

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

func NewBooleanLiteralContext

func NewBooleanLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanLiteralContext

func NewEmptyBooleanLiteralContext

func NewEmptyBooleanLiteralContext() *BooleanLiteralContext

func (*BooleanLiteralContext) Accept

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

func (*BooleanLiteralContext) FALSE

func (*BooleanLiteralContext) GetParser

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

func (*BooleanLiteralContext) GetRuleContext

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

func (*BooleanLiteralContext) IsBooleanLiteralContext

func (*BooleanLiteralContext) IsBooleanLiteralContext()

func (*BooleanLiteralContext) TRUE

func (*BooleanLiteralContext) ToStringTree

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

type CESQLParserLexer

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

func NewCESQLParserLexer

func NewCESQLParserLexer(input antlr.CharStream) *CESQLParserLexer

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

The *CESQLParserLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

type CESQLParserParser

type CESQLParserParser struct {
	*antlr.BaseParser
}

func NewCESQLParserParser

func NewCESQLParserParser(input antlr.TokenStream) *CESQLParserParser

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

The *CESQLParserParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

func (*CESQLParserParser) Atom

func (p *CESQLParserParser) Atom() (localctx IAtomContext)

func (*CESQLParserParser) BooleanLiteral

func (p *CESQLParserParser) BooleanLiteral() (localctx IBooleanLiteralContext)

func (*CESQLParserParser) Cesql

func (p *CESQLParserParser) Cesql() (localctx ICesqlContext)

func (*CESQLParserParser) Expression

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

func (*CESQLParserParser) Expression_Sempred

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

func (*CESQLParserParser) FunctionIdentifier

func (p *CESQLParserParser) FunctionIdentifier() (localctx IFunctionIdentifierContext)

func (*CESQLParserParser) FunctionParameterList

func (p *CESQLParserParser) FunctionParameterList() (localctx IFunctionParameterListContext)

func (*CESQLParserParser) Identifier

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

func (*CESQLParserParser) IntegerLiteral

func (p *CESQLParserParser) IntegerLiteral() (localctx IIntegerLiteralContext)

func (*CESQLParserParser) Sempred

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

func (*CESQLParserParser) SetExpression

func (p *CESQLParserParser) SetExpression() (localctx ISetExpressionContext)

func (*CESQLParserParser) StringLiteral

func (p *CESQLParserParser) StringLiteral() (localctx IStringLiteralContext)

type CESQLParserVisitor

type CESQLParserVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by CESQLParserParser#cesql.
	VisitCesql(ctx *CesqlContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#inExpression.
	VisitInExpression(ctx *InExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#binaryComparisonExpression.
	VisitBinaryComparisonExpression(ctx *BinaryComparisonExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#atomExpression.
	VisitAtomExpression(ctx *AtomExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#existsExpression.
	VisitExistsExpression(ctx *ExistsExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#binaryLogicExpression.
	VisitBinaryLogicExpression(ctx *BinaryLogicExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#likeExpression.
	VisitLikeExpression(ctx *LikeExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#functionInvocationExpression.
	VisitFunctionInvocationExpression(ctx *FunctionInvocationExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#binaryMultiplicativeExpression.
	VisitBinaryMultiplicativeExpression(ctx *BinaryMultiplicativeExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#unaryLogicExpression.
	VisitUnaryLogicExpression(ctx *UnaryLogicExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#unaryNumericExpression.
	VisitUnaryNumericExpression(ctx *UnaryNumericExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#subExpression.
	VisitSubExpression(ctx *SubExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#binaryAdditiveExpression.
	VisitBinaryAdditiveExpression(ctx *BinaryAdditiveExpressionContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#booleanAtom.
	VisitBooleanAtom(ctx *BooleanAtomContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#integerAtom.
	VisitIntegerAtom(ctx *IntegerAtomContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#stringAtom.
	VisitStringAtom(ctx *StringAtomContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#identifierAtom.
	VisitIdentifierAtom(ctx *IdentifierAtomContext) interface{}

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

	// Visit a parse tree produced by CESQLParserParser#functionIdentifier.
	VisitFunctionIdentifier(ctx *FunctionIdentifierContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#booleanLiteral.
	VisitBooleanLiteral(ctx *BooleanLiteralContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#stringLiteral.
	VisitStringLiteral(ctx *StringLiteralContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#integerLiteral.
	VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#functionParameterList.
	VisitFunctionParameterList(ctx *FunctionParameterListContext) interface{}

	// Visit a parse tree produced by CESQLParserParser#setExpression.
	VisitSetExpression(ctx *SetExpressionContext) interface{}
}

A complete Visitor for a parse tree produced by CESQLParserParser.

type CesqlContext

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

func NewCesqlContext

func NewCesqlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CesqlContext

func NewEmptyCesqlContext

func NewEmptyCesqlContext() *CesqlContext

func (*CesqlContext) Accept

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

func (*CesqlContext) EOF

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

func (*CesqlContext) Expression

func (s *CesqlContext) Expression() IExpressionContext

func (*CesqlContext) GetParser

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

func (*CesqlContext) GetRuleContext

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

func (*CesqlContext) IsCesqlContext

func (*CesqlContext) IsCesqlContext()

func (*CesqlContext) ToStringTree

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

type ExistsExpressionContext

type ExistsExpressionContext struct {
	*ExpressionContext
}

func NewExistsExpressionContext

func NewExistsExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExistsExpressionContext

func (*ExistsExpressionContext) Accept

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

func (*ExistsExpressionContext) EXISTS

func (*ExistsExpressionContext) GetRuleContext

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

func (*ExistsExpressionContext) Identifier

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

func (s *ExpressionContext) CopyFrom(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 FunctionIdentifierContext

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

func NewEmptyFunctionIdentifierContext

func NewEmptyFunctionIdentifierContext() *FunctionIdentifierContext

func NewFunctionIdentifierContext

func NewFunctionIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionIdentifierContext

func (*FunctionIdentifierContext) Accept

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

func (*FunctionIdentifierContext) FUNCTION_IDENTIFIER_WITH_UNDERSCORE

func (s *FunctionIdentifierContext) FUNCTION_IDENTIFIER_WITH_UNDERSCORE() antlr.TerminalNode

func (*FunctionIdentifierContext) GetParser

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

func (*FunctionIdentifierContext) GetRuleContext

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

func (*FunctionIdentifierContext) IDENTIFIER

func (*FunctionIdentifierContext) IsFunctionIdentifierContext

func (*FunctionIdentifierContext) IsFunctionIdentifierContext()

func (*FunctionIdentifierContext) ToStringTree

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

type FunctionInvocationExpressionContext

type FunctionInvocationExpressionContext struct {
	*ExpressionContext
}

func (*FunctionInvocationExpressionContext) Accept

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

func (*FunctionInvocationExpressionContext) FunctionIdentifier

func (*FunctionInvocationExpressionContext) FunctionParameterList

func (*FunctionInvocationExpressionContext) GetRuleContext

type FunctionParameterListContext

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

func NewEmptyFunctionParameterListContext

func NewEmptyFunctionParameterListContext() *FunctionParameterListContext

func NewFunctionParameterListContext

func NewFunctionParameterListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionParameterListContext

func (*FunctionParameterListContext) Accept

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

func (*FunctionParameterListContext) AllCOMMA

func (*FunctionParameterListContext) AllExpression

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

func (*FunctionParameterListContext) COMMA

func (*FunctionParameterListContext) Expression

func (*FunctionParameterListContext) GetParser

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

func (*FunctionParameterListContext) GetRuleContext

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

func (*FunctionParameterListContext) IsFunctionParameterListContext

func (*FunctionParameterListContext) IsFunctionParameterListContext()

func (*FunctionParameterListContext) LR_BRACKET

func (*FunctionParameterListContext) RR_BRACKET

func (*FunctionParameterListContext) ToStringTree

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

type IAtomContext

type IAtomContext interface {
	antlr.ParserRuleContext

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

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

IAtomContext is an interface to support dynamic dispatch.

type IBooleanLiteralContext

type IBooleanLiteralContext interface {
	antlr.ParserRuleContext

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

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

IBooleanLiteralContext is an interface to support dynamic dispatch.

type ICesqlContext

type ICesqlContext interface {
	antlr.ParserRuleContext

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

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

ICesqlContext 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 IFunctionIdentifierContext

type IFunctionIdentifierContext interface {
	antlr.ParserRuleContext

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

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

IFunctionIdentifierContext is an interface to support dynamic dispatch.

type IFunctionParameterListContext

type IFunctionParameterListContext interface {
	antlr.ParserRuleContext

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

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

IFunctionParameterListContext is an interface to support dynamic dispatch.

type IIdentifierContext

type IIdentifierContext interface {
	antlr.ParserRuleContext

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

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

IIdentifierContext is an interface to support dynamic dispatch.

type IIntegerLiteralContext

type IIntegerLiteralContext interface {
	antlr.ParserRuleContext

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

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

IIntegerLiteralContext is an interface to support dynamic dispatch.

type ISetExpressionContext

type ISetExpressionContext interface {
	antlr.ParserRuleContext

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

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

ISetExpressionContext is an interface to support dynamic dispatch.

type IStringLiteralContext

type IStringLiteralContext interface {
	antlr.ParserRuleContext

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

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

IStringLiteralContext is an interface to support dynamic dispatch.

type IdentifierAtomContext

type IdentifierAtomContext struct {
	*AtomContext
}

func NewIdentifierAtomContext

func NewIdentifierAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierAtomContext

func (*IdentifierAtomContext) Accept

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

func (*IdentifierAtomContext) GetRuleContext

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

func (*IdentifierAtomContext) Identifier

func (s *IdentifierAtomContext) Identifier() IIdentifierContext

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

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

func (*IdentifierContext) IsIdentifierContext

func (*IdentifierContext) IsIdentifierContext()

func (*IdentifierContext) ToStringTree

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

type InExpressionContext

type InExpressionContext struct {
	*ExpressionContext
}

func NewInExpressionContext

func NewInExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InExpressionContext

func (*InExpressionContext) Accept

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

func (*InExpressionContext) Expression

func (s *InExpressionContext) Expression() IExpressionContext

func (*InExpressionContext) GetRuleContext

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

func (*InExpressionContext) IN

func (*InExpressionContext) NOT

func (*InExpressionContext) SetExpression

func (s *InExpressionContext) SetExpression() ISetExpressionContext

type IntegerAtomContext

type IntegerAtomContext struct {
	*AtomContext
}

func NewIntegerAtomContext

func NewIntegerAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IntegerAtomContext

func (*IntegerAtomContext) Accept

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

func (*IntegerAtomContext) GetRuleContext

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

func (*IntegerAtomContext) IntegerLiteral

func (s *IntegerAtomContext) IntegerLiteral() IIntegerLiteralContext

type IntegerLiteralContext

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

func NewEmptyIntegerLiteralContext

func NewEmptyIntegerLiteralContext() *IntegerLiteralContext

func NewIntegerLiteralContext

func NewIntegerLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerLiteralContext

func (*IntegerLiteralContext) Accept

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

func (*IntegerLiteralContext) GetParser

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

func (*IntegerLiteralContext) GetRuleContext

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

func (*IntegerLiteralContext) INTEGER_LITERAL

func (s *IntegerLiteralContext) INTEGER_LITERAL() antlr.TerminalNode

func (*IntegerLiteralContext) IsIntegerLiteralContext

func (*IntegerLiteralContext) IsIntegerLiteralContext()

func (*IntegerLiteralContext) ToStringTree

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

type LikeExpressionContext

type LikeExpressionContext struct {
	*ExpressionContext
}

func NewLikeExpressionContext

func NewLikeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LikeExpressionContext

func (*LikeExpressionContext) Accept

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

func (*LikeExpressionContext) Expression

func (s *LikeExpressionContext) Expression() IExpressionContext

func (*LikeExpressionContext) GetRuleContext

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

func (*LikeExpressionContext) LIKE

func (*LikeExpressionContext) NOT

func (*LikeExpressionContext) StringLiteral

func (s *LikeExpressionContext) StringLiteral() IStringLiteralContext

type SetExpressionContext

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

func NewEmptySetExpressionContext

func NewEmptySetExpressionContext() *SetExpressionContext

func NewSetExpressionContext

func NewSetExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetExpressionContext

func (*SetExpressionContext) Accept

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

func (*SetExpressionContext) AllCOMMA

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

func (*SetExpressionContext) AllExpression

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

func (*SetExpressionContext) COMMA

func (*SetExpressionContext) Expression

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

func (*SetExpressionContext) GetParser

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

func (*SetExpressionContext) GetRuleContext

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

func (*SetExpressionContext) IsSetExpressionContext

func (*SetExpressionContext) IsSetExpressionContext()

func (*SetExpressionContext) LR_BRACKET

func (s *SetExpressionContext) LR_BRACKET() antlr.TerminalNode

func (*SetExpressionContext) RR_BRACKET

func (s *SetExpressionContext) RR_BRACKET() antlr.TerminalNode

func (*SetExpressionContext) ToStringTree

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

type StringAtomContext

type StringAtomContext struct {
	*AtomContext
}

func NewStringAtomContext

func NewStringAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringAtomContext

func (*StringAtomContext) Accept

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

func (*StringAtomContext) GetRuleContext

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

func (*StringAtomContext) StringLiteral

func (s *StringAtomContext) StringLiteral() IStringLiteralContext

type StringLiteralContext

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

func NewEmptyStringLiteralContext

func NewEmptyStringLiteralContext() *StringLiteralContext

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringLiteralContext

func (*StringLiteralContext) Accept

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

func (*StringLiteralContext) DQUOTED_STRING_LITERAL

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

func (*StringLiteralContext) GetParser

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

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) IsStringLiteralContext

func (*StringLiteralContext) IsStringLiteralContext()

func (*StringLiteralContext) SQUOTED_STRING_LITERAL

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

func (*StringLiteralContext) ToStringTree

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

type SubExpressionContext

type SubExpressionContext struct {
	*ExpressionContext
}

func NewSubExpressionContext

func NewSubExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SubExpressionContext

func (*SubExpressionContext) Accept

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

func (*SubExpressionContext) Expression

func (s *SubExpressionContext) Expression() IExpressionContext

func (*SubExpressionContext) GetRuleContext

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

func (*SubExpressionContext) LR_BRACKET

func (s *SubExpressionContext) LR_BRACKET() antlr.TerminalNode

func (*SubExpressionContext) RR_BRACKET

func (s *SubExpressionContext) RR_BRACKET() antlr.TerminalNode

type UnaryLogicExpressionContext

type UnaryLogicExpressionContext struct {
	*ExpressionContext
}

func NewUnaryLogicExpressionContext

func NewUnaryLogicExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryLogicExpressionContext

func (*UnaryLogicExpressionContext) Accept

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

func (*UnaryLogicExpressionContext) Expression

func (*UnaryLogicExpressionContext) GetRuleContext

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

func (*UnaryLogicExpressionContext) NOT

type UnaryNumericExpressionContext

type UnaryNumericExpressionContext struct {
	*ExpressionContext
}

func NewUnaryNumericExpressionContext

func NewUnaryNumericExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryNumericExpressionContext

func (*UnaryNumericExpressionContext) Accept

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

func (*UnaryNumericExpressionContext) Expression

func (*UnaryNumericExpressionContext) GetRuleContext

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

func (*UnaryNumericExpressionContext) MINUS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL