kubernetes/vendor/github.com/antlr4-go/antlr/v4/parser_rule_context.go

type ParserRuleContext

type BaseParserRuleContext

func NewBaseParserRuleContext(parent ParserRuleContext, invokingStateNumber int) *BaseParserRuleContext {}

func InitBaseParserRuleContext(prc *BaseParserRuleContext, parent ParserRuleContext, invokingStateNumber int) {}

func (prc *BaseParserRuleContext) SetException(e RecognitionException) {}

func (prc *BaseParserRuleContext) GetChildren() []Tree {}

func (prc *BaseParserRuleContext) CopyFrom(ctx *BaseParserRuleContext) {}

func (prc *BaseParserRuleContext) GetText() string {}

// EnterRule is called when any rule is entered.
func (prc *BaseParserRuleContext) EnterRule(_ ParseTreeListener) {}

// ExitRule is called when any rule is exited.
func (prc *BaseParserRuleContext) ExitRule(_ ParseTreeListener) {}

// * Does not set parent link other add methods do that
func (prc *BaseParserRuleContext) addTerminalNodeChild(child TerminalNode) TerminalNode {}

func (prc *BaseParserRuleContext) AddChild(child RuleContext) RuleContext {}

// RemoveLastChild is used by [EnterOuterAlt] to toss out a [RuleContext] previously added as
// we entered a rule. If we have a label, we will need to remove
// the generic ruleContext object.
func (prc *BaseParserRuleContext) RemoveLastChild() {}

func (prc *BaseParserRuleContext) AddTokenNode(token Token) *TerminalNodeImpl {}

func (prc *BaseParserRuleContext) AddErrorNode(badToken Token) *ErrorNodeImpl {}

func (prc *BaseParserRuleContext) GetChild(i int) Tree {}

func (prc *BaseParserRuleContext) GetChildOfType(i int, childType reflect.Type) RuleContext {}

func (prc *BaseParserRuleContext) ToStringTree(ruleNames []string, recog Recognizer) string {}

func (prc *BaseParserRuleContext) GetRuleContext() RuleContext {}

func (prc *BaseParserRuleContext) Accept(visitor ParseTreeVisitor) interface{}

func (prc *BaseParserRuleContext) SetStart(t Token) {}

func (prc *BaseParserRuleContext) GetStart() Token {}

func (prc *BaseParserRuleContext) SetStop(t Token) {}

func (prc *BaseParserRuleContext) GetStop() Token {}

func (prc *BaseParserRuleContext) GetToken(ttype int, i int) TerminalNode {}

func (prc *BaseParserRuleContext) GetTokens(ttype int) []TerminalNode {}

func (prc *BaseParserRuleContext) GetPayload() interface{}

func (prc *BaseParserRuleContext) getChild(ctxType reflect.Type, i int) RuleContext {}

func (prc *BaseParserRuleContext) GetTypedRuleContext(ctxType reflect.Type, i int) RuleContext {}

func (prc *BaseParserRuleContext) GetTypedRuleContexts(ctxType reflect.Type) []RuleContext {}

func (prc *BaseParserRuleContext) GetChildCount() int {}

func (prc *BaseParserRuleContext) GetSourceInterval() Interval {}

func (prc *BaseParserRuleContext) String(ruleNames []string, stop RuleContext) string {}

func (prc *BaseParserRuleContext) SetParent(v Tree) {}

func (prc *BaseParserRuleContext) GetInvokingState() int {}

func (prc *BaseParserRuleContext) SetInvokingState(t int) {}

func (prc *BaseParserRuleContext) GetRuleIndex() int {}

func (prc *BaseParserRuleContext) GetAltNumber() int {}

func (prc *BaseParserRuleContext) SetAltNumber(_ int) {}

// IsEmpty returns true if the context of b is empty.
//
// A context is empty if there is no invoking state, meaning nobody calls
// current context.
func (prc *BaseParserRuleContext) IsEmpty() bool {}

// GetParent returns the combined text of all child nodes. This method only considers
// tokens which have been added to the parse tree.
//
// Since tokens on hidden channels (e.g. whitespace or comments) are not
// added to the parse trees, they will not appear in the output of this
// method.
func (prc *BaseParserRuleContext) GetParent() Tree {}

var ParserRuleContextEmpty

type InterpreterRuleContext

type BaseInterpreterRuleContext

//goland:noinspection GoUnusedExportedFunction
func NewBaseInterpreterRuleContext(parent BaseInterpreterRuleContext, invokingStateNumber, ruleIndex int) *BaseInterpreterRuleContext {}