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

type SemanticContext

func SemanticContextandContext(a, b SemanticContext) SemanticContext {}

func SemanticContextorContext(a, b SemanticContext) SemanticContext {}

type Predicate

func NewPredicate(ruleIndex, predIndex int, isCtxDependent bool) *Predicate {}

var SemanticContextNone

func (p *Predicate) evalPrecedence(_ Recognizer, _ RuleContext) SemanticContext {}

func (p *Predicate) evaluate(parser Recognizer, outerContext RuleContext) bool {}

func (p *Predicate) Equals(other Collectable[SemanticContext]) bool {}

func (p *Predicate) Hash() int {}

func (p *Predicate) String() string {}

type PrecedencePredicate

func NewPrecedencePredicate(precedence int) *PrecedencePredicate {}

func (p *PrecedencePredicate) evaluate(parser Recognizer, outerContext RuleContext) bool {}

func (p *PrecedencePredicate) evalPrecedence(parser Recognizer, outerContext RuleContext) SemanticContext {}

func (p *PrecedencePredicate) compareTo(other *PrecedencePredicate) int {}

func (p *PrecedencePredicate) Equals(other Collectable[SemanticContext]) bool {}

func (p *PrecedencePredicate) Hash() int {}

func (p *PrecedencePredicate) String() string {}

func PrecedencePredicatefilterPrecedencePredicates(set *JStore[SemanticContext, Comparator[SemanticContext]]) []*PrecedencePredicate {}

type AND

func NewAND(a, b SemanticContext) *AND {}

func (a *AND) Equals(other Collectable[SemanticContext]) bool {}

// {@inheritDoc}
//
// <p>
// The evaluation of predicates by a context is short-circuiting, but
// unordered.</p>
func (a *AND) evaluate(parser Recognizer, outerContext RuleContext) bool {}

func (a *AND) evalPrecedence(parser Recognizer, outerContext RuleContext) SemanticContext {}

func (a *AND) Hash() int {}

func (o *OR) Hash() int {}

func (a *AND) String() string {}

type OR

func NewOR(a, b SemanticContext) *OR {}

func (o *OR) Equals(other Collectable[SemanticContext]) bool {}

// <p>
// The evaluation of predicates by o context is short-circuiting, but
// unordered.</p>
func (o *OR) evaluate(parser Recognizer, outerContext RuleContext) bool {}

func (o *OR) evalPrecedence(parser Recognizer, outerContext RuleContext) SemanticContext {}

func (o *OR) String() string {}