Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyConditionContext(p *ConditionContext)
- func InitEmptyConditionExpressionContext(p *ConditionExpressionContext)
- func InitEmptyConditionNameContext(p *ConditionNameContext)
- func InitEmptyConditionParameterContext(p *ConditionParameterContext)
- func InitEmptyConditionsContext(p *ConditionsContext)
- func InitEmptyIdentifierContext(p *IdentifierContext)
- func InitEmptyMainContext(p *MainContext)
- func InitEmptyModelHeaderContext(p *ModelHeaderContext)
- func InitEmptyModuleHeaderContext(p *ModuleHeaderContext)
- func InitEmptyMultiLineCommentContext(p *MultiLineCommentContext)
- func InitEmptyParameterNameContext(p *ParameterNameContext)
- func InitEmptyParameterTypeContext(p *ParameterTypeContext)
- func InitEmptyRelationDeclarationContext(p *RelationDeclarationContext)
- func InitEmptyRelationDefContext(p *RelationDefContext)
- func InitEmptyRelationDefDirectAssignmentContext(p *RelationDefDirectAssignmentContext)
- func InitEmptyRelationDefGroupingContext(p *RelationDefGroupingContext)
- func InitEmptyRelationDefNoDirectContext(p *RelationDefNoDirectContext)
- func InitEmptyRelationDefPartialsContext(p *RelationDefPartialsContext)
- func InitEmptyRelationDefRewriteContext(p *RelationDefRewriteContext)
- func InitEmptyRelationDefTypeRestrictionBaseContext(p *RelationDefTypeRestrictionBaseContext)
- func InitEmptyRelationDefTypeRestrictionContext(p *RelationDefTypeRestrictionContext)
- func InitEmptyRelationNameContext(p *RelationNameContext)
- func InitEmptyRelationRecurseContext(p *RelationRecurseContext)
- func InitEmptyRelationRecurseNoDirectContext(p *RelationRecurseNoDirectContext)
- func InitEmptyTypeDefContext(p *TypeDefContext)
- func InitEmptyTypeDefsContext(p *TypeDefsContext)
- func OpenFGALexerInit()
- func OpenFGAParserInit()
- type BaseOpenFGAParserListener
- func (s *BaseOpenFGAParserListener) EnterCondition(ctx *ConditionContext)
- func (s *BaseOpenFGAParserListener) EnterConditionExpression(ctx *ConditionExpressionContext)
- func (s *BaseOpenFGAParserListener) EnterConditionName(ctx *ConditionNameContext)
- func (s *BaseOpenFGAParserListener) EnterConditionParameter(ctx *ConditionParameterContext)
- func (s *BaseOpenFGAParserListener) EnterConditions(ctx *ConditionsContext)
- func (s *BaseOpenFGAParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseOpenFGAParserListener) EnterIdentifier(ctx *IdentifierContext)
- func (s *BaseOpenFGAParserListener) EnterMain(ctx *MainContext)
- func (s *BaseOpenFGAParserListener) EnterModelHeader(ctx *ModelHeaderContext)
- func (s *BaseOpenFGAParserListener) EnterModuleHeader(ctx *ModuleHeaderContext)
- func (s *BaseOpenFGAParserListener) EnterMultiLineComment(ctx *MultiLineCommentContext)
- func (s *BaseOpenFGAParserListener) EnterParameterName(ctx *ParameterNameContext)
- func (s *BaseOpenFGAParserListener) EnterParameterType(ctx *ParameterTypeContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDeclaration(ctx *RelationDeclarationContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDef(ctx *RelationDefContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefDirectAssignment(ctx *RelationDefDirectAssignmentContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefGrouping(ctx *RelationDefGroupingContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefNoDirect(ctx *RelationDefNoDirectContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefPartials(ctx *RelationDefPartialsContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefRewrite(ctx *RelationDefRewriteContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefTypeRestriction(ctx *RelationDefTypeRestrictionContext)
- func (s *BaseOpenFGAParserListener) EnterRelationDefTypeRestrictionBase(ctx *RelationDefTypeRestrictionBaseContext)
- func (s *BaseOpenFGAParserListener) EnterRelationName(ctx *RelationNameContext)
- func (s *BaseOpenFGAParserListener) EnterRelationRecurse(ctx *RelationRecurseContext)
- func (s *BaseOpenFGAParserListener) EnterRelationRecurseNoDirect(ctx *RelationRecurseNoDirectContext)
- func (s *BaseOpenFGAParserListener) EnterTypeDef(ctx *TypeDefContext)
- func (s *BaseOpenFGAParserListener) EnterTypeDefs(ctx *TypeDefsContext)
- func (s *BaseOpenFGAParserListener) ExitCondition(ctx *ConditionContext)
- func (s *BaseOpenFGAParserListener) ExitConditionExpression(ctx *ConditionExpressionContext)
- func (s *BaseOpenFGAParserListener) ExitConditionName(ctx *ConditionNameContext)
- func (s *BaseOpenFGAParserListener) ExitConditionParameter(ctx *ConditionParameterContext)
- func (s *BaseOpenFGAParserListener) ExitConditions(ctx *ConditionsContext)
- func (s *BaseOpenFGAParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseOpenFGAParserListener) ExitIdentifier(ctx *IdentifierContext)
- func (s *BaseOpenFGAParserListener) ExitMain(ctx *MainContext)
- func (s *BaseOpenFGAParserListener) ExitModelHeader(ctx *ModelHeaderContext)
- func (s *BaseOpenFGAParserListener) ExitModuleHeader(ctx *ModuleHeaderContext)
- func (s *BaseOpenFGAParserListener) ExitMultiLineComment(ctx *MultiLineCommentContext)
- func (s *BaseOpenFGAParserListener) ExitParameterName(ctx *ParameterNameContext)
- func (s *BaseOpenFGAParserListener) ExitParameterType(ctx *ParameterTypeContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDeclaration(ctx *RelationDeclarationContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDef(ctx *RelationDefContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefDirectAssignment(ctx *RelationDefDirectAssignmentContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefGrouping(ctx *RelationDefGroupingContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefNoDirect(ctx *RelationDefNoDirectContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefPartials(ctx *RelationDefPartialsContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefRewrite(ctx *RelationDefRewriteContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefTypeRestriction(ctx *RelationDefTypeRestrictionContext)
- func (s *BaseOpenFGAParserListener) ExitRelationDefTypeRestrictionBase(ctx *RelationDefTypeRestrictionBaseContext)
- func (s *BaseOpenFGAParserListener) ExitRelationName(ctx *RelationNameContext)
- func (s *BaseOpenFGAParserListener) ExitRelationRecurse(ctx *RelationRecurseContext)
- func (s *BaseOpenFGAParserListener) ExitRelationRecurseNoDirect(ctx *RelationRecurseNoDirectContext)
- func (s *BaseOpenFGAParserListener) ExitTypeDef(ctx *TypeDefContext)
- func (s *BaseOpenFGAParserListener) ExitTypeDefs(ctx *TypeDefsContext)
- func (s *BaseOpenFGAParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseOpenFGAParserListener) VisitTerminal(node antlr.TerminalNode)
- type ConditionContext
- func (s *ConditionContext) AllCOMMA() []antlr.TerminalNode
- func (s *ConditionContext) AllConditionParameter() []IConditionParameterContext
- func (s *ConditionContext) AllNEWLINE() []antlr.TerminalNode
- func (s *ConditionContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *ConditionContext) COMMA(i int) antlr.TerminalNode
- func (s *ConditionContext) CONDITION() antlr.TerminalNode
- func (s *ConditionContext) ConditionExpression() IConditionExpressionContext
- func (s *ConditionContext) ConditionName() IConditionNameContext
- func (s *ConditionContext) ConditionParameter(i int) IConditionParameterContext
- func (s *ConditionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConditionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConditionContext) GetParser() antlr.Parser
- func (s *ConditionContext) GetRuleContext() antlr.RuleContext
- func (*ConditionContext) IsConditionContext()
- func (s *ConditionContext) LBRACE() antlr.TerminalNode
- func (s *ConditionContext) LPAREN() antlr.TerminalNode
- func (s *ConditionContext) MultiLineComment() IMultiLineCommentContext
- func (s *ConditionContext) NEWLINE(i int) antlr.TerminalNode
- func (s *ConditionContext) RBRACE() antlr.TerminalNode
- func (s *ConditionContext) RPAREN() antlr.TerminalNode
- func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ConditionContext) WHITESPACE(i int) antlr.TerminalNode
- type ConditionExpressionContext
- func (s *ConditionExpressionContext) AllBYTES() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllCEL_COMMENT() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllCEL_FALSE() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllCEL_TRUE() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllDOT() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllEQUALS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllEXCLAM() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllGREATER() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllGREATER_EQUALS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllIN() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLBRACE() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLBRACKET() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLESS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLESS_EQUALS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLOGICAL_AND() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLOGICAL_OR() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllLPAREN() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllMINUS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllNEWLINE() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllNOT_EQUALS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllNUL() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllNUM_FLOAT() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllNUM_INT() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllNUM_UINT() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllPERCENT() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllPLUS() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllQUESTIONMARK() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllRBRACE() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllRPAREN() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllRPRACKET() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllSLASH() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllSTAR() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllSTRING() []antlr.TerminalNode
- func (s *ConditionExpressionContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *ConditionExpressionContext) BYTES(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) CEL_COMMENT(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) CEL_FALSE(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) CEL_TRUE(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) DOT(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) EQUALS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) EXCLAM(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConditionExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConditionExpressionContext) GREATER(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) GREATER_EQUALS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) GetParser() antlr.Parser
- func (s *ConditionExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ConditionExpressionContext) IDENTIFIER(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) IN(i int) antlr.TerminalNode
- func (*ConditionExpressionContext) IsConditionExpressionContext()
- func (s *ConditionExpressionContext) LBRACE(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) LBRACKET(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) LESS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) LESS_EQUALS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) LOGICAL_AND(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) LOGICAL_OR(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) LPAREN(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) MINUS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) NEWLINE(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) NOT_EQUALS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) NUL(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) NUM_FLOAT(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) NUM_INT(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) NUM_UINT(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) PERCENT(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) PLUS(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) QUESTIONMARK(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) RBRACE(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) RPAREN(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) RPRACKET(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) SLASH(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) STAR(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) STRING(i int) antlr.TerminalNode
- func (s *ConditionExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ConditionExpressionContext) WHITESPACE(i int) antlr.TerminalNode
- type ConditionNameContext
- func (s *ConditionNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConditionNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConditionNameContext) GetParser() antlr.Parser
- func (s *ConditionNameContext) GetRuleContext() antlr.RuleContext
- func (s *ConditionNameContext) IDENTIFIER() antlr.TerminalNode
- func (*ConditionNameContext) IsConditionNameContext()
- func (s *ConditionNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ConditionParameterContext
- func (s *ConditionParameterContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *ConditionParameterContext) COLON() antlr.TerminalNode
- func (s *ConditionParameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConditionParameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConditionParameterContext) GetParser() antlr.Parser
- func (s *ConditionParameterContext) GetRuleContext() antlr.RuleContext
- func (*ConditionParameterContext) IsConditionParameterContext()
- func (s *ConditionParameterContext) NEWLINE() antlr.TerminalNode
- func (s *ConditionParameterContext) ParameterName() IParameterNameContext
- func (s *ConditionParameterContext) ParameterType() IParameterTypeContext
- func (s *ConditionParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ConditionParameterContext) WHITESPACE(i int) antlr.TerminalNode
- type ConditionsContext
- func (s *ConditionsContext) AllCondition() []IConditionContext
- func (s *ConditionsContext) Condition(i int) IConditionContext
- func (s *ConditionsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConditionsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConditionsContext) GetParser() antlr.Parser
- func (s *ConditionsContext) GetRuleContext() antlr.RuleContext
- func (*ConditionsContext) IsConditionsContext()
- func (s *ConditionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IConditionContext
- type IConditionExpressionContext
- type IConditionNameContext
- type IConditionParameterContext
- type IConditionsContext
- type IIdentifierContext
- type IMainContext
- type IModelHeaderContext
- type IModuleHeaderContext
- type IMultiLineCommentContext
- type IParameterNameContext
- type IParameterTypeContext
- type IRelationDeclarationContext
- type IRelationDefContext
- type IRelationDefDirectAssignmentContext
- type IRelationDefGroupingContext
- type IRelationDefNoDirectContext
- type IRelationDefPartialsContext
- type IRelationDefRewriteContext
- type IRelationDefTypeRestrictionBaseContext
- type IRelationDefTypeRestrictionContext
- type IRelationNameContext
- type IRelationRecurseContext
- type IRelationRecurseNoDirectContext
- type ITypeDefContext
- type ITypeDefsContext
- type IdentifierContext
- func (s *IdentifierContext) EXTEND() antlr.TerminalNode
- func (s *IdentifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierContext) GetParser() antlr.Parser
- func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierContext) IDENTIFIER() antlr.TerminalNode
- func (*IdentifierContext) IsIdentifierContext()
- func (s *IdentifierContext) MODEL() antlr.TerminalNode
- func (s *IdentifierContext) MODULE() antlr.TerminalNode
- func (s *IdentifierContext) RELATION() antlr.TerminalNode
- func (s *IdentifierContext) SCHEMA() antlr.TerminalNode
- func (s *IdentifierContext) TYPE() antlr.TerminalNode
- func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MainContext
- func (s *MainContext) AllNEWLINE() []antlr.TerminalNode
- func (s *MainContext) Conditions() IConditionsContext
- func (s *MainContext) EOF() antlr.TerminalNode
- func (s *MainContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MainContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MainContext) GetParser() antlr.Parser
- func (s *MainContext) GetRuleContext() antlr.RuleContext
- func (*MainContext) IsMainContext()
- func (s *MainContext) ModelHeader() IModelHeaderContext
- func (s *MainContext) ModuleHeader() IModuleHeaderContext
- func (s *MainContext) NEWLINE(i int) antlr.TerminalNode
- func (s *MainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *MainContext) TypeDefs() ITypeDefsContext
- func (s *MainContext) WHITESPACE() antlr.TerminalNode
- type ModelHeaderContext
- func (s *ModelHeaderContext) AllNEWLINE() []antlr.TerminalNode
- func (s *ModelHeaderContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *ModelHeaderContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModelHeaderContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModelHeaderContext) GetParser() antlr.Parser
- func (s *ModelHeaderContext) GetRuleContext() antlr.RuleContext
- func (s *ModelHeaderContext) GetSchemaVersion() antlr.Token
- func (*ModelHeaderContext) IsModelHeaderContext()
- func (s *ModelHeaderContext) MODEL() antlr.TerminalNode
- func (s *ModelHeaderContext) MultiLineComment() IMultiLineCommentContext
- func (s *ModelHeaderContext) NEWLINE(i int) antlr.TerminalNode
- func (s *ModelHeaderContext) SCHEMA() antlr.TerminalNode
- func (s *ModelHeaderContext) SCHEMA_VERSION() antlr.TerminalNode
- func (s *ModelHeaderContext) SetSchemaVersion(v antlr.Token)
- func (s *ModelHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ModelHeaderContext) WHITESPACE(i int) antlr.TerminalNode
- type ModuleHeaderContext
- func (s *ModuleHeaderContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *ModuleHeaderContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModuleHeaderContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModuleHeaderContext) GetModuleName() IIdentifierContext
- func (s *ModuleHeaderContext) GetParser() antlr.Parser
- func (s *ModuleHeaderContext) GetRuleContext() antlr.RuleContext
- func (s *ModuleHeaderContext) Identifier() IIdentifierContext
- func (*ModuleHeaderContext) IsModuleHeaderContext()
- func (s *ModuleHeaderContext) MODULE() antlr.TerminalNode
- func (s *ModuleHeaderContext) MultiLineComment() IMultiLineCommentContext
- func (s *ModuleHeaderContext) NEWLINE() antlr.TerminalNode
- func (s *ModuleHeaderContext) SetModuleName(v IIdentifierContext)
- func (s *ModuleHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ModuleHeaderContext) WHITESPACE(i int) antlr.TerminalNode
- type MultiLineCommentContext
- func (s *MultiLineCommentContext) AllNEWLINE() []antlr.TerminalNode
- func (s *MultiLineCommentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MultiLineCommentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MultiLineCommentContext) GetParser() antlr.Parser
- func (s *MultiLineCommentContext) GetRuleContext() antlr.RuleContext
- func (s *MultiLineCommentContext) HASH() antlr.TerminalNode
- func (*MultiLineCommentContext) IsMultiLineCommentContext()
- func (s *MultiLineCommentContext) MultiLineComment() IMultiLineCommentContext
- func (s *MultiLineCommentContext) NEWLINE(i int) antlr.TerminalNode
- func (s *MultiLineCommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OpenFGALexer
- type OpenFGAParser
- func (p *OpenFGAParser) Condition() (localctx IConditionContext)
- func (p *OpenFGAParser) ConditionExpression() (localctx IConditionExpressionContext)
- func (p *OpenFGAParser) ConditionName() (localctx IConditionNameContext)
- func (p *OpenFGAParser) ConditionParameter() (localctx IConditionParameterContext)
- func (p *OpenFGAParser) Conditions() (localctx IConditionsContext)
- func (p *OpenFGAParser) Identifier() (localctx IIdentifierContext)
- func (p *OpenFGAParser) Main() (localctx IMainContext)
- func (p *OpenFGAParser) ModelHeader() (localctx IModelHeaderContext)
- func (p *OpenFGAParser) ModuleHeader() (localctx IModuleHeaderContext)
- func (p *OpenFGAParser) MultiLineComment() (localctx IMultiLineCommentContext)
- func (p *OpenFGAParser) ParameterName() (localctx IParameterNameContext)
- func (p *OpenFGAParser) ParameterType() (localctx IParameterTypeContext)
- func (p *OpenFGAParser) RelationDeclaration() (localctx IRelationDeclarationContext)
- func (p *OpenFGAParser) RelationDef() (localctx IRelationDefContext)
- func (p *OpenFGAParser) RelationDefDirectAssignment() (localctx IRelationDefDirectAssignmentContext)
- func (p *OpenFGAParser) RelationDefGrouping() (localctx IRelationDefGroupingContext)
- func (p *OpenFGAParser) RelationDefNoDirect() (localctx IRelationDefNoDirectContext)
- func (p *OpenFGAParser) RelationDefPartials() (localctx IRelationDefPartialsContext)
- func (p *OpenFGAParser) RelationDefRewrite() (localctx IRelationDefRewriteContext)
- func (p *OpenFGAParser) RelationDefTypeRestriction() (localctx IRelationDefTypeRestrictionContext)
- func (p *OpenFGAParser) RelationDefTypeRestrictionBase() (localctx IRelationDefTypeRestrictionBaseContext)
- func (p *OpenFGAParser) RelationName() (localctx IRelationNameContext)
- func (p *OpenFGAParser) RelationRecurse() (localctx IRelationRecurseContext)
- func (p *OpenFGAParser) RelationRecurseNoDirect() (localctx IRelationRecurseNoDirectContext)
- func (p *OpenFGAParser) TypeDef() (localctx ITypeDefContext)
- func (p *OpenFGAParser) TypeDefs() (localctx ITypeDefsContext)
- type OpenFGAParserListener
- type ParameterNameContext
- func (s *ParameterNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParameterNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParameterNameContext) GetParser() antlr.Parser
- func (s *ParameterNameContext) GetRuleContext() antlr.RuleContext
- func (s *ParameterNameContext) IDENTIFIER() antlr.TerminalNode
- func (*ParameterNameContext) IsParameterNameContext()
- func (s *ParameterNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParameterTypeContext
- func (s *ParameterTypeContext) CONDITION_PARAM_CONTAINER() antlr.TerminalNode
- func (s *ParameterTypeContext) CONDITION_PARAM_TYPE() antlr.TerminalNode
- func (s *ParameterTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParameterTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParameterTypeContext) GREATER() antlr.TerminalNode
- func (s *ParameterTypeContext) GetParser() antlr.Parser
- func (s *ParameterTypeContext) GetRuleContext() antlr.RuleContext
- func (*ParameterTypeContext) IsParameterTypeContext()
- func (s *ParameterTypeContext) LESS() antlr.TerminalNode
- func (s *ParameterTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RelationDeclarationContext
- func (s *RelationDeclarationContext) AllNEWLINE() []antlr.TerminalNode
- func (s *RelationDeclarationContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationDeclarationContext) COLON() antlr.TerminalNode
- func (s *RelationDeclarationContext) DEFINE() antlr.TerminalNode
- func (s *RelationDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDeclarationContext) GetParser() antlr.Parser
- func (s *RelationDeclarationContext) GetRuleContext() antlr.RuleContext
- func (*RelationDeclarationContext) IsRelationDeclarationContext()
- func (s *RelationDeclarationContext) MultiLineComment() IMultiLineCommentContext
- func (s *RelationDeclarationContext) NEWLINE(i int) antlr.TerminalNode
- func (s *RelationDeclarationContext) RelationDef() IRelationDefContext
- func (s *RelationDeclarationContext) RelationName() IRelationNameContext
- func (s *RelationDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationDeclarationContext) WHITESPACE(i int) antlr.TerminalNode
- type RelationDefContext
- func (s *RelationDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefContext) GetParser() antlr.Parser
- func (s *RelationDefContext) GetRuleContext() antlr.RuleContext
- func (*RelationDefContext) IsRelationDefContext()
- func (s *RelationDefContext) RelationDefDirectAssignment() IRelationDefDirectAssignmentContext
- func (s *RelationDefContext) RelationDefGrouping() IRelationDefGroupingContext
- func (s *RelationDefContext) RelationDefPartials() IRelationDefPartialsContext
- func (s *RelationDefContext) RelationRecurse() IRelationRecurseContext
- func (s *RelationDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RelationDefDirectAssignmentContext
- func (s *RelationDefDirectAssignmentContext) AllCOMMA() []antlr.TerminalNode
- func (s *RelationDefDirectAssignmentContext) AllRelationDefTypeRestriction() []IRelationDefTypeRestrictionContext
- func (s *RelationDefDirectAssignmentContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationDefDirectAssignmentContext) COMMA(i int) antlr.TerminalNode
- func (s *RelationDefDirectAssignmentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefDirectAssignmentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefDirectAssignmentContext) GetParser() antlr.Parser
- func (s *RelationDefDirectAssignmentContext) GetRuleContext() antlr.RuleContext
- func (*RelationDefDirectAssignmentContext) IsRelationDefDirectAssignmentContext()
- func (s *RelationDefDirectAssignmentContext) LBRACKET() antlr.TerminalNode
- func (s *RelationDefDirectAssignmentContext) RPRACKET() antlr.TerminalNode
- func (s *RelationDefDirectAssignmentContext) RelationDefTypeRestriction(i int) IRelationDefTypeRestrictionContext
- func (s *RelationDefDirectAssignmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationDefDirectAssignmentContext) WHITESPACE(i int) antlr.TerminalNode
- type RelationDefGroupingContext
- func (s *RelationDefGroupingContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefGroupingContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefGroupingContext) GetParser() antlr.Parser
- func (s *RelationDefGroupingContext) GetRuleContext() antlr.RuleContext
- func (*RelationDefGroupingContext) IsRelationDefGroupingContext()
- func (s *RelationDefGroupingContext) RelationDefRewrite() IRelationDefRewriteContext
- func (s *RelationDefGroupingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RelationDefNoDirectContext
- func (s *RelationDefNoDirectContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefNoDirectContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefNoDirectContext) GetParser() antlr.Parser
- func (s *RelationDefNoDirectContext) GetRuleContext() antlr.RuleContext
- func (*RelationDefNoDirectContext) IsRelationDefNoDirectContext()
- func (s *RelationDefNoDirectContext) RelationDefGrouping() IRelationDefGroupingContext
- func (s *RelationDefNoDirectContext) RelationDefPartials() IRelationDefPartialsContext
- func (s *RelationDefNoDirectContext) RelationRecurseNoDirect() IRelationRecurseNoDirectContext
- func (s *RelationDefNoDirectContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RelationDefPartialsContext
- func (s *RelationDefPartialsContext) AND(i int) antlr.TerminalNode
- func (s *RelationDefPartialsContext) AllAND() []antlr.TerminalNode
- func (s *RelationDefPartialsContext) AllOR() []antlr.TerminalNode
- func (s *RelationDefPartialsContext) AllRelationDefGrouping() []IRelationDefGroupingContext
- func (s *RelationDefPartialsContext) AllRelationRecurseNoDirect() []IRelationRecurseNoDirectContext
- func (s *RelationDefPartialsContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationDefPartialsContext) BUT_NOT() antlr.TerminalNode
- func (s *RelationDefPartialsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefPartialsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefPartialsContext) GetParser() antlr.Parser
- func (s *RelationDefPartialsContext) GetRuleContext() antlr.RuleContext
- func (*RelationDefPartialsContext) IsRelationDefPartialsContext()
- func (s *RelationDefPartialsContext) OR(i int) antlr.TerminalNode
- func (s *RelationDefPartialsContext) RelationDefGrouping(i int) IRelationDefGroupingContext
- func (s *RelationDefPartialsContext) RelationRecurseNoDirect(i int) IRelationRecurseNoDirectContext
- func (s *RelationDefPartialsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationDefPartialsContext) WHITESPACE(i int) antlr.TerminalNode
- type RelationDefRewriteContext
- func (s *RelationDefRewriteContext) AllIdentifier() []IIdentifierContext
- func (s *RelationDefRewriteContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationDefRewriteContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefRewriteContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefRewriteContext) FROM() antlr.TerminalNode
- func (s *RelationDefRewriteContext) GetParser() antlr.Parser
- func (s *RelationDefRewriteContext) GetRewriteComputedusersetName() IIdentifierContext
- func (s *RelationDefRewriteContext) GetRewriteTuplesetName() IIdentifierContext
- func (s *RelationDefRewriteContext) GetRuleContext() antlr.RuleContext
- func (s *RelationDefRewriteContext) Identifier(i int) IIdentifierContext
- func (*RelationDefRewriteContext) IsRelationDefRewriteContext()
- func (s *RelationDefRewriteContext) SetRewriteComputedusersetName(v IIdentifierContext)
- func (s *RelationDefRewriteContext) SetRewriteTuplesetName(v IIdentifierContext)
- func (s *RelationDefRewriteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationDefRewriteContext) WHITESPACE(i int) antlr.TerminalNode
- type RelationDefTypeRestrictionBaseContext
- func (s *RelationDefTypeRestrictionBaseContext) AllIdentifier() []IIdentifierContext
- func (s *RelationDefTypeRestrictionBaseContext) COLON() antlr.TerminalNode
- func (s *RelationDefTypeRestrictionBaseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefTypeRestrictionBaseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefTypeRestrictionBaseContext) GetParser() antlr.Parser
- func (s *RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionRelation() IIdentifierContext
- func (s *RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionType() IIdentifierContext
- func (s *RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionWildcard() antlr.Token
- func (s *RelationDefTypeRestrictionBaseContext) GetRuleContext() antlr.RuleContext
- func (s *RelationDefTypeRestrictionBaseContext) HASH() antlr.TerminalNode
- func (s *RelationDefTypeRestrictionBaseContext) Identifier(i int) IIdentifierContext
- func (*RelationDefTypeRestrictionBaseContext) IsRelationDefTypeRestrictionBaseContext()
- func (s *RelationDefTypeRestrictionBaseContext) STAR() antlr.TerminalNode
- func (s *RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionRelation(v IIdentifierContext)
- func (s *RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionType(v IIdentifierContext)
- func (s *RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionWildcard(v antlr.Token)
- func (s *RelationDefTypeRestrictionBaseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RelationDefTypeRestrictionContext
- func (s *RelationDefTypeRestrictionContext) AllNEWLINE() []antlr.TerminalNode
- func (s *RelationDefTypeRestrictionContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationDefTypeRestrictionContext) ConditionName() IConditionNameContext
- func (s *RelationDefTypeRestrictionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationDefTypeRestrictionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationDefTypeRestrictionContext) GetParser() antlr.Parser
- func (s *RelationDefTypeRestrictionContext) GetRuleContext() antlr.RuleContext
- func (*RelationDefTypeRestrictionContext) IsRelationDefTypeRestrictionContext()
- func (s *RelationDefTypeRestrictionContext) KEYWORD_WITH() antlr.TerminalNode
- func (s *RelationDefTypeRestrictionContext) NEWLINE(i int) antlr.TerminalNode
- func (s *RelationDefTypeRestrictionContext) RelationDefTypeRestrictionBase() IRelationDefTypeRestrictionBaseContext
- func (s *RelationDefTypeRestrictionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationDefTypeRestrictionContext) WHITESPACE(i int) antlr.TerminalNode
- type RelationNameContext
- func (s *RelationNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationNameContext) GetParser() antlr.Parser
- func (s *RelationNameContext) GetRuleContext() antlr.RuleContext
- func (s *RelationNameContext) Identifier() IIdentifierContext
- func (*RelationNameContext) IsRelationNameContext()
- func (s *RelationNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RelationRecurseContext
- func (s *RelationRecurseContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationRecurseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationRecurseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationRecurseContext) GetParser() antlr.Parser
- func (s *RelationRecurseContext) GetRuleContext() antlr.RuleContext
- func (*RelationRecurseContext) IsRelationRecurseContext()
- func (s *RelationRecurseContext) LPAREN() antlr.TerminalNode
- func (s *RelationRecurseContext) RPAREN() antlr.TerminalNode
- func (s *RelationRecurseContext) RelationDef() IRelationDefContext
- func (s *RelationRecurseContext) RelationRecurseNoDirect() IRelationRecurseNoDirectContext
- func (s *RelationRecurseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationRecurseContext) WHITESPACE(i int) antlr.TerminalNode
- type RelationRecurseNoDirectContext
- func (s *RelationRecurseNoDirectContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *RelationRecurseNoDirectContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RelationRecurseNoDirectContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RelationRecurseNoDirectContext) GetParser() antlr.Parser
- func (s *RelationRecurseNoDirectContext) GetRuleContext() antlr.RuleContext
- func (*RelationRecurseNoDirectContext) IsRelationRecurseNoDirectContext()
- func (s *RelationRecurseNoDirectContext) LPAREN() antlr.TerminalNode
- func (s *RelationRecurseNoDirectContext) RPAREN() antlr.TerminalNode
- func (s *RelationRecurseNoDirectContext) RelationDefNoDirect() IRelationDefNoDirectContext
- func (s *RelationRecurseNoDirectContext) RelationRecurseNoDirect() IRelationRecurseNoDirectContext
- func (s *RelationRecurseNoDirectContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RelationRecurseNoDirectContext) WHITESPACE(i int) antlr.TerminalNode
- type TypeDefContext
- func (s *TypeDefContext) AllNEWLINE() []antlr.TerminalNode
- func (s *TypeDefContext) AllRelationDeclaration() []IRelationDeclarationContext
- func (s *TypeDefContext) AllWHITESPACE() []antlr.TerminalNode
- func (s *TypeDefContext) EXTEND() antlr.TerminalNode
- func (s *TypeDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeDefContext) GetParser() antlr.Parser
- func (s *TypeDefContext) GetRuleContext() antlr.RuleContext
- func (s *TypeDefContext) GetTypeName() IIdentifierContext
- func (s *TypeDefContext) Identifier() IIdentifierContext
- func (*TypeDefContext) IsTypeDefContext()
- func (s *TypeDefContext) MultiLineComment() IMultiLineCommentContext
- func (s *TypeDefContext) NEWLINE(i int) antlr.TerminalNode
- func (s *TypeDefContext) RELATIONS() antlr.TerminalNode
- func (s *TypeDefContext) RelationDeclaration(i int) IRelationDeclarationContext
- func (s *TypeDefContext) SetTypeName(v IIdentifierContext)
- func (s *TypeDefContext) TYPE() antlr.TerminalNode
- func (s *TypeDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeDefContext) WHITESPACE(i int) antlr.TerminalNode
- type TypeDefsContext
- func (s *TypeDefsContext) AllTypeDef() []ITypeDefContext
- func (s *TypeDefsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeDefsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeDefsContext) GetParser() antlr.Parser
- func (s *TypeDefsContext) GetRuleContext() antlr.RuleContext
- func (*TypeDefsContext) IsTypeDefsContext()
- func (s *TypeDefsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeDefsContext) TypeDef(i int) ITypeDefContext
Constants ¶
const ( OpenFGALexerCOLON = 1 OpenFGALexerCOMMA = 2 OpenFGALexerLESS = 3 OpenFGALexerGREATER = 4 OpenFGALexerLBRACKET = 5 OpenFGALexerRBRACKET = 6 OpenFGALexerLPAREN = 7 OpenFGALexerRPAREN = 8 OpenFGALexerWHITESPACE = 9 OpenFGALexerIDENTIFIER = 10 OpenFGALexerHASH = 11 OpenFGALexerAND = 12 OpenFGALexerOR = 13 OpenFGALexerBUT_NOT = 14 OpenFGALexerFROM = 15 OpenFGALexerMODULE = 16 OpenFGALexerMODEL = 17 OpenFGALexerSCHEMA = 18 OpenFGALexerSCHEMA_VERSION = 19 OpenFGALexerEXTEND = 20 OpenFGALexerTYPE = 21 OpenFGALexerCONDITION = 22 OpenFGALexerRELATIONS = 23 OpenFGALexerRELATION = 24 OpenFGALexerDEFINE = 25 OpenFGALexerKEYWORD_WITH = 26 OpenFGALexerEQUALS = 27 OpenFGALexerNOT_EQUALS = 28 OpenFGALexerIN = 29 OpenFGALexerLESS_EQUALS = 30 OpenFGALexerGREATER_EQUALS = 31 OpenFGALexerLOGICAL_AND = 32 OpenFGALexerLOGICAL_OR = 33 OpenFGALexerRPRACKET = 34 OpenFGALexerLBRACE = 35 OpenFGALexerRBRACE = 36 OpenFGALexerDOT = 37 OpenFGALexerMINUS = 38 OpenFGALexerEXCLAM = 39 OpenFGALexerQUESTIONMARK = 40 OpenFGALexerPLUS = 41 OpenFGALexerSTAR = 42 OpenFGALexerSLASH = 43 OpenFGALexerPERCENT = 44 OpenFGALexerCEL_TRUE = 45 OpenFGALexerCEL_FALSE = 46 OpenFGALexerNUL = 47 OpenFGALexerCEL_COMMENT = 48 OpenFGALexerNUM_FLOAT = 49 OpenFGALexerNUM_INT = 50 OpenFGALexerNUM_UINT = 51 OpenFGALexerSTRING = 52 OpenFGALexerBYTES = 53 OpenFGALexerNEWLINE = 54 OpenFGALexerCONDITION_PARAM_CONTAINER = 55 OpenFGALexerCONDITION_PARAM_TYPE = 56 )
OpenFGALexer tokens.
const ( OpenFGAParserEOF = antlr.TokenEOF OpenFGAParserCOLON = 1 OpenFGAParserCOMMA = 2 OpenFGAParserLESS = 3 OpenFGAParserGREATER = 4 OpenFGAParserLBRACKET = 5 OpenFGAParserRBRACKET = 6 OpenFGAParserLPAREN = 7 OpenFGAParserRPAREN = 8 OpenFGAParserWHITESPACE = 9 OpenFGAParserIDENTIFIER = 10 OpenFGAParserHASH = 11 OpenFGAParserAND = 12 OpenFGAParserOR = 13 OpenFGAParserBUT_NOT = 14 OpenFGAParserFROM = 15 OpenFGAParserMODULE = 16 OpenFGAParserMODEL = 17 OpenFGAParserSCHEMA = 18 OpenFGAParserSCHEMA_VERSION = 19 OpenFGAParserEXTEND = 20 OpenFGAParserTYPE = 21 OpenFGAParserCONDITION = 22 OpenFGAParserRELATIONS = 23 OpenFGAParserRELATION = 24 OpenFGAParserDEFINE = 25 OpenFGAParserKEYWORD_WITH = 26 OpenFGAParserEQUALS = 27 OpenFGAParserNOT_EQUALS = 28 OpenFGAParserIN = 29 OpenFGAParserLESS_EQUALS = 30 OpenFGAParserGREATER_EQUALS = 31 OpenFGAParserLOGICAL_AND = 32 OpenFGAParserLOGICAL_OR = 33 OpenFGAParserRPRACKET = 34 OpenFGAParserLBRACE = 35 OpenFGAParserRBRACE = 36 OpenFGAParserDOT = 37 OpenFGAParserMINUS = 38 OpenFGAParserEXCLAM = 39 OpenFGAParserQUESTIONMARK = 40 OpenFGAParserPLUS = 41 OpenFGAParserSTAR = 42 OpenFGAParserSLASH = 43 OpenFGAParserPERCENT = 44 OpenFGAParserCEL_TRUE = 45 OpenFGAParserCEL_FALSE = 46 OpenFGAParserNUL = 47 OpenFGAParserCEL_COMMENT = 48 OpenFGAParserNUM_FLOAT = 49 OpenFGAParserNUM_INT = 50 OpenFGAParserNUM_UINT = 51 OpenFGAParserSTRING = 52 OpenFGAParserBYTES = 53 OpenFGAParserNEWLINE = 54 OpenFGAParserCONDITION_PARAM_CONTAINER = 55 OpenFGAParserCONDITION_PARAM_TYPE = 56 )
OpenFGAParser tokens.
const ( OpenFGAParserRULE_main = 0 OpenFGAParserRULE_modelHeader = 1 OpenFGAParserRULE_moduleHeader = 2 OpenFGAParserRULE_typeDefs = 3 OpenFGAParserRULE_typeDef = 4 OpenFGAParserRULE_relationDeclaration = 5 OpenFGAParserRULE_relationName = 6 OpenFGAParserRULE_relationDef = 7 OpenFGAParserRULE_relationDefNoDirect = 8 OpenFGAParserRULE_relationDefPartials = 9 OpenFGAParserRULE_relationDefGrouping = 10 OpenFGAParserRULE_relationRecurse = 11 OpenFGAParserRULE_relationRecurseNoDirect = 12 OpenFGAParserRULE_relationDefDirectAssignment = 13 OpenFGAParserRULE_relationDefRewrite = 14 OpenFGAParserRULE_relationDefTypeRestriction = 15 OpenFGAParserRULE_relationDefTypeRestrictionBase = 16 OpenFGAParserRULE_conditions = 17 OpenFGAParserRULE_condition = 18 OpenFGAParserRULE_conditionName = 19 OpenFGAParserRULE_conditionParameter = 20 OpenFGAParserRULE_parameterName = 21 OpenFGAParserRULE_parameterType = 22 OpenFGAParserRULE_multiLineComment = 23 OpenFGAParserRULE_identifier = 24 OpenFGAParserRULE_conditionExpression = 25 )
OpenFGAParser rules.
const OpenFGALexerCONDITION_DEF = 1
OpenFGALexerCONDITION_DEF is the OpenFGALexer mode.
Variables ¶
var OpenFGALexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var OpenFGAParserParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyConditionContext ¶
func InitEmptyConditionContext(p *ConditionContext)
func InitEmptyConditionExpressionContext ¶
func InitEmptyConditionExpressionContext(p *ConditionExpressionContext)
func InitEmptyConditionNameContext ¶
func InitEmptyConditionNameContext(p *ConditionNameContext)
func InitEmptyConditionParameterContext ¶
func InitEmptyConditionParameterContext(p *ConditionParameterContext)
func InitEmptyConditionsContext ¶
func InitEmptyConditionsContext(p *ConditionsContext)
func InitEmptyIdentifierContext ¶
func InitEmptyIdentifierContext(p *IdentifierContext)
func InitEmptyMainContext ¶
func InitEmptyMainContext(p *MainContext)
func InitEmptyModelHeaderContext ¶
func InitEmptyModelHeaderContext(p *ModelHeaderContext)
func InitEmptyModuleHeaderContext ¶
func InitEmptyModuleHeaderContext(p *ModuleHeaderContext)
func InitEmptyMultiLineCommentContext ¶
func InitEmptyMultiLineCommentContext(p *MultiLineCommentContext)
func InitEmptyParameterNameContext ¶
func InitEmptyParameterNameContext(p *ParameterNameContext)
func InitEmptyParameterTypeContext ¶
func InitEmptyParameterTypeContext(p *ParameterTypeContext)
func InitEmptyRelationDeclarationContext ¶
func InitEmptyRelationDeclarationContext(p *RelationDeclarationContext)
func InitEmptyRelationDefContext ¶
func InitEmptyRelationDefContext(p *RelationDefContext)
func InitEmptyRelationDefDirectAssignmentContext ¶
func InitEmptyRelationDefDirectAssignmentContext(p *RelationDefDirectAssignmentContext)
func InitEmptyRelationDefGroupingContext ¶
func InitEmptyRelationDefGroupingContext(p *RelationDefGroupingContext)
func InitEmptyRelationDefNoDirectContext ¶
func InitEmptyRelationDefNoDirectContext(p *RelationDefNoDirectContext)
func InitEmptyRelationDefPartialsContext ¶
func InitEmptyRelationDefPartialsContext(p *RelationDefPartialsContext)
func InitEmptyRelationDefRewriteContext ¶
func InitEmptyRelationDefRewriteContext(p *RelationDefRewriteContext)
func InitEmptyRelationDefTypeRestrictionBaseContext ¶
func InitEmptyRelationDefTypeRestrictionBaseContext(p *RelationDefTypeRestrictionBaseContext)
func InitEmptyRelationDefTypeRestrictionContext ¶
func InitEmptyRelationDefTypeRestrictionContext(p *RelationDefTypeRestrictionContext)
func InitEmptyRelationNameContext ¶
func InitEmptyRelationNameContext(p *RelationNameContext)
func InitEmptyRelationRecurseContext ¶
func InitEmptyRelationRecurseContext(p *RelationRecurseContext)
func InitEmptyRelationRecurseNoDirectContext ¶
func InitEmptyRelationRecurseNoDirectContext(p *RelationRecurseNoDirectContext)
func InitEmptyTypeDefContext ¶
func InitEmptyTypeDefContext(p *TypeDefContext)
func InitEmptyTypeDefsContext ¶
func InitEmptyTypeDefsContext(p *TypeDefsContext)
func OpenFGALexerInit ¶
func OpenFGALexerInit()
OpenFGALexerInit initializes any static state used to implement OpenFGALexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewOpenFGALexer(). You can call this function if you wish to initialize the static state ahead of time.
func OpenFGAParserInit ¶
func OpenFGAParserInit()
OpenFGAParserInit initializes any static state used to implement OpenFGAParser. By default the static state used to implement the parser is lazily initialized during the first call to NewOpenFGAParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type BaseOpenFGAParserListener ¶
type BaseOpenFGAParserListener struct{}
BaseOpenFGAParserListener is a complete listener for a parse tree produced by OpenFGAParser.
func (*BaseOpenFGAParserListener) EnterCondition ¶
func (s *BaseOpenFGAParserListener) EnterCondition(ctx *ConditionContext)
EnterCondition is called when production condition is entered.
func (*BaseOpenFGAParserListener) EnterConditionExpression ¶
func (s *BaseOpenFGAParserListener) EnterConditionExpression(ctx *ConditionExpressionContext)
EnterConditionExpression is called when production conditionExpression is entered.
func (*BaseOpenFGAParserListener) EnterConditionName ¶
func (s *BaseOpenFGAParserListener) EnterConditionName(ctx *ConditionNameContext)
EnterConditionName is called when production conditionName is entered.
func (*BaseOpenFGAParserListener) EnterConditionParameter ¶
func (s *BaseOpenFGAParserListener) EnterConditionParameter(ctx *ConditionParameterContext)
EnterConditionParameter is called when production conditionParameter is entered.
func (*BaseOpenFGAParserListener) EnterConditions ¶
func (s *BaseOpenFGAParserListener) EnterConditions(ctx *ConditionsContext)
EnterConditions is called when production conditions is entered.
func (*BaseOpenFGAParserListener) EnterEveryRule ¶
func (s *BaseOpenFGAParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseOpenFGAParserListener) EnterIdentifier ¶
func (s *BaseOpenFGAParserListener) EnterIdentifier(ctx *IdentifierContext)
EnterIdentifier is called when production identifier is entered.
func (*BaseOpenFGAParserListener) EnterMain ¶
func (s *BaseOpenFGAParserListener) EnterMain(ctx *MainContext)
EnterMain is called when production main is entered.
func (*BaseOpenFGAParserListener) EnterModelHeader ¶
func (s *BaseOpenFGAParserListener) EnterModelHeader(ctx *ModelHeaderContext)
EnterModelHeader is called when production modelHeader is entered.
func (*BaseOpenFGAParserListener) EnterModuleHeader ¶
func (s *BaseOpenFGAParserListener) EnterModuleHeader(ctx *ModuleHeaderContext)
EnterModuleHeader is called when production moduleHeader is entered.
func (*BaseOpenFGAParserListener) EnterMultiLineComment ¶
func (s *BaseOpenFGAParserListener) EnterMultiLineComment(ctx *MultiLineCommentContext)
EnterMultiLineComment is called when production multiLineComment is entered.
func (*BaseOpenFGAParserListener) EnterParameterName ¶
func (s *BaseOpenFGAParserListener) EnterParameterName(ctx *ParameterNameContext)
EnterParameterName is called when production parameterName is entered.
func (*BaseOpenFGAParserListener) EnterParameterType ¶
func (s *BaseOpenFGAParserListener) EnterParameterType(ctx *ParameterTypeContext)
EnterParameterType is called when production parameterType is entered.
func (*BaseOpenFGAParserListener) EnterRelationDeclaration ¶
func (s *BaseOpenFGAParserListener) EnterRelationDeclaration(ctx *RelationDeclarationContext)
EnterRelationDeclaration is called when production relationDeclaration is entered.
func (*BaseOpenFGAParserListener) EnterRelationDef ¶
func (s *BaseOpenFGAParserListener) EnterRelationDef(ctx *RelationDefContext)
EnterRelationDef is called when production relationDef is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefDirectAssignment ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefDirectAssignment(ctx *RelationDefDirectAssignmentContext)
EnterRelationDefDirectAssignment is called when production relationDefDirectAssignment is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefGrouping ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefGrouping(ctx *RelationDefGroupingContext)
EnterRelationDefGrouping is called when production relationDefGrouping is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefNoDirect ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefNoDirect(ctx *RelationDefNoDirectContext)
EnterRelationDefNoDirect is called when production relationDefNoDirect is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefPartials ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefPartials(ctx *RelationDefPartialsContext)
EnterRelationDefPartials is called when production relationDefPartials is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefRewrite ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefRewrite(ctx *RelationDefRewriteContext)
EnterRelationDefRewrite is called when production relationDefRewrite is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefTypeRestriction ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefTypeRestriction(ctx *RelationDefTypeRestrictionContext)
EnterRelationDefTypeRestriction is called when production relationDefTypeRestriction is entered.
func (*BaseOpenFGAParserListener) EnterRelationDefTypeRestrictionBase ¶
func (s *BaseOpenFGAParserListener) EnterRelationDefTypeRestrictionBase(ctx *RelationDefTypeRestrictionBaseContext)
EnterRelationDefTypeRestrictionBase is called when production relationDefTypeRestrictionBase is entered.
func (*BaseOpenFGAParserListener) EnterRelationName ¶
func (s *BaseOpenFGAParserListener) EnterRelationName(ctx *RelationNameContext)
EnterRelationName is called when production relationName is entered.
func (*BaseOpenFGAParserListener) EnterRelationRecurse ¶
func (s *BaseOpenFGAParserListener) EnterRelationRecurse(ctx *RelationRecurseContext)
EnterRelationRecurse is called when production relationRecurse is entered.
func (*BaseOpenFGAParserListener) EnterRelationRecurseNoDirect ¶
func (s *BaseOpenFGAParserListener) EnterRelationRecurseNoDirect(ctx *RelationRecurseNoDirectContext)
EnterRelationRecurseNoDirect is called when production relationRecurseNoDirect is entered.
func (*BaseOpenFGAParserListener) EnterTypeDef ¶
func (s *BaseOpenFGAParserListener) EnterTypeDef(ctx *TypeDefContext)
EnterTypeDef is called when production typeDef is entered.
func (*BaseOpenFGAParserListener) EnterTypeDefs ¶
func (s *BaseOpenFGAParserListener) EnterTypeDefs(ctx *TypeDefsContext)
EnterTypeDefs is called when production typeDefs is entered.
func (*BaseOpenFGAParserListener) ExitCondition ¶
func (s *BaseOpenFGAParserListener) ExitCondition(ctx *ConditionContext)
ExitCondition is called when production condition is exited.
func (*BaseOpenFGAParserListener) ExitConditionExpression ¶
func (s *BaseOpenFGAParserListener) ExitConditionExpression(ctx *ConditionExpressionContext)
ExitConditionExpression is called when production conditionExpression is exited.
func (*BaseOpenFGAParserListener) ExitConditionName ¶
func (s *BaseOpenFGAParserListener) ExitConditionName(ctx *ConditionNameContext)
ExitConditionName is called when production conditionName is exited.
func (*BaseOpenFGAParserListener) ExitConditionParameter ¶
func (s *BaseOpenFGAParserListener) ExitConditionParameter(ctx *ConditionParameterContext)
ExitConditionParameter is called when production conditionParameter is exited.
func (*BaseOpenFGAParserListener) ExitConditions ¶
func (s *BaseOpenFGAParserListener) ExitConditions(ctx *ConditionsContext)
ExitConditions is called when production conditions is exited.
func (*BaseOpenFGAParserListener) ExitEveryRule ¶
func (s *BaseOpenFGAParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseOpenFGAParserListener) ExitIdentifier ¶
func (s *BaseOpenFGAParserListener) ExitIdentifier(ctx *IdentifierContext)
ExitIdentifier is called when production identifier is exited.
func (*BaseOpenFGAParserListener) ExitMain ¶
func (s *BaseOpenFGAParserListener) ExitMain(ctx *MainContext)
ExitMain is called when production main is exited.
func (*BaseOpenFGAParserListener) ExitModelHeader ¶
func (s *BaseOpenFGAParserListener) ExitModelHeader(ctx *ModelHeaderContext)
ExitModelHeader is called when production modelHeader is exited.
func (*BaseOpenFGAParserListener) ExitModuleHeader ¶
func (s *BaseOpenFGAParserListener) ExitModuleHeader(ctx *ModuleHeaderContext)
ExitModuleHeader is called when production moduleHeader is exited.
func (*BaseOpenFGAParserListener) ExitMultiLineComment ¶
func (s *BaseOpenFGAParserListener) ExitMultiLineComment(ctx *MultiLineCommentContext)
ExitMultiLineComment is called when production multiLineComment is exited.
func (*BaseOpenFGAParserListener) ExitParameterName ¶
func (s *BaseOpenFGAParserListener) ExitParameterName(ctx *ParameterNameContext)
ExitParameterName is called when production parameterName is exited.
func (*BaseOpenFGAParserListener) ExitParameterType ¶
func (s *BaseOpenFGAParserListener) ExitParameterType(ctx *ParameterTypeContext)
ExitParameterType is called when production parameterType is exited.
func (*BaseOpenFGAParserListener) ExitRelationDeclaration ¶
func (s *BaseOpenFGAParserListener) ExitRelationDeclaration(ctx *RelationDeclarationContext)
ExitRelationDeclaration is called when production relationDeclaration is exited.
func (*BaseOpenFGAParserListener) ExitRelationDef ¶
func (s *BaseOpenFGAParserListener) ExitRelationDef(ctx *RelationDefContext)
ExitRelationDef is called when production relationDef is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefDirectAssignment ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefDirectAssignment(ctx *RelationDefDirectAssignmentContext)
ExitRelationDefDirectAssignment is called when production relationDefDirectAssignment is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefGrouping ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefGrouping(ctx *RelationDefGroupingContext)
ExitRelationDefGrouping is called when production relationDefGrouping is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefNoDirect ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefNoDirect(ctx *RelationDefNoDirectContext)
ExitRelationDefNoDirect is called when production relationDefNoDirect is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefPartials ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefPartials(ctx *RelationDefPartialsContext)
ExitRelationDefPartials is called when production relationDefPartials is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefRewrite ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefRewrite(ctx *RelationDefRewriteContext)
ExitRelationDefRewrite is called when production relationDefRewrite is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefTypeRestriction ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefTypeRestriction(ctx *RelationDefTypeRestrictionContext)
ExitRelationDefTypeRestriction is called when production relationDefTypeRestriction is exited.
func (*BaseOpenFGAParserListener) ExitRelationDefTypeRestrictionBase ¶
func (s *BaseOpenFGAParserListener) ExitRelationDefTypeRestrictionBase(ctx *RelationDefTypeRestrictionBaseContext)
ExitRelationDefTypeRestrictionBase is called when production relationDefTypeRestrictionBase is exited.
func (*BaseOpenFGAParserListener) ExitRelationName ¶
func (s *BaseOpenFGAParserListener) ExitRelationName(ctx *RelationNameContext)
ExitRelationName is called when production relationName is exited.
func (*BaseOpenFGAParserListener) ExitRelationRecurse ¶
func (s *BaseOpenFGAParserListener) ExitRelationRecurse(ctx *RelationRecurseContext)
ExitRelationRecurse is called when production relationRecurse is exited.
func (*BaseOpenFGAParserListener) ExitRelationRecurseNoDirect ¶
func (s *BaseOpenFGAParserListener) ExitRelationRecurseNoDirect(ctx *RelationRecurseNoDirectContext)
ExitRelationRecurseNoDirect is called when production relationRecurseNoDirect is exited.
func (*BaseOpenFGAParserListener) ExitTypeDef ¶
func (s *BaseOpenFGAParserListener) ExitTypeDef(ctx *TypeDefContext)
ExitTypeDef is called when production typeDef is exited.
func (*BaseOpenFGAParserListener) ExitTypeDefs ¶
func (s *BaseOpenFGAParserListener) ExitTypeDefs(ctx *TypeDefsContext)
ExitTypeDefs is called when production typeDefs is exited.
func (*BaseOpenFGAParserListener) VisitErrorNode ¶
func (s *BaseOpenFGAParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseOpenFGAParserListener) VisitTerminal ¶
func (s *BaseOpenFGAParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type ConditionContext ¶
type ConditionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionContext ¶
func NewConditionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionContext
func NewEmptyConditionContext ¶
func NewEmptyConditionContext() *ConditionContext
func (*ConditionContext) AllCOMMA ¶
func (s *ConditionContext) AllCOMMA() []antlr.TerminalNode
func (*ConditionContext) AllConditionParameter ¶
func (s *ConditionContext) AllConditionParameter() []IConditionParameterContext
func (*ConditionContext) AllNEWLINE ¶
func (s *ConditionContext) AllNEWLINE() []antlr.TerminalNode
func (*ConditionContext) AllWHITESPACE ¶
func (s *ConditionContext) AllWHITESPACE() []antlr.TerminalNode
func (*ConditionContext) COMMA ¶
func (s *ConditionContext) COMMA(i int) antlr.TerminalNode
func (*ConditionContext) CONDITION ¶
func (s *ConditionContext) CONDITION() antlr.TerminalNode
func (*ConditionContext) ConditionExpression ¶
func (s *ConditionContext) ConditionExpression() IConditionExpressionContext
func (*ConditionContext) ConditionName ¶
func (s *ConditionContext) ConditionName() IConditionNameContext
func (*ConditionContext) ConditionParameter ¶
func (s *ConditionContext) ConditionParameter(i int) IConditionParameterContext
func (*ConditionContext) EnterRule ¶
func (s *ConditionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConditionContext) ExitRule ¶
func (s *ConditionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConditionContext) GetParser ¶
func (s *ConditionContext) GetParser() antlr.Parser
func (*ConditionContext) GetRuleContext ¶
func (s *ConditionContext) GetRuleContext() antlr.RuleContext
func (*ConditionContext) IsConditionContext ¶
func (*ConditionContext) IsConditionContext()
func (*ConditionContext) LBRACE ¶
func (s *ConditionContext) LBRACE() antlr.TerminalNode
func (*ConditionContext) LPAREN ¶
func (s *ConditionContext) LPAREN() antlr.TerminalNode
func (*ConditionContext) MultiLineComment ¶
func (s *ConditionContext) MultiLineComment() IMultiLineCommentContext
func (*ConditionContext) NEWLINE ¶
func (s *ConditionContext) NEWLINE(i int) antlr.TerminalNode
func (*ConditionContext) RBRACE ¶
func (s *ConditionContext) RBRACE() antlr.TerminalNode
func (*ConditionContext) RPAREN ¶
func (s *ConditionContext) RPAREN() antlr.TerminalNode
func (*ConditionContext) ToStringTree ¶
func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ConditionContext) WHITESPACE ¶
func (s *ConditionContext) WHITESPACE(i int) antlr.TerminalNode
type ConditionExpressionContext ¶
type ConditionExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionExpressionContext ¶
func NewConditionExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionExpressionContext
func NewEmptyConditionExpressionContext ¶
func NewEmptyConditionExpressionContext() *ConditionExpressionContext
func (*ConditionExpressionContext) AllBYTES ¶
func (s *ConditionExpressionContext) AllBYTES() []antlr.TerminalNode
func (*ConditionExpressionContext) AllCEL_COMMENT ¶
func (s *ConditionExpressionContext) AllCEL_COMMENT() []antlr.TerminalNode
func (*ConditionExpressionContext) AllCEL_FALSE ¶
func (s *ConditionExpressionContext) AllCEL_FALSE() []antlr.TerminalNode
func (*ConditionExpressionContext) AllCEL_TRUE ¶
func (s *ConditionExpressionContext) AllCEL_TRUE() []antlr.TerminalNode
func (*ConditionExpressionContext) AllDOT ¶
func (s *ConditionExpressionContext) AllDOT() []antlr.TerminalNode
func (*ConditionExpressionContext) AllEQUALS ¶
func (s *ConditionExpressionContext) AllEQUALS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllEXCLAM ¶
func (s *ConditionExpressionContext) AllEXCLAM() []antlr.TerminalNode
func (*ConditionExpressionContext) AllGREATER ¶
func (s *ConditionExpressionContext) AllGREATER() []antlr.TerminalNode
func (*ConditionExpressionContext) AllGREATER_EQUALS ¶
func (s *ConditionExpressionContext) AllGREATER_EQUALS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllIDENTIFIER ¶
func (s *ConditionExpressionContext) AllIDENTIFIER() []antlr.TerminalNode
func (*ConditionExpressionContext) AllIN ¶
func (s *ConditionExpressionContext) AllIN() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLBRACE ¶
func (s *ConditionExpressionContext) AllLBRACE() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLBRACKET ¶
func (s *ConditionExpressionContext) AllLBRACKET() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLESS ¶
func (s *ConditionExpressionContext) AllLESS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLESS_EQUALS ¶
func (s *ConditionExpressionContext) AllLESS_EQUALS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLOGICAL_AND ¶
func (s *ConditionExpressionContext) AllLOGICAL_AND() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLOGICAL_OR ¶
func (s *ConditionExpressionContext) AllLOGICAL_OR() []antlr.TerminalNode
func (*ConditionExpressionContext) AllLPAREN ¶
func (s *ConditionExpressionContext) AllLPAREN() []antlr.TerminalNode
func (*ConditionExpressionContext) AllMINUS ¶
func (s *ConditionExpressionContext) AllMINUS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllNEWLINE ¶
func (s *ConditionExpressionContext) AllNEWLINE() []antlr.TerminalNode
func (*ConditionExpressionContext) AllNOT_EQUALS ¶
func (s *ConditionExpressionContext) AllNOT_EQUALS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllNUL ¶
func (s *ConditionExpressionContext) AllNUL() []antlr.TerminalNode
func (*ConditionExpressionContext) AllNUM_FLOAT ¶
func (s *ConditionExpressionContext) AllNUM_FLOAT() []antlr.TerminalNode
func (*ConditionExpressionContext) AllNUM_INT ¶
func (s *ConditionExpressionContext) AllNUM_INT() []antlr.TerminalNode
func (*ConditionExpressionContext) AllNUM_UINT ¶
func (s *ConditionExpressionContext) AllNUM_UINT() []antlr.TerminalNode
func (*ConditionExpressionContext) AllPERCENT ¶
func (s *ConditionExpressionContext) AllPERCENT() []antlr.TerminalNode
func (*ConditionExpressionContext) AllPLUS ¶
func (s *ConditionExpressionContext) AllPLUS() []antlr.TerminalNode
func (*ConditionExpressionContext) AllQUESTIONMARK ¶
func (s *ConditionExpressionContext) AllQUESTIONMARK() []antlr.TerminalNode
func (*ConditionExpressionContext) AllRBRACE ¶
func (s *ConditionExpressionContext) AllRBRACE() []antlr.TerminalNode
func (*ConditionExpressionContext) AllRPAREN ¶
func (s *ConditionExpressionContext) AllRPAREN() []antlr.TerminalNode
func (*ConditionExpressionContext) AllRPRACKET ¶
func (s *ConditionExpressionContext) AllRPRACKET() []antlr.TerminalNode
func (*ConditionExpressionContext) AllSLASH ¶
func (s *ConditionExpressionContext) AllSLASH() []antlr.TerminalNode
func (*ConditionExpressionContext) AllSTAR ¶
func (s *ConditionExpressionContext) AllSTAR() []antlr.TerminalNode
func (*ConditionExpressionContext) AllSTRING ¶
func (s *ConditionExpressionContext) AllSTRING() []antlr.TerminalNode
func (*ConditionExpressionContext) AllWHITESPACE ¶
func (s *ConditionExpressionContext) AllWHITESPACE() []antlr.TerminalNode
func (*ConditionExpressionContext) BYTES ¶
func (s *ConditionExpressionContext) BYTES(i int) antlr.TerminalNode
func (*ConditionExpressionContext) CEL_COMMENT ¶
func (s *ConditionExpressionContext) CEL_COMMENT(i int) antlr.TerminalNode
func (*ConditionExpressionContext) CEL_FALSE ¶
func (s *ConditionExpressionContext) CEL_FALSE(i int) antlr.TerminalNode
func (*ConditionExpressionContext) CEL_TRUE ¶
func (s *ConditionExpressionContext) CEL_TRUE(i int) antlr.TerminalNode
func (*ConditionExpressionContext) DOT ¶
func (s *ConditionExpressionContext) DOT(i int) antlr.TerminalNode
func (*ConditionExpressionContext) EQUALS ¶
func (s *ConditionExpressionContext) EQUALS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) EXCLAM ¶
func (s *ConditionExpressionContext) EXCLAM(i int) antlr.TerminalNode
func (*ConditionExpressionContext) EnterRule ¶
func (s *ConditionExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConditionExpressionContext) ExitRule ¶
func (s *ConditionExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConditionExpressionContext) GREATER ¶
func (s *ConditionExpressionContext) GREATER(i int) antlr.TerminalNode
func (*ConditionExpressionContext) GREATER_EQUALS ¶
func (s *ConditionExpressionContext) GREATER_EQUALS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) GetParser ¶
func (s *ConditionExpressionContext) GetParser() antlr.Parser
func (*ConditionExpressionContext) GetRuleContext ¶
func (s *ConditionExpressionContext) GetRuleContext() antlr.RuleContext
func (*ConditionExpressionContext) IDENTIFIER ¶
func (s *ConditionExpressionContext) IDENTIFIER(i int) antlr.TerminalNode
func (*ConditionExpressionContext) IN ¶
func (s *ConditionExpressionContext) IN(i int) antlr.TerminalNode
func (*ConditionExpressionContext) IsConditionExpressionContext ¶
func (*ConditionExpressionContext) IsConditionExpressionContext()
func (*ConditionExpressionContext) LBRACE ¶
func (s *ConditionExpressionContext) LBRACE(i int) antlr.TerminalNode
func (*ConditionExpressionContext) LBRACKET ¶
func (s *ConditionExpressionContext) LBRACKET(i int) antlr.TerminalNode
func (*ConditionExpressionContext) LESS ¶
func (s *ConditionExpressionContext) LESS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) LESS_EQUALS ¶
func (s *ConditionExpressionContext) LESS_EQUALS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) LOGICAL_AND ¶
func (s *ConditionExpressionContext) LOGICAL_AND(i int) antlr.TerminalNode
func (*ConditionExpressionContext) LOGICAL_OR ¶
func (s *ConditionExpressionContext) LOGICAL_OR(i int) antlr.TerminalNode
func (*ConditionExpressionContext) LPAREN ¶
func (s *ConditionExpressionContext) LPAREN(i int) antlr.TerminalNode
func (*ConditionExpressionContext) MINUS ¶
func (s *ConditionExpressionContext) MINUS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) NEWLINE ¶
func (s *ConditionExpressionContext) NEWLINE(i int) antlr.TerminalNode
func (*ConditionExpressionContext) NOT_EQUALS ¶
func (s *ConditionExpressionContext) NOT_EQUALS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) NUL ¶
func (s *ConditionExpressionContext) NUL(i int) antlr.TerminalNode
func (*ConditionExpressionContext) NUM_FLOAT ¶
func (s *ConditionExpressionContext) NUM_FLOAT(i int) antlr.TerminalNode
func (*ConditionExpressionContext) NUM_INT ¶
func (s *ConditionExpressionContext) NUM_INT(i int) antlr.TerminalNode
func (*ConditionExpressionContext) NUM_UINT ¶
func (s *ConditionExpressionContext) NUM_UINT(i int) antlr.TerminalNode
func (*ConditionExpressionContext) PERCENT ¶
func (s *ConditionExpressionContext) PERCENT(i int) antlr.TerminalNode
func (*ConditionExpressionContext) PLUS ¶
func (s *ConditionExpressionContext) PLUS(i int) antlr.TerminalNode
func (*ConditionExpressionContext) QUESTIONMARK ¶
func (s *ConditionExpressionContext) QUESTIONMARK(i int) antlr.TerminalNode
func (*ConditionExpressionContext) RBRACE ¶
func (s *ConditionExpressionContext) RBRACE(i int) antlr.TerminalNode
func (*ConditionExpressionContext) RPAREN ¶
func (s *ConditionExpressionContext) RPAREN(i int) antlr.TerminalNode
func (*ConditionExpressionContext) RPRACKET ¶
func (s *ConditionExpressionContext) RPRACKET(i int) antlr.TerminalNode
func (*ConditionExpressionContext) SLASH ¶
func (s *ConditionExpressionContext) SLASH(i int) antlr.TerminalNode
func (*ConditionExpressionContext) STAR ¶
func (s *ConditionExpressionContext) STAR(i int) antlr.TerminalNode
func (*ConditionExpressionContext) STRING ¶
func (s *ConditionExpressionContext) STRING(i int) antlr.TerminalNode
func (*ConditionExpressionContext) ToStringTree ¶
func (s *ConditionExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ConditionExpressionContext) WHITESPACE ¶
func (s *ConditionExpressionContext) WHITESPACE(i int) antlr.TerminalNode
type ConditionNameContext ¶
type ConditionNameContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionNameContext ¶
func NewConditionNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionNameContext
func NewEmptyConditionNameContext ¶
func NewEmptyConditionNameContext() *ConditionNameContext
func (*ConditionNameContext) EnterRule ¶
func (s *ConditionNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConditionNameContext) ExitRule ¶
func (s *ConditionNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConditionNameContext) GetParser ¶
func (s *ConditionNameContext) GetParser() antlr.Parser
func (*ConditionNameContext) GetRuleContext ¶
func (s *ConditionNameContext) GetRuleContext() antlr.RuleContext
func (*ConditionNameContext) IDENTIFIER ¶
func (s *ConditionNameContext) IDENTIFIER() antlr.TerminalNode
func (*ConditionNameContext) IsConditionNameContext ¶
func (*ConditionNameContext) IsConditionNameContext()
func (*ConditionNameContext) ToStringTree ¶
func (s *ConditionNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ConditionParameterContext ¶
type ConditionParameterContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionParameterContext ¶
func NewConditionParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionParameterContext
func NewEmptyConditionParameterContext ¶
func NewEmptyConditionParameterContext() *ConditionParameterContext
func (*ConditionParameterContext) AllWHITESPACE ¶
func (s *ConditionParameterContext) AllWHITESPACE() []antlr.TerminalNode
func (*ConditionParameterContext) COLON ¶
func (s *ConditionParameterContext) COLON() antlr.TerminalNode
func (*ConditionParameterContext) EnterRule ¶
func (s *ConditionParameterContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConditionParameterContext) ExitRule ¶
func (s *ConditionParameterContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConditionParameterContext) GetParser ¶
func (s *ConditionParameterContext) GetParser() antlr.Parser
func (*ConditionParameterContext) GetRuleContext ¶
func (s *ConditionParameterContext) GetRuleContext() antlr.RuleContext
func (*ConditionParameterContext) IsConditionParameterContext ¶
func (*ConditionParameterContext) IsConditionParameterContext()
func (*ConditionParameterContext) NEWLINE ¶
func (s *ConditionParameterContext) NEWLINE() antlr.TerminalNode
func (*ConditionParameterContext) ParameterName ¶
func (s *ConditionParameterContext) ParameterName() IParameterNameContext
func (*ConditionParameterContext) ParameterType ¶
func (s *ConditionParameterContext) ParameterType() IParameterTypeContext
func (*ConditionParameterContext) ToStringTree ¶
func (s *ConditionParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ConditionParameterContext) WHITESPACE ¶
func (s *ConditionParameterContext) WHITESPACE(i int) antlr.TerminalNode
type ConditionsContext ¶
type ConditionsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionsContext ¶
func NewConditionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionsContext
func NewEmptyConditionsContext ¶
func NewEmptyConditionsContext() *ConditionsContext
func (*ConditionsContext) AllCondition ¶
func (s *ConditionsContext) AllCondition() []IConditionContext
func (*ConditionsContext) Condition ¶
func (s *ConditionsContext) Condition(i int) IConditionContext
func (*ConditionsContext) EnterRule ¶
func (s *ConditionsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConditionsContext) ExitRule ¶
func (s *ConditionsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConditionsContext) GetParser ¶
func (s *ConditionsContext) GetParser() antlr.Parser
func (*ConditionsContext) GetRuleContext ¶
func (s *ConditionsContext) GetRuleContext() antlr.RuleContext
func (*ConditionsContext) IsConditionsContext ¶
func (*ConditionsContext) IsConditionsContext()
func (*ConditionsContext) ToStringTree ¶
func (s *ConditionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IConditionContext ¶
type IConditionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode CONDITION() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode ConditionName() IConditionNameContext LPAREN() antlr.TerminalNode AllConditionParameter() []IConditionParameterContext ConditionParameter(i int) IConditionParameterContext RPAREN() antlr.TerminalNode LBRACE() antlr.TerminalNode ConditionExpression() IConditionExpressionContext RBRACE() antlr.TerminalNode MultiLineComment() IMultiLineCommentContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsConditionContext differentiates from other interfaces. IsConditionContext() }
IConditionContext is an interface to support dynamic dispatch.
type IConditionExpressionContext ¶
type IConditionExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode AllEQUALS() []antlr.TerminalNode EQUALS(i int) antlr.TerminalNode AllNOT_EQUALS() []antlr.TerminalNode NOT_EQUALS(i int) antlr.TerminalNode AllIN() []antlr.TerminalNode IN(i int) antlr.TerminalNode AllLESS() []antlr.TerminalNode LESS(i int) antlr.TerminalNode AllLESS_EQUALS() []antlr.TerminalNode LESS_EQUALS(i int) antlr.TerminalNode AllGREATER_EQUALS() []antlr.TerminalNode GREATER_EQUALS(i int) antlr.TerminalNode AllGREATER() []antlr.TerminalNode GREATER(i int) antlr.TerminalNode AllLOGICAL_AND() []antlr.TerminalNode LOGICAL_AND(i int) antlr.TerminalNode AllLOGICAL_OR() []antlr.TerminalNode LOGICAL_OR(i int) antlr.TerminalNode AllLBRACKET() []antlr.TerminalNode LBRACKET(i int) antlr.TerminalNode AllRPRACKET() []antlr.TerminalNode RPRACKET(i int) antlr.TerminalNode AllLBRACE() []antlr.TerminalNode LBRACE(i int) antlr.TerminalNode AllLPAREN() []antlr.TerminalNode LPAREN(i int) antlr.TerminalNode AllRPAREN() []antlr.TerminalNode RPAREN(i int) antlr.TerminalNode AllDOT() []antlr.TerminalNode DOT(i int) antlr.TerminalNode AllMINUS() []antlr.TerminalNode MINUS(i int) antlr.TerminalNode AllEXCLAM() []antlr.TerminalNode EXCLAM(i int) antlr.TerminalNode AllQUESTIONMARK() []antlr.TerminalNode QUESTIONMARK(i int) antlr.TerminalNode AllPLUS() []antlr.TerminalNode PLUS(i int) antlr.TerminalNode AllSTAR() []antlr.TerminalNode STAR(i int) antlr.TerminalNode AllSLASH() []antlr.TerminalNode SLASH(i int) antlr.TerminalNode AllPERCENT() []antlr.TerminalNode PERCENT(i int) antlr.TerminalNode AllCEL_TRUE() []antlr.TerminalNode CEL_TRUE(i int) antlr.TerminalNode AllCEL_FALSE() []antlr.TerminalNode CEL_FALSE(i int) antlr.TerminalNode AllNUL() []antlr.TerminalNode NUL(i int) antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode AllCEL_COMMENT() []antlr.TerminalNode CEL_COMMENT(i int) antlr.TerminalNode AllNUM_FLOAT() []antlr.TerminalNode NUM_FLOAT(i int) antlr.TerminalNode AllNUM_INT() []antlr.TerminalNode NUM_INT(i int) antlr.TerminalNode AllNUM_UINT() []antlr.TerminalNode NUM_UINT(i int) antlr.TerminalNode AllSTRING() []antlr.TerminalNode STRING(i int) antlr.TerminalNode AllBYTES() []antlr.TerminalNode BYTES(i int) antlr.TerminalNode AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode AllRBRACE() []antlr.TerminalNode RBRACE(i int) antlr.TerminalNode // IsConditionExpressionContext differentiates from other interfaces. IsConditionExpressionContext() }
IConditionExpressionContext is an interface to support dynamic dispatch.
type IConditionNameContext ¶
type IConditionNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode // IsConditionNameContext differentiates from other interfaces. IsConditionNameContext() }
IConditionNameContext is an interface to support dynamic dispatch.
type IConditionParameterContext ¶
type IConditionParameterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ParameterName() IParameterNameContext COLON() antlr.TerminalNode ParameterType() IParameterTypeContext NEWLINE() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode // IsConditionParameterContext differentiates from other interfaces. IsConditionParameterContext() }
IConditionParameterContext is an interface to support dynamic dispatch.
type IConditionsContext ¶
type IConditionsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllCondition() []IConditionContext Condition(i int) IConditionContext // IsConditionsContext differentiates from other interfaces. IsConditionsContext() }
IConditionsContext is an interface to support dynamic dispatch.
type IIdentifierContext ¶
type IIdentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MODEL() antlr.TerminalNode SCHEMA() antlr.TerminalNode TYPE() antlr.TerminalNode RELATION() antlr.TerminalNode IDENTIFIER() antlr.TerminalNode MODULE() antlr.TerminalNode EXTEND() antlr.TerminalNode // IsIdentifierContext differentiates from other interfaces. IsIdentifierContext() }
IIdentifierContext is an interface to support dynamic dispatch.
type IMainContext ¶
type IMainContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures TypeDefs() ITypeDefsContext Conditions() IConditionsContext EOF() antlr.TerminalNode ModelHeader() IModelHeaderContext ModuleHeader() IModuleHeaderContext WHITESPACE() antlr.TerminalNode AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode // IsMainContext differentiates from other interfaces. IsMainContext() }
IMainContext is an interface to support dynamic dispatch.
type IModelHeaderContext ¶
type IModelHeaderContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetSchemaVersion returns the schemaVersion token. GetSchemaVersion() antlr.Token // SetSchemaVersion sets the schemaVersion token. SetSchemaVersion(antlr.Token) // Getter signatures MODEL() antlr.TerminalNode AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode SCHEMA() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode SCHEMA_VERSION() antlr.TerminalNode MultiLineComment() IMultiLineCommentContext // IsModelHeaderContext differentiates from other interfaces. IsModelHeaderContext() }
IModelHeaderContext is an interface to support dynamic dispatch.
type IModuleHeaderContext ¶
type IModuleHeaderContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetModuleName returns the moduleName rule contexts. GetModuleName() IIdentifierContext // SetModuleName sets the moduleName rule contexts. SetModuleName(IIdentifierContext) // Getter signatures MODULE() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode Identifier() IIdentifierContext MultiLineComment() IMultiLineCommentContext NEWLINE() antlr.TerminalNode // IsModuleHeaderContext differentiates from other interfaces. IsModuleHeaderContext() }
IModuleHeaderContext is an interface to support dynamic dispatch.
type IMultiLineCommentContext ¶
type IMultiLineCommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HASH() antlr.TerminalNode AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode MultiLineComment() IMultiLineCommentContext // IsMultiLineCommentContext differentiates from other interfaces. IsMultiLineCommentContext() }
IMultiLineCommentContext is an interface to support dynamic dispatch.
type IParameterNameContext ¶
type IParameterNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode // IsParameterNameContext differentiates from other interfaces. IsParameterNameContext() }
IParameterNameContext is an interface to support dynamic dispatch.
type IParameterTypeContext ¶
type IParameterTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures CONDITION_PARAM_TYPE() antlr.TerminalNode CONDITION_PARAM_CONTAINER() antlr.TerminalNode LESS() antlr.TerminalNode GREATER() antlr.TerminalNode // IsParameterTypeContext differentiates from other interfaces. IsParameterTypeContext() }
IParameterTypeContext is an interface to support dynamic dispatch.
type IRelationDeclarationContext ¶
type IRelationDeclarationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode DEFINE() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode RelationName() IRelationNameContext COLON() antlr.TerminalNode RelationDef() IRelationDefContext MultiLineComment() IMultiLineCommentContext // IsRelationDeclarationContext differentiates from other interfaces. IsRelationDeclarationContext() }
IRelationDeclarationContext is an interface to support dynamic dispatch.
type IRelationDefContext ¶
type IRelationDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RelationDefDirectAssignment() IRelationDefDirectAssignmentContext RelationDefGrouping() IRelationDefGroupingContext RelationRecurse() IRelationRecurseContext RelationDefPartials() IRelationDefPartialsContext // IsRelationDefContext differentiates from other interfaces. IsRelationDefContext() }
IRelationDefContext is an interface to support dynamic dispatch.
type IRelationDefDirectAssignmentContext ¶
type IRelationDefDirectAssignmentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACKET() antlr.TerminalNode AllRelationDefTypeRestriction() []IRelationDefTypeRestrictionContext RelationDefTypeRestriction(i int) IRelationDefTypeRestrictionContext RPRACKET() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsRelationDefDirectAssignmentContext differentiates from other interfaces. IsRelationDefDirectAssignmentContext() }
IRelationDefDirectAssignmentContext is an interface to support dynamic dispatch.
type IRelationDefGroupingContext ¶
type IRelationDefGroupingContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RelationDefRewrite() IRelationDefRewriteContext // IsRelationDefGroupingContext differentiates from other interfaces. IsRelationDefGroupingContext() }
IRelationDefGroupingContext is an interface to support dynamic dispatch.
type IRelationDefNoDirectContext ¶
type IRelationDefNoDirectContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RelationDefGrouping() IRelationDefGroupingContext RelationRecurseNoDirect() IRelationRecurseNoDirectContext RelationDefPartials() IRelationDefPartialsContext // IsRelationDefNoDirectContext differentiates from other interfaces. IsRelationDefNoDirectContext() }
IRelationDefNoDirectContext is an interface to support dynamic dispatch.
type IRelationDefPartialsContext ¶
type IRelationDefPartialsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode AllOR() []antlr.TerminalNode OR(i int) antlr.TerminalNode AllRelationDefGrouping() []IRelationDefGroupingContext RelationDefGrouping(i int) IRelationDefGroupingContext AllRelationRecurseNoDirect() []IRelationRecurseNoDirectContext RelationRecurseNoDirect(i int) IRelationRecurseNoDirectContext AllAND() []antlr.TerminalNode AND(i int) antlr.TerminalNode BUT_NOT() antlr.TerminalNode // IsRelationDefPartialsContext differentiates from other interfaces. IsRelationDefPartialsContext() }
IRelationDefPartialsContext is an interface to support dynamic dispatch.
type IRelationDefRewriteContext ¶
type IRelationDefRewriteContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetRewriteComputedusersetName returns the rewriteComputedusersetName rule contexts. GetRewriteComputedusersetName() IIdentifierContext // GetRewriteTuplesetName returns the rewriteTuplesetName rule contexts. GetRewriteTuplesetName() IIdentifierContext // SetRewriteComputedusersetName sets the rewriteComputedusersetName rule contexts. SetRewriteComputedusersetName(IIdentifierContext) // SetRewriteTuplesetName sets the rewriteTuplesetName rule contexts. SetRewriteTuplesetName(IIdentifierContext) // Getter signatures AllIdentifier() []IIdentifierContext Identifier(i int) IIdentifierContext AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode FROM() antlr.TerminalNode // IsRelationDefRewriteContext differentiates from other interfaces. IsRelationDefRewriteContext() }
IRelationDefRewriteContext is an interface to support dynamic dispatch.
type IRelationDefTypeRestrictionBaseContext ¶
type IRelationDefTypeRestrictionBaseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetRelationDefTypeRestrictionWildcard returns the relationDefTypeRestrictionWildcard token. GetRelationDefTypeRestrictionWildcard() antlr.Token // SetRelationDefTypeRestrictionWildcard sets the relationDefTypeRestrictionWildcard token. SetRelationDefTypeRestrictionWildcard(antlr.Token) // GetRelationDefTypeRestrictionType returns the relationDefTypeRestrictionType rule contexts. GetRelationDefTypeRestrictionType() IIdentifierContext // GetRelationDefTypeRestrictionRelation returns the relationDefTypeRestrictionRelation rule contexts. GetRelationDefTypeRestrictionRelation() IIdentifierContext // SetRelationDefTypeRestrictionType sets the relationDefTypeRestrictionType rule contexts. SetRelationDefTypeRestrictionType(IIdentifierContext) // SetRelationDefTypeRestrictionRelation sets the relationDefTypeRestrictionRelation rule contexts. SetRelationDefTypeRestrictionRelation(IIdentifierContext) // Getter signatures AllIdentifier() []IIdentifierContext Identifier(i int) IIdentifierContext COLON() antlr.TerminalNode HASH() antlr.TerminalNode STAR() antlr.TerminalNode // IsRelationDefTypeRestrictionBaseContext differentiates from other interfaces. IsRelationDefTypeRestrictionBaseContext() }
IRelationDefTypeRestrictionBaseContext is an interface to support dynamic dispatch.
type IRelationDefTypeRestrictionContext ¶
type IRelationDefTypeRestrictionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RelationDefTypeRestrictionBase() IRelationDefTypeRestrictionBaseContext AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode KEYWORD_WITH() antlr.TerminalNode ConditionName() IConditionNameContext // IsRelationDefTypeRestrictionContext differentiates from other interfaces. IsRelationDefTypeRestrictionContext() }
IRelationDefTypeRestrictionContext is an interface to support dynamic dispatch.
type IRelationNameContext ¶
type IRelationNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() IIdentifierContext // IsRelationNameContext differentiates from other interfaces. IsRelationNameContext() }
IRelationNameContext is an interface to support dynamic dispatch.
type IRelationRecurseContext ¶
type IRelationRecurseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode RelationDef() IRelationDefContext RelationRecurseNoDirect() IRelationRecurseNoDirectContext AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode // IsRelationRecurseContext differentiates from other interfaces. IsRelationRecurseContext() }
IRelationRecurseContext is an interface to support dynamic dispatch.
type IRelationRecurseNoDirectContext ¶
type IRelationRecurseNoDirectContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode RelationDefNoDirect() IRelationDefNoDirectContext RelationRecurseNoDirect() IRelationRecurseNoDirectContext AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode // IsRelationRecurseNoDirectContext differentiates from other interfaces. IsRelationRecurseNoDirectContext() }
IRelationRecurseNoDirectContext is an interface to support dynamic dispatch.
type ITypeDefContext ¶
type ITypeDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetTypeName returns the typeName rule contexts. GetTypeName() IIdentifierContext // SetTypeName sets the typeName rule contexts. SetTypeName(IIdentifierContext) // Getter signatures AllNEWLINE() []antlr.TerminalNode NEWLINE(i int) antlr.TerminalNode TYPE() antlr.TerminalNode AllWHITESPACE() []antlr.TerminalNode WHITESPACE(i int) antlr.TerminalNode Identifier() IIdentifierContext MultiLineComment() IMultiLineCommentContext EXTEND() antlr.TerminalNode RELATIONS() antlr.TerminalNode AllRelationDeclaration() []IRelationDeclarationContext RelationDeclaration(i int) IRelationDeclarationContext // IsTypeDefContext differentiates from other interfaces. IsTypeDefContext() }
ITypeDefContext is an interface to support dynamic dispatch.
type ITypeDefsContext ¶
type ITypeDefsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllTypeDef() []ITypeDefContext TypeDef(i int) ITypeDefContext // IsTypeDefsContext differentiates from other interfaces. IsTypeDefsContext() }
ITypeDefsContext 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) EXTEND ¶
func (s *IdentifierContext) EXTEND() antlr.TerminalNode
func (*IdentifierContext) EnterRule ¶
func (s *IdentifierContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdentifierContext) ExitRule ¶
func (s *IdentifierContext) ExitRule(listener antlr.ParseTreeListener)
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) MODEL ¶
func (s *IdentifierContext) MODEL() antlr.TerminalNode
func (*IdentifierContext) MODULE ¶
func (s *IdentifierContext) MODULE() antlr.TerminalNode
func (*IdentifierContext) RELATION ¶
func (s *IdentifierContext) RELATION() antlr.TerminalNode
func (*IdentifierContext) SCHEMA ¶
func (s *IdentifierContext) SCHEMA() antlr.TerminalNode
func (*IdentifierContext) TYPE ¶
func (s *IdentifierContext) TYPE() antlr.TerminalNode
func (*IdentifierContext) ToStringTree ¶
func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MainContext ¶
type MainContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMainContext ¶
func NewEmptyMainContext() *MainContext
func NewMainContext ¶
func NewMainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MainContext
func (*MainContext) AllNEWLINE ¶
func (s *MainContext) AllNEWLINE() []antlr.TerminalNode
func (*MainContext) Conditions ¶
func (s *MainContext) Conditions() IConditionsContext
func (*MainContext) EOF ¶
func (s *MainContext) EOF() antlr.TerminalNode
func (*MainContext) EnterRule ¶
func (s *MainContext) EnterRule(listener antlr.ParseTreeListener)
func (*MainContext) ExitRule ¶
func (s *MainContext) ExitRule(listener antlr.ParseTreeListener)
func (*MainContext) GetParser ¶
func (s *MainContext) GetParser() antlr.Parser
func (*MainContext) GetRuleContext ¶
func (s *MainContext) GetRuleContext() antlr.RuleContext
func (*MainContext) IsMainContext ¶
func (*MainContext) IsMainContext()
func (*MainContext) ModelHeader ¶
func (s *MainContext) ModelHeader() IModelHeaderContext
func (*MainContext) ModuleHeader ¶
func (s *MainContext) ModuleHeader() IModuleHeaderContext
func (*MainContext) NEWLINE ¶
func (s *MainContext) NEWLINE(i int) antlr.TerminalNode
func (*MainContext) ToStringTree ¶
func (s *MainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*MainContext) TypeDefs ¶
func (s *MainContext) TypeDefs() ITypeDefsContext
func (*MainContext) WHITESPACE ¶
func (s *MainContext) WHITESPACE() antlr.TerminalNode
type ModelHeaderContext ¶
type ModelHeaderContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyModelHeaderContext ¶
func NewEmptyModelHeaderContext() *ModelHeaderContext
func NewModelHeaderContext ¶
func NewModelHeaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModelHeaderContext
func (*ModelHeaderContext) AllNEWLINE ¶
func (s *ModelHeaderContext) AllNEWLINE() []antlr.TerminalNode
func (*ModelHeaderContext) AllWHITESPACE ¶
func (s *ModelHeaderContext) AllWHITESPACE() []antlr.TerminalNode
func (*ModelHeaderContext) EnterRule ¶
func (s *ModelHeaderContext) EnterRule(listener antlr.ParseTreeListener)
func (*ModelHeaderContext) ExitRule ¶
func (s *ModelHeaderContext) ExitRule(listener antlr.ParseTreeListener)
func (*ModelHeaderContext) GetParser ¶
func (s *ModelHeaderContext) GetParser() antlr.Parser
func (*ModelHeaderContext) GetRuleContext ¶
func (s *ModelHeaderContext) GetRuleContext() antlr.RuleContext
func (*ModelHeaderContext) GetSchemaVersion ¶
func (s *ModelHeaderContext) GetSchemaVersion() antlr.Token
func (*ModelHeaderContext) IsModelHeaderContext ¶
func (*ModelHeaderContext) IsModelHeaderContext()
func (*ModelHeaderContext) MODEL ¶
func (s *ModelHeaderContext) MODEL() antlr.TerminalNode
func (*ModelHeaderContext) MultiLineComment ¶
func (s *ModelHeaderContext) MultiLineComment() IMultiLineCommentContext
func (*ModelHeaderContext) NEWLINE ¶
func (s *ModelHeaderContext) NEWLINE(i int) antlr.TerminalNode
func (*ModelHeaderContext) SCHEMA ¶
func (s *ModelHeaderContext) SCHEMA() antlr.TerminalNode
func (*ModelHeaderContext) SCHEMA_VERSION ¶
func (s *ModelHeaderContext) SCHEMA_VERSION() antlr.TerminalNode
func (*ModelHeaderContext) SetSchemaVersion ¶
func (s *ModelHeaderContext) SetSchemaVersion(v antlr.Token)
func (*ModelHeaderContext) ToStringTree ¶
func (s *ModelHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ModelHeaderContext) WHITESPACE ¶
func (s *ModelHeaderContext) WHITESPACE(i int) antlr.TerminalNode
type ModuleHeaderContext ¶
type ModuleHeaderContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyModuleHeaderContext ¶
func NewEmptyModuleHeaderContext() *ModuleHeaderContext
func NewModuleHeaderContext ¶
func NewModuleHeaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModuleHeaderContext
func (*ModuleHeaderContext) AllWHITESPACE ¶
func (s *ModuleHeaderContext) AllWHITESPACE() []antlr.TerminalNode
func (*ModuleHeaderContext) EnterRule ¶
func (s *ModuleHeaderContext) EnterRule(listener antlr.ParseTreeListener)
func (*ModuleHeaderContext) ExitRule ¶
func (s *ModuleHeaderContext) ExitRule(listener antlr.ParseTreeListener)
func (*ModuleHeaderContext) GetModuleName ¶
func (s *ModuleHeaderContext) GetModuleName() IIdentifierContext
func (*ModuleHeaderContext) GetParser ¶
func (s *ModuleHeaderContext) GetParser() antlr.Parser
func (*ModuleHeaderContext) GetRuleContext ¶
func (s *ModuleHeaderContext) GetRuleContext() antlr.RuleContext
func (*ModuleHeaderContext) Identifier ¶
func (s *ModuleHeaderContext) Identifier() IIdentifierContext
func (*ModuleHeaderContext) IsModuleHeaderContext ¶
func (*ModuleHeaderContext) IsModuleHeaderContext()
func (*ModuleHeaderContext) MODULE ¶
func (s *ModuleHeaderContext) MODULE() antlr.TerminalNode
func (*ModuleHeaderContext) MultiLineComment ¶
func (s *ModuleHeaderContext) MultiLineComment() IMultiLineCommentContext
func (*ModuleHeaderContext) NEWLINE ¶
func (s *ModuleHeaderContext) NEWLINE() antlr.TerminalNode
func (*ModuleHeaderContext) SetModuleName ¶
func (s *ModuleHeaderContext) SetModuleName(v IIdentifierContext)
func (*ModuleHeaderContext) ToStringTree ¶
func (s *ModuleHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ModuleHeaderContext) WHITESPACE ¶
func (s *ModuleHeaderContext) WHITESPACE(i int) antlr.TerminalNode
type MultiLineCommentContext ¶
type MultiLineCommentContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMultiLineCommentContext ¶
func NewEmptyMultiLineCommentContext() *MultiLineCommentContext
func NewMultiLineCommentContext ¶
func NewMultiLineCommentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MultiLineCommentContext
func (*MultiLineCommentContext) AllNEWLINE ¶
func (s *MultiLineCommentContext) AllNEWLINE() []antlr.TerminalNode
func (*MultiLineCommentContext) EnterRule ¶
func (s *MultiLineCommentContext) EnterRule(listener antlr.ParseTreeListener)
func (*MultiLineCommentContext) ExitRule ¶
func (s *MultiLineCommentContext) ExitRule(listener antlr.ParseTreeListener)
func (*MultiLineCommentContext) GetParser ¶
func (s *MultiLineCommentContext) GetParser() antlr.Parser
func (*MultiLineCommentContext) GetRuleContext ¶
func (s *MultiLineCommentContext) GetRuleContext() antlr.RuleContext
func (*MultiLineCommentContext) HASH ¶
func (s *MultiLineCommentContext) HASH() antlr.TerminalNode
func (*MultiLineCommentContext) IsMultiLineCommentContext ¶
func (*MultiLineCommentContext) IsMultiLineCommentContext()
func (*MultiLineCommentContext) MultiLineComment ¶
func (s *MultiLineCommentContext) MultiLineComment() IMultiLineCommentContext
func (*MultiLineCommentContext) NEWLINE ¶
func (s *MultiLineCommentContext) NEWLINE(i int) antlr.TerminalNode
func (*MultiLineCommentContext) ToStringTree ¶
func (s *MultiLineCommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OpenFGALexer ¶
type OpenFGALexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewOpenFGALexer ¶
func NewOpenFGALexer(input antlr.CharStream) *OpenFGALexer
NewOpenFGALexer produces a new lexer instance for the optional input antlr.CharStream.
type OpenFGAParser ¶
type OpenFGAParser struct {
*antlr.BaseParser
}
func NewOpenFGAParser ¶
func NewOpenFGAParser(input antlr.TokenStream) *OpenFGAParser
NewOpenFGAParser produces a new parser instance for the optional input antlr.TokenStream.
func (*OpenFGAParser) Condition ¶
func (p *OpenFGAParser) Condition() (localctx IConditionContext)
func (*OpenFGAParser) ConditionExpression ¶
func (p *OpenFGAParser) ConditionExpression() (localctx IConditionExpressionContext)
func (*OpenFGAParser) ConditionName ¶
func (p *OpenFGAParser) ConditionName() (localctx IConditionNameContext)
func (*OpenFGAParser) ConditionParameter ¶
func (p *OpenFGAParser) ConditionParameter() (localctx IConditionParameterContext)
func (*OpenFGAParser) Conditions ¶
func (p *OpenFGAParser) Conditions() (localctx IConditionsContext)
func (*OpenFGAParser) Identifier ¶
func (p *OpenFGAParser) Identifier() (localctx IIdentifierContext)
func (*OpenFGAParser) Main ¶
func (p *OpenFGAParser) Main() (localctx IMainContext)
func (*OpenFGAParser) ModelHeader ¶
func (p *OpenFGAParser) ModelHeader() (localctx IModelHeaderContext)
func (*OpenFGAParser) ModuleHeader ¶
func (p *OpenFGAParser) ModuleHeader() (localctx IModuleHeaderContext)
func (*OpenFGAParser) MultiLineComment ¶
func (p *OpenFGAParser) MultiLineComment() (localctx IMultiLineCommentContext)
func (*OpenFGAParser) ParameterName ¶
func (p *OpenFGAParser) ParameterName() (localctx IParameterNameContext)
func (*OpenFGAParser) ParameterType ¶
func (p *OpenFGAParser) ParameterType() (localctx IParameterTypeContext)
func (*OpenFGAParser) RelationDeclaration ¶
func (p *OpenFGAParser) RelationDeclaration() (localctx IRelationDeclarationContext)
func (*OpenFGAParser) RelationDef ¶
func (p *OpenFGAParser) RelationDef() (localctx IRelationDefContext)
func (*OpenFGAParser) RelationDefDirectAssignment ¶
func (p *OpenFGAParser) RelationDefDirectAssignment() (localctx IRelationDefDirectAssignmentContext)
func (*OpenFGAParser) RelationDefGrouping ¶
func (p *OpenFGAParser) RelationDefGrouping() (localctx IRelationDefGroupingContext)
func (*OpenFGAParser) RelationDefNoDirect ¶
func (p *OpenFGAParser) RelationDefNoDirect() (localctx IRelationDefNoDirectContext)
func (*OpenFGAParser) RelationDefPartials ¶
func (p *OpenFGAParser) RelationDefPartials() (localctx IRelationDefPartialsContext)
func (*OpenFGAParser) RelationDefRewrite ¶
func (p *OpenFGAParser) RelationDefRewrite() (localctx IRelationDefRewriteContext)
func (*OpenFGAParser) RelationDefTypeRestriction ¶
func (p *OpenFGAParser) RelationDefTypeRestriction() (localctx IRelationDefTypeRestrictionContext)
func (*OpenFGAParser) RelationDefTypeRestrictionBase ¶
func (p *OpenFGAParser) RelationDefTypeRestrictionBase() (localctx IRelationDefTypeRestrictionBaseContext)
func (*OpenFGAParser) RelationName ¶
func (p *OpenFGAParser) RelationName() (localctx IRelationNameContext)
func (*OpenFGAParser) RelationRecurse ¶
func (p *OpenFGAParser) RelationRecurse() (localctx IRelationRecurseContext)
func (*OpenFGAParser) RelationRecurseNoDirect ¶
func (p *OpenFGAParser) RelationRecurseNoDirect() (localctx IRelationRecurseNoDirectContext)
func (*OpenFGAParser) TypeDef ¶
func (p *OpenFGAParser) TypeDef() (localctx ITypeDefContext)
func (*OpenFGAParser) TypeDefs ¶
func (p *OpenFGAParser) TypeDefs() (localctx ITypeDefsContext)
type OpenFGAParserListener ¶
type OpenFGAParserListener interface { antlr.ParseTreeListener // EnterMain is called when entering the main production. EnterMain(c *MainContext) // EnterModelHeader is called when entering the modelHeader production. EnterModelHeader(c *ModelHeaderContext) // EnterModuleHeader is called when entering the moduleHeader production. EnterModuleHeader(c *ModuleHeaderContext) // EnterTypeDefs is called when entering the typeDefs production. EnterTypeDefs(c *TypeDefsContext) // EnterTypeDef is called when entering the typeDef production. EnterTypeDef(c *TypeDefContext) // EnterRelationDeclaration is called when entering the relationDeclaration production. EnterRelationDeclaration(c *RelationDeclarationContext) // EnterRelationName is called when entering the relationName production. EnterRelationName(c *RelationNameContext) // EnterRelationDef is called when entering the relationDef production. EnterRelationDef(c *RelationDefContext) // EnterRelationDefNoDirect is called when entering the relationDefNoDirect production. EnterRelationDefNoDirect(c *RelationDefNoDirectContext) // EnterRelationDefPartials is called when entering the relationDefPartials production. EnterRelationDefPartials(c *RelationDefPartialsContext) // EnterRelationDefGrouping is called when entering the relationDefGrouping production. EnterRelationDefGrouping(c *RelationDefGroupingContext) // EnterRelationRecurse is called when entering the relationRecurse production. EnterRelationRecurse(c *RelationRecurseContext) // EnterRelationRecurseNoDirect is called when entering the relationRecurseNoDirect production. EnterRelationRecurseNoDirect(c *RelationRecurseNoDirectContext) // EnterRelationDefDirectAssignment is called when entering the relationDefDirectAssignment production. EnterRelationDefDirectAssignment(c *RelationDefDirectAssignmentContext) // EnterRelationDefRewrite is called when entering the relationDefRewrite production. EnterRelationDefRewrite(c *RelationDefRewriteContext) // EnterRelationDefTypeRestriction is called when entering the relationDefTypeRestriction production. EnterRelationDefTypeRestriction(c *RelationDefTypeRestrictionContext) // EnterRelationDefTypeRestrictionBase is called when entering the relationDefTypeRestrictionBase production. EnterRelationDefTypeRestrictionBase(c *RelationDefTypeRestrictionBaseContext) // EnterConditions is called when entering the conditions production. EnterConditions(c *ConditionsContext) // EnterCondition is called when entering the condition production. EnterCondition(c *ConditionContext) // EnterConditionName is called when entering the conditionName production. EnterConditionName(c *ConditionNameContext) // EnterConditionParameter is called when entering the conditionParameter production. EnterConditionParameter(c *ConditionParameterContext) // EnterParameterName is called when entering the parameterName production. EnterParameterName(c *ParameterNameContext) // EnterParameterType is called when entering the parameterType production. EnterParameterType(c *ParameterTypeContext) // EnterMultiLineComment is called when entering the multiLineComment production. EnterMultiLineComment(c *MultiLineCommentContext) // EnterIdentifier is called when entering the identifier production. EnterIdentifier(c *IdentifierContext) // EnterConditionExpression is called when entering the conditionExpression production. EnterConditionExpression(c *ConditionExpressionContext) // ExitMain is called when exiting the main production. ExitMain(c *MainContext) // ExitModelHeader is called when exiting the modelHeader production. ExitModelHeader(c *ModelHeaderContext) // ExitModuleHeader is called when exiting the moduleHeader production. ExitModuleHeader(c *ModuleHeaderContext) // ExitTypeDefs is called when exiting the typeDefs production. ExitTypeDefs(c *TypeDefsContext) // ExitTypeDef is called when exiting the typeDef production. ExitTypeDef(c *TypeDefContext) // ExitRelationDeclaration is called when exiting the relationDeclaration production. ExitRelationDeclaration(c *RelationDeclarationContext) // ExitRelationName is called when exiting the relationName production. ExitRelationName(c *RelationNameContext) // ExitRelationDef is called when exiting the relationDef production. ExitRelationDef(c *RelationDefContext) // ExitRelationDefNoDirect is called when exiting the relationDefNoDirect production. ExitRelationDefNoDirect(c *RelationDefNoDirectContext) // ExitRelationDefPartials is called when exiting the relationDefPartials production. ExitRelationDefPartials(c *RelationDefPartialsContext) // ExitRelationDefGrouping is called when exiting the relationDefGrouping production. ExitRelationDefGrouping(c *RelationDefGroupingContext) // ExitRelationRecurse is called when exiting the relationRecurse production. ExitRelationRecurse(c *RelationRecurseContext) // ExitRelationRecurseNoDirect is called when exiting the relationRecurseNoDirect production. ExitRelationRecurseNoDirect(c *RelationRecurseNoDirectContext) // ExitRelationDefDirectAssignment is called when exiting the relationDefDirectAssignment production. ExitRelationDefDirectAssignment(c *RelationDefDirectAssignmentContext) // ExitRelationDefRewrite is called when exiting the relationDefRewrite production. ExitRelationDefRewrite(c *RelationDefRewriteContext) // ExitRelationDefTypeRestriction is called when exiting the relationDefTypeRestriction production. ExitRelationDefTypeRestriction(c *RelationDefTypeRestrictionContext) // ExitRelationDefTypeRestrictionBase is called when exiting the relationDefTypeRestrictionBase production. ExitRelationDefTypeRestrictionBase(c *RelationDefTypeRestrictionBaseContext) // ExitConditions is called when exiting the conditions production. ExitConditions(c *ConditionsContext) // ExitCondition is called when exiting the condition production. ExitCondition(c *ConditionContext) // ExitConditionName is called when exiting the conditionName production. ExitConditionName(c *ConditionNameContext) // ExitConditionParameter is called when exiting the conditionParameter production. ExitConditionParameter(c *ConditionParameterContext) // ExitParameterName is called when exiting the parameterName production. ExitParameterName(c *ParameterNameContext) // ExitParameterType is called when exiting the parameterType production. ExitParameterType(c *ParameterTypeContext) // ExitMultiLineComment is called when exiting the multiLineComment production. ExitMultiLineComment(c *MultiLineCommentContext) // ExitIdentifier is called when exiting the identifier production. ExitIdentifier(c *IdentifierContext) // ExitConditionExpression is called when exiting the conditionExpression production. ExitConditionExpression(c *ConditionExpressionContext) }
OpenFGAParserListener is a complete listener for a parse tree produced by OpenFGAParser.
type ParameterNameContext ¶
type ParameterNameContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParameterNameContext ¶
func NewEmptyParameterNameContext() *ParameterNameContext
func NewParameterNameContext ¶
func NewParameterNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterNameContext
func (*ParameterNameContext) EnterRule ¶
func (s *ParameterNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParameterNameContext) ExitRule ¶
func (s *ParameterNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParameterNameContext) GetParser ¶
func (s *ParameterNameContext) GetParser() antlr.Parser
func (*ParameterNameContext) GetRuleContext ¶
func (s *ParameterNameContext) GetRuleContext() antlr.RuleContext
func (*ParameterNameContext) IDENTIFIER ¶
func (s *ParameterNameContext) IDENTIFIER() antlr.TerminalNode
func (*ParameterNameContext) IsParameterNameContext ¶
func (*ParameterNameContext) IsParameterNameContext()
func (*ParameterNameContext) ToStringTree ¶
func (s *ParameterNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ParameterTypeContext ¶
type ParameterTypeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParameterTypeContext ¶
func NewEmptyParameterTypeContext() *ParameterTypeContext
func NewParameterTypeContext ¶
func NewParameterTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterTypeContext
func (*ParameterTypeContext) CONDITION_PARAM_CONTAINER ¶
func (s *ParameterTypeContext) CONDITION_PARAM_CONTAINER() antlr.TerminalNode
func (*ParameterTypeContext) CONDITION_PARAM_TYPE ¶
func (s *ParameterTypeContext) CONDITION_PARAM_TYPE() antlr.TerminalNode
func (*ParameterTypeContext) EnterRule ¶
func (s *ParameterTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParameterTypeContext) ExitRule ¶
func (s *ParameterTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParameterTypeContext) GREATER ¶
func (s *ParameterTypeContext) GREATER() antlr.TerminalNode
func (*ParameterTypeContext) GetParser ¶
func (s *ParameterTypeContext) GetParser() antlr.Parser
func (*ParameterTypeContext) GetRuleContext ¶
func (s *ParameterTypeContext) GetRuleContext() antlr.RuleContext
func (*ParameterTypeContext) IsParameterTypeContext ¶
func (*ParameterTypeContext) IsParameterTypeContext()
func (*ParameterTypeContext) LESS ¶
func (s *ParameterTypeContext) LESS() antlr.TerminalNode
func (*ParameterTypeContext) ToStringTree ¶
func (s *ParameterTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RelationDeclarationContext ¶
type RelationDeclarationContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDeclarationContext ¶
func NewEmptyRelationDeclarationContext() *RelationDeclarationContext
func NewRelationDeclarationContext ¶
func NewRelationDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDeclarationContext
func (*RelationDeclarationContext) AllNEWLINE ¶
func (s *RelationDeclarationContext) AllNEWLINE() []antlr.TerminalNode
func (*RelationDeclarationContext) AllWHITESPACE ¶
func (s *RelationDeclarationContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationDeclarationContext) COLON ¶
func (s *RelationDeclarationContext) COLON() antlr.TerminalNode
func (*RelationDeclarationContext) DEFINE ¶
func (s *RelationDeclarationContext) DEFINE() antlr.TerminalNode
func (*RelationDeclarationContext) EnterRule ¶
func (s *RelationDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDeclarationContext) ExitRule ¶
func (s *RelationDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDeclarationContext) GetParser ¶
func (s *RelationDeclarationContext) GetParser() antlr.Parser
func (*RelationDeclarationContext) GetRuleContext ¶
func (s *RelationDeclarationContext) GetRuleContext() antlr.RuleContext
func (*RelationDeclarationContext) IsRelationDeclarationContext ¶
func (*RelationDeclarationContext) IsRelationDeclarationContext()
func (*RelationDeclarationContext) MultiLineComment ¶
func (s *RelationDeclarationContext) MultiLineComment() IMultiLineCommentContext
func (*RelationDeclarationContext) NEWLINE ¶
func (s *RelationDeclarationContext) NEWLINE(i int) antlr.TerminalNode
func (*RelationDeclarationContext) RelationDef ¶
func (s *RelationDeclarationContext) RelationDef() IRelationDefContext
func (*RelationDeclarationContext) RelationName ¶
func (s *RelationDeclarationContext) RelationName() IRelationNameContext
func (*RelationDeclarationContext) ToStringTree ¶
func (s *RelationDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationDeclarationContext) WHITESPACE ¶
func (s *RelationDeclarationContext) WHITESPACE(i int) antlr.TerminalNode
type RelationDefContext ¶
type RelationDefContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefContext ¶
func NewEmptyRelationDefContext() *RelationDefContext
func NewRelationDefContext ¶
func NewRelationDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefContext
func (*RelationDefContext) EnterRule ¶
func (s *RelationDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefContext) ExitRule ¶
func (s *RelationDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefContext) GetParser ¶
func (s *RelationDefContext) GetParser() antlr.Parser
func (*RelationDefContext) GetRuleContext ¶
func (s *RelationDefContext) GetRuleContext() antlr.RuleContext
func (*RelationDefContext) IsRelationDefContext ¶
func (*RelationDefContext) IsRelationDefContext()
func (*RelationDefContext) RelationDefDirectAssignment ¶
func (s *RelationDefContext) RelationDefDirectAssignment() IRelationDefDirectAssignmentContext
func (*RelationDefContext) RelationDefGrouping ¶
func (s *RelationDefContext) RelationDefGrouping() IRelationDefGroupingContext
func (*RelationDefContext) RelationDefPartials ¶
func (s *RelationDefContext) RelationDefPartials() IRelationDefPartialsContext
func (*RelationDefContext) RelationRecurse ¶
func (s *RelationDefContext) RelationRecurse() IRelationRecurseContext
func (*RelationDefContext) ToStringTree ¶
func (s *RelationDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RelationDefDirectAssignmentContext ¶
type RelationDefDirectAssignmentContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefDirectAssignmentContext ¶
func NewEmptyRelationDefDirectAssignmentContext() *RelationDefDirectAssignmentContext
func NewRelationDefDirectAssignmentContext ¶
func NewRelationDefDirectAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefDirectAssignmentContext
func (*RelationDefDirectAssignmentContext) AllCOMMA ¶
func (s *RelationDefDirectAssignmentContext) AllCOMMA() []antlr.TerminalNode
func (*RelationDefDirectAssignmentContext) AllRelationDefTypeRestriction ¶
func (s *RelationDefDirectAssignmentContext) AllRelationDefTypeRestriction() []IRelationDefTypeRestrictionContext
func (*RelationDefDirectAssignmentContext) AllWHITESPACE ¶
func (s *RelationDefDirectAssignmentContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationDefDirectAssignmentContext) COMMA ¶
func (s *RelationDefDirectAssignmentContext) COMMA(i int) antlr.TerminalNode
func (*RelationDefDirectAssignmentContext) EnterRule ¶
func (s *RelationDefDirectAssignmentContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefDirectAssignmentContext) ExitRule ¶
func (s *RelationDefDirectAssignmentContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefDirectAssignmentContext) GetParser ¶
func (s *RelationDefDirectAssignmentContext) GetParser() antlr.Parser
func (*RelationDefDirectAssignmentContext) GetRuleContext ¶
func (s *RelationDefDirectAssignmentContext) GetRuleContext() antlr.RuleContext
func (*RelationDefDirectAssignmentContext) IsRelationDefDirectAssignmentContext ¶
func (*RelationDefDirectAssignmentContext) IsRelationDefDirectAssignmentContext()
func (*RelationDefDirectAssignmentContext) LBRACKET ¶
func (s *RelationDefDirectAssignmentContext) LBRACKET() antlr.TerminalNode
func (*RelationDefDirectAssignmentContext) RPRACKET ¶
func (s *RelationDefDirectAssignmentContext) RPRACKET() antlr.TerminalNode
func (*RelationDefDirectAssignmentContext) RelationDefTypeRestriction ¶
func (s *RelationDefDirectAssignmentContext) RelationDefTypeRestriction(i int) IRelationDefTypeRestrictionContext
func (*RelationDefDirectAssignmentContext) ToStringTree ¶
func (s *RelationDefDirectAssignmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationDefDirectAssignmentContext) WHITESPACE ¶
func (s *RelationDefDirectAssignmentContext) WHITESPACE(i int) antlr.TerminalNode
type RelationDefGroupingContext ¶
type RelationDefGroupingContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefGroupingContext ¶
func NewEmptyRelationDefGroupingContext() *RelationDefGroupingContext
func NewRelationDefGroupingContext ¶
func NewRelationDefGroupingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefGroupingContext
func (*RelationDefGroupingContext) EnterRule ¶
func (s *RelationDefGroupingContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefGroupingContext) ExitRule ¶
func (s *RelationDefGroupingContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefGroupingContext) GetParser ¶
func (s *RelationDefGroupingContext) GetParser() antlr.Parser
func (*RelationDefGroupingContext) GetRuleContext ¶
func (s *RelationDefGroupingContext) GetRuleContext() antlr.RuleContext
func (*RelationDefGroupingContext) IsRelationDefGroupingContext ¶
func (*RelationDefGroupingContext) IsRelationDefGroupingContext()
func (*RelationDefGroupingContext) RelationDefRewrite ¶
func (s *RelationDefGroupingContext) RelationDefRewrite() IRelationDefRewriteContext
func (*RelationDefGroupingContext) ToStringTree ¶
func (s *RelationDefGroupingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RelationDefNoDirectContext ¶
type RelationDefNoDirectContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefNoDirectContext ¶
func NewEmptyRelationDefNoDirectContext() *RelationDefNoDirectContext
func NewRelationDefNoDirectContext ¶
func NewRelationDefNoDirectContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefNoDirectContext
func (*RelationDefNoDirectContext) EnterRule ¶
func (s *RelationDefNoDirectContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefNoDirectContext) ExitRule ¶
func (s *RelationDefNoDirectContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefNoDirectContext) GetParser ¶
func (s *RelationDefNoDirectContext) GetParser() antlr.Parser
func (*RelationDefNoDirectContext) GetRuleContext ¶
func (s *RelationDefNoDirectContext) GetRuleContext() antlr.RuleContext
func (*RelationDefNoDirectContext) IsRelationDefNoDirectContext ¶
func (*RelationDefNoDirectContext) IsRelationDefNoDirectContext()
func (*RelationDefNoDirectContext) RelationDefGrouping ¶
func (s *RelationDefNoDirectContext) RelationDefGrouping() IRelationDefGroupingContext
func (*RelationDefNoDirectContext) RelationDefPartials ¶
func (s *RelationDefNoDirectContext) RelationDefPartials() IRelationDefPartialsContext
func (*RelationDefNoDirectContext) RelationRecurseNoDirect ¶
func (s *RelationDefNoDirectContext) RelationRecurseNoDirect() IRelationRecurseNoDirectContext
func (*RelationDefNoDirectContext) ToStringTree ¶
func (s *RelationDefNoDirectContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RelationDefPartialsContext ¶
type RelationDefPartialsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefPartialsContext ¶
func NewEmptyRelationDefPartialsContext() *RelationDefPartialsContext
func NewRelationDefPartialsContext ¶
func NewRelationDefPartialsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefPartialsContext
func (*RelationDefPartialsContext) AND ¶
func (s *RelationDefPartialsContext) AND(i int) antlr.TerminalNode
func (*RelationDefPartialsContext) AllAND ¶
func (s *RelationDefPartialsContext) AllAND() []antlr.TerminalNode
func (*RelationDefPartialsContext) AllOR ¶
func (s *RelationDefPartialsContext) AllOR() []antlr.TerminalNode
func (*RelationDefPartialsContext) AllRelationDefGrouping ¶
func (s *RelationDefPartialsContext) AllRelationDefGrouping() []IRelationDefGroupingContext
func (*RelationDefPartialsContext) AllRelationRecurseNoDirect ¶
func (s *RelationDefPartialsContext) AllRelationRecurseNoDirect() []IRelationRecurseNoDirectContext
func (*RelationDefPartialsContext) AllWHITESPACE ¶
func (s *RelationDefPartialsContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationDefPartialsContext) BUT_NOT ¶
func (s *RelationDefPartialsContext) BUT_NOT() antlr.TerminalNode
func (*RelationDefPartialsContext) EnterRule ¶
func (s *RelationDefPartialsContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefPartialsContext) ExitRule ¶
func (s *RelationDefPartialsContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefPartialsContext) GetParser ¶
func (s *RelationDefPartialsContext) GetParser() antlr.Parser
func (*RelationDefPartialsContext) GetRuleContext ¶
func (s *RelationDefPartialsContext) GetRuleContext() antlr.RuleContext
func (*RelationDefPartialsContext) IsRelationDefPartialsContext ¶
func (*RelationDefPartialsContext) IsRelationDefPartialsContext()
func (*RelationDefPartialsContext) OR ¶
func (s *RelationDefPartialsContext) OR(i int) antlr.TerminalNode
func (*RelationDefPartialsContext) RelationDefGrouping ¶
func (s *RelationDefPartialsContext) RelationDefGrouping(i int) IRelationDefGroupingContext
func (*RelationDefPartialsContext) RelationRecurseNoDirect ¶
func (s *RelationDefPartialsContext) RelationRecurseNoDirect(i int) IRelationRecurseNoDirectContext
func (*RelationDefPartialsContext) ToStringTree ¶
func (s *RelationDefPartialsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationDefPartialsContext) WHITESPACE ¶
func (s *RelationDefPartialsContext) WHITESPACE(i int) antlr.TerminalNode
type RelationDefRewriteContext ¶
type RelationDefRewriteContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefRewriteContext ¶
func NewEmptyRelationDefRewriteContext() *RelationDefRewriteContext
func NewRelationDefRewriteContext ¶
func NewRelationDefRewriteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefRewriteContext
func (*RelationDefRewriteContext) AllIdentifier ¶
func (s *RelationDefRewriteContext) AllIdentifier() []IIdentifierContext
func (*RelationDefRewriteContext) AllWHITESPACE ¶
func (s *RelationDefRewriteContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationDefRewriteContext) EnterRule ¶
func (s *RelationDefRewriteContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefRewriteContext) ExitRule ¶
func (s *RelationDefRewriteContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefRewriteContext) FROM ¶
func (s *RelationDefRewriteContext) FROM() antlr.TerminalNode
func (*RelationDefRewriteContext) GetParser ¶
func (s *RelationDefRewriteContext) GetParser() antlr.Parser
func (*RelationDefRewriteContext) GetRewriteComputedusersetName ¶
func (s *RelationDefRewriteContext) GetRewriteComputedusersetName() IIdentifierContext
func (*RelationDefRewriteContext) GetRewriteTuplesetName ¶
func (s *RelationDefRewriteContext) GetRewriteTuplesetName() IIdentifierContext
func (*RelationDefRewriteContext) GetRuleContext ¶
func (s *RelationDefRewriteContext) GetRuleContext() antlr.RuleContext
func (*RelationDefRewriteContext) Identifier ¶
func (s *RelationDefRewriteContext) Identifier(i int) IIdentifierContext
func (*RelationDefRewriteContext) IsRelationDefRewriteContext ¶
func (*RelationDefRewriteContext) IsRelationDefRewriteContext()
func (*RelationDefRewriteContext) SetRewriteComputedusersetName ¶
func (s *RelationDefRewriteContext) SetRewriteComputedusersetName(v IIdentifierContext)
func (*RelationDefRewriteContext) SetRewriteTuplesetName ¶
func (s *RelationDefRewriteContext) SetRewriteTuplesetName(v IIdentifierContext)
func (*RelationDefRewriteContext) ToStringTree ¶
func (s *RelationDefRewriteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationDefRewriteContext) WHITESPACE ¶
func (s *RelationDefRewriteContext) WHITESPACE(i int) antlr.TerminalNode
type RelationDefTypeRestrictionBaseContext ¶
type RelationDefTypeRestrictionBaseContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefTypeRestrictionBaseContext ¶
func NewEmptyRelationDefTypeRestrictionBaseContext() *RelationDefTypeRestrictionBaseContext
func NewRelationDefTypeRestrictionBaseContext ¶
func NewRelationDefTypeRestrictionBaseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefTypeRestrictionBaseContext
func (*RelationDefTypeRestrictionBaseContext) AllIdentifier ¶
func (s *RelationDefTypeRestrictionBaseContext) AllIdentifier() []IIdentifierContext
func (*RelationDefTypeRestrictionBaseContext) COLON ¶
func (s *RelationDefTypeRestrictionBaseContext) COLON() antlr.TerminalNode
func (*RelationDefTypeRestrictionBaseContext) EnterRule ¶
func (s *RelationDefTypeRestrictionBaseContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefTypeRestrictionBaseContext) ExitRule ¶
func (s *RelationDefTypeRestrictionBaseContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefTypeRestrictionBaseContext) GetParser ¶
func (s *RelationDefTypeRestrictionBaseContext) GetParser() antlr.Parser
func (*RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionRelation ¶
func (s *RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionRelation() IIdentifierContext
func (*RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionType ¶
func (s *RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionType() IIdentifierContext
func (*RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionWildcard ¶
func (s *RelationDefTypeRestrictionBaseContext) GetRelationDefTypeRestrictionWildcard() antlr.Token
func (*RelationDefTypeRestrictionBaseContext) GetRuleContext ¶
func (s *RelationDefTypeRestrictionBaseContext) GetRuleContext() antlr.RuleContext
func (*RelationDefTypeRestrictionBaseContext) HASH ¶
func (s *RelationDefTypeRestrictionBaseContext) HASH() antlr.TerminalNode
func (*RelationDefTypeRestrictionBaseContext) Identifier ¶
func (s *RelationDefTypeRestrictionBaseContext) Identifier(i int) IIdentifierContext
func (*RelationDefTypeRestrictionBaseContext) IsRelationDefTypeRestrictionBaseContext ¶
func (*RelationDefTypeRestrictionBaseContext) IsRelationDefTypeRestrictionBaseContext()
func (*RelationDefTypeRestrictionBaseContext) STAR ¶
func (s *RelationDefTypeRestrictionBaseContext) STAR() antlr.TerminalNode
func (*RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionRelation ¶
func (s *RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionRelation(v IIdentifierContext)
func (*RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionType ¶
func (s *RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionType(v IIdentifierContext)
func (*RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionWildcard ¶
func (s *RelationDefTypeRestrictionBaseContext) SetRelationDefTypeRestrictionWildcard(v antlr.Token)
func (*RelationDefTypeRestrictionBaseContext) ToStringTree ¶
func (s *RelationDefTypeRestrictionBaseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RelationDefTypeRestrictionContext ¶
type RelationDefTypeRestrictionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationDefTypeRestrictionContext ¶
func NewEmptyRelationDefTypeRestrictionContext() *RelationDefTypeRestrictionContext
func NewRelationDefTypeRestrictionContext ¶
func NewRelationDefTypeRestrictionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationDefTypeRestrictionContext
func (*RelationDefTypeRestrictionContext) AllNEWLINE ¶
func (s *RelationDefTypeRestrictionContext) AllNEWLINE() []antlr.TerminalNode
func (*RelationDefTypeRestrictionContext) AllWHITESPACE ¶
func (s *RelationDefTypeRestrictionContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationDefTypeRestrictionContext) ConditionName ¶
func (s *RelationDefTypeRestrictionContext) ConditionName() IConditionNameContext
func (*RelationDefTypeRestrictionContext) EnterRule ¶
func (s *RelationDefTypeRestrictionContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationDefTypeRestrictionContext) ExitRule ¶
func (s *RelationDefTypeRestrictionContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationDefTypeRestrictionContext) GetParser ¶
func (s *RelationDefTypeRestrictionContext) GetParser() antlr.Parser
func (*RelationDefTypeRestrictionContext) GetRuleContext ¶
func (s *RelationDefTypeRestrictionContext) GetRuleContext() antlr.RuleContext
func (*RelationDefTypeRestrictionContext) IsRelationDefTypeRestrictionContext ¶
func (*RelationDefTypeRestrictionContext) IsRelationDefTypeRestrictionContext()
func (*RelationDefTypeRestrictionContext) KEYWORD_WITH ¶
func (s *RelationDefTypeRestrictionContext) KEYWORD_WITH() antlr.TerminalNode
func (*RelationDefTypeRestrictionContext) NEWLINE ¶
func (s *RelationDefTypeRestrictionContext) NEWLINE(i int) antlr.TerminalNode
func (*RelationDefTypeRestrictionContext) RelationDefTypeRestrictionBase ¶
func (s *RelationDefTypeRestrictionContext) RelationDefTypeRestrictionBase() IRelationDefTypeRestrictionBaseContext
func (*RelationDefTypeRestrictionContext) ToStringTree ¶
func (s *RelationDefTypeRestrictionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationDefTypeRestrictionContext) WHITESPACE ¶
func (s *RelationDefTypeRestrictionContext) WHITESPACE(i int) antlr.TerminalNode
type RelationNameContext ¶
type RelationNameContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationNameContext ¶
func NewEmptyRelationNameContext() *RelationNameContext
func NewRelationNameContext ¶
func NewRelationNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationNameContext
func (*RelationNameContext) EnterRule ¶
func (s *RelationNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationNameContext) ExitRule ¶
func (s *RelationNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationNameContext) GetParser ¶
func (s *RelationNameContext) GetParser() antlr.Parser
func (*RelationNameContext) GetRuleContext ¶
func (s *RelationNameContext) GetRuleContext() antlr.RuleContext
func (*RelationNameContext) Identifier ¶
func (s *RelationNameContext) Identifier() IIdentifierContext
func (*RelationNameContext) IsRelationNameContext ¶
func (*RelationNameContext) IsRelationNameContext()
func (*RelationNameContext) ToStringTree ¶
func (s *RelationNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RelationRecurseContext ¶
type RelationRecurseContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationRecurseContext ¶
func NewEmptyRelationRecurseContext() *RelationRecurseContext
func NewRelationRecurseContext ¶
func NewRelationRecurseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationRecurseContext
func (*RelationRecurseContext) AllWHITESPACE ¶
func (s *RelationRecurseContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationRecurseContext) EnterRule ¶
func (s *RelationRecurseContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationRecurseContext) ExitRule ¶
func (s *RelationRecurseContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationRecurseContext) GetParser ¶
func (s *RelationRecurseContext) GetParser() antlr.Parser
func (*RelationRecurseContext) GetRuleContext ¶
func (s *RelationRecurseContext) GetRuleContext() antlr.RuleContext
func (*RelationRecurseContext) IsRelationRecurseContext ¶
func (*RelationRecurseContext) IsRelationRecurseContext()
func (*RelationRecurseContext) LPAREN ¶
func (s *RelationRecurseContext) LPAREN() antlr.TerminalNode
func (*RelationRecurseContext) RPAREN ¶
func (s *RelationRecurseContext) RPAREN() antlr.TerminalNode
func (*RelationRecurseContext) RelationDef ¶
func (s *RelationRecurseContext) RelationDef() IRelationDefContext
func (*RelationRecurseContext) RelationRecurseNoDirect ¶
func (s *RelationRecurseContext) RelationRecurseNoDirect() IRelationRecurseNoDirectContext
func (*RelationRecurseContext) ToStringTree ¶
func (s *RelationRecurseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationRecurseContext) WHITESPACE ¶
func (s *RelationRecurseContext) WHITESPACE(i int) antlr.TerminalNode
type RelationRecurseNoDirectContext ¶
type RelationRecurseNoDirectContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRelationRecurseNoDirectContext ¶
func NewEmptyRelationRecurseNoDirectContext() *RelationRecurseNoDirectContext
func NewRelationRecurseNoDirectContext ¶
func NewRelationRecurseNoDirectContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationRecurseNoDirectContext
func (*RelationRecurseNoDirectContext) AllWHITESPACE ¶
func (s *RelationRecurseNoDirectContext) AllWHITESPACE() []antlr.TerminalNode
func (*RelationRecurseNoDirectContext) EnterRule ¶
func (s *RelationRecurseNoDirectContext) EnterRule(listener antlr.ParseTreeListener)
func (*RelationRecurseNoDirectContext) ExitRule ¶
func (s *RelationRecurseNoDirectContext) ExitRule(listener antlr.ParseTreeListener)
func (*RelationRecurseNoDirectContext) GetParser ¶
func (s *RelationRecurseNoDirectContext) GetParser() antlr.Parser
func (*RelationRecurseNoDirectContext) GetRuleContext ¶
func (s *RelationRecurseNoDirectContext) GetRuleContext() antlr.RuleContext
func (*RelationRecurseNoDirectContext) IsRelationRecurseNoDirectContext ¶
func (*RelationRecurseNoDirectContext) IsRelationRecurseNoDirectContext()
func (*RelationRecurseNoDirectContext) LPAREN ¶
func (s *RelationRecurseNoDirectContext) LPAREN() antlr.TerminalNode
func (*RelationRecurseNoDirectContext) RPAREN ¶
func (s *RelationRecurseNoDirectContext) RPAREN() antlr.TerminalNode
func (*RelationRecurseNoDirectContext) RelationDefNoDirect ¶
func (s *RelationRecurseNoDirectContext) RelationDefNoDirect() IRelationDefNoDirectContext
func (*RelationRecurseNoDirectContext) RelationRecurseNoDirect ¶
func (s *RelationRecurseNoDirectContext) RelationRecurseNoDirect() IRelationRecurseNoDirectContext
func (*RelationRecurseNoDirectContext) ToStringTree ¶
func (s *RelationRecurseNoDirectContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RelationRecurseNoDirectContext) WHITESPACE ¶
func (s *RelationRecurseNoDirectContext) WHITESPACE(i int) antlr.TerminalNode
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) AllNEWLINE ¶
func (s *TypeDefContext) AllNEWLINE() []antlr.TerminalNode
func (*TypeDefContext) AllRelationDeclaration ¶
func (s *TypeDefContext) AllRelationDeclaration() []IRelationDeclarationContext
func (*TypeDefContext) AllWHITESPACE ¶
func (s *TypeDefContext) AllWHITESPACE() []antlr.TerminalNode
func (*TypeDefContext) EXTEND ¶
func (s *TypeDefContext) EXTEND() antlr.TerminalNode
func (*TypeDefContext) EnterRule ¶
func (s *TypeDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeDefContext) ExitRule ¶
func (s *TypeDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeDefContext) GetParser ¶
func (s *TypeDefContext) GetParser() antlr.Parser
func (*TypeDefContext) GetRuleContext ¶
func (s *TypeDefContext) GetRuleContext() antlr.RuleContext
func (*TypeDefContext) GetTypeName ¶
func (s *TypeDefContext) GetTypeName() IIdentifierContext
func (*TypeDefContext) Identifier ¶
func (s *TypeDefContext) Identifier() IIdentifierContext
func (*TypeDefContext) IsTypeDefContext ¶
func (*TypeDefContext) IsTypeDefContext()
func (*TypeDefContext) MultiLineComment ¶
func (s *TypeDefContext) MultiLineComment() IMultiLineCommentContext
func (*TypeDefContext) NEWLINE ¶
func (s *TypeDefContext) NEWLINE(i int) antlr.TerminalNode
func (*TypeDefContext) RELATIONS ¶
func (s *TypeDefContext) RELATIONS() antlr.TerminalNode
func (*TypeDefContext) RelationDeclaration ¶
func (s *TypeDefContext) RelationDeclaration(i int) IRelationDeclarationContext
func (*TypeDefContext) SetTypeName ¶
func (s *TypeDefContext) SetTypeName(v IIdentifierContext)
func (*TypeDefContext) TYPE ¶
func (s *TypeDefContext) TYPE() antlr.TerminalNode
func (*TypeDefContext) ToStringTree ¶
func (s *TypeDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeDefContext) WHITESPACE ¶
func (s *TypeDefContext) WHITESPACE(i int) antlr.TerminalNode
type TypeDefsContext ¶
type TypeDefsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeDefsContext ¶
func NewEmptyTypeDefsContext() *TypeDefsContext
func NewTypeDefsContext ¶
func NewTypeDefsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDefsContext
func (*TypeDefsContext) AllTypeDef ¶
func (s *TypeDefsContext) AllTypeDef() []ITypeDefContext
func (*TypeDefsContext) EnterRule ¶
func (s *TypeDefsContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeDefsContext) ExitRule ¶
func (s *TypeDefsContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeDefsContext) GetParser ¶
func (s *TypeDefsContext) GetParser() antlr.Parser
func (*TypeDefsContext) GetRuleContext ¶
func (s *TypeDefsContext) GetRuleContext() antlr.RuleContext
func (*TypeDefsContext) IsTypeDefsContext ¶
func (*TypeDefsContext) IsTypeDefsContext()
func (*TypeDefsContext) ToStringTree ¶
func (s *TypeDefsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeDefsContext) TypeDef ¶
func (s *TypeDefsContext) TypeDef(i int) ITypeDefContext