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

const LexerActionTypeChannel

const LexerActionTypeCustom

const LexerActionTypeMode

const LexerActionTypeMore

const LexerActionTypePopMode

const LexerActionTypePushMode

const LexerActionTypeSkip

const LexerActionTypeType

type LexerAction

type BaseLexerAction

func NewBaseLexerAction(action int) *BaseLexerAction {}

func (b *BaseLexerAction) execute(_ Lexer) {}

func (b *BaseLexerAction) getActionType() int {}

func (b *BaseLexerAction) getIsPositionDependent() bool {}

func (b *BaseLexerAction) Hash() int {}

func (b *BaseLexerAction) Equals(other LexerAction) bool {}

type LexerSkipAction

func NewLexerSkipAction() *LexerSkipAction {}

var LexerSkipActionINSTANCE

func (l *LexerSkipAction) execute(lexer Lexer) {}

// String returns a string representation of the current [LexerSkipAction].
func (l *LexerSkipAction) String() string {}

func (b *LexerSkipAction) Equals(other LexerAction) bool {}

type LexerTypeAction

func NewLexerTypeAction(thetype int) *LexerTypeAction {}

func (l *LexerTypeAction) execute(lexer Lexer) {}

func (l *LexerTypeAction) Hash() int {}

func (l *LexerTypeAction) Equals(other LexerAction) bool {}

func (l *LexerTypeAction) String() string {}

type LexerPushModeAction

func NewLexerPushModeAction(mode int) *LexerPushModeAction {}

// <p>This action is implemented by calling {@link Lexer//pushMode} with the
// value provided by {@link //getMode}.</p>
func (l *LexerPushModeAction) execute(lexer Lexer) {}

func (l *LexerPushModeAction) Hash() int {}

func (l *LexerPushModeAction) Equals(other LexerAction) bool {}

func (l *LexerPushModeAction) String() string {}

type LexerPopModeAction

func NewLexerPopModeAction() *LexerPopModeAction {}

var LexerPopModeActionINSTANCE

// <p>This action is implemented by calling {@link Lexer//popMode}.</p>
func (l *LexerPopModeAction) execute(lexer Lexer) {}

func (l *LexerPopModeAction) String() string {}

type LexerMoreAction

func NewLexerMoreAction() *LexerMoreAction {}

var LexerMoreActionINSTANCE

// <p>This action is implemented by calling {@link Lexer//popMode}.</p>
func (l *LexerMoreAction) execute(lexer Lexer) {}

func (l *LexerMoreAction) String() string {}

type LexerModeAction

func NewLexerModeAction(mode int) *LexerModeAction {}

// <p>This action is implemented by calling {@link Lexer//mode} with the
// value provided by {@link //getMode}.</p>
func (l *LexerModeAction) execute(lexer Lexer) {}

func (l *LexerModeAction) Hash() int {}

func (l *LexerModeAction) Equals(other LexerAction) bool {}

func (l *LexerModeAction) String() string {}

type LexerCustomAction

func NewLexerCustomAction(ruleIndex, actionIndex int) *LexerCustomAction {}

// <p>Custom actions are implemented by calling {@link Lexer//action} with the
// appropriate rule and action indexes.</p>
func (l *LexerCustomAction) execute(lexer Lexer) {}

func (l *LexerCustomAction) Hash() int {}

func (l *LexerCustomAction) Equals(other LexerAction) bool {}

type LexerChannelAction

// NewLexerChannelAction creates a channel lexer action by calling
// [Lexer.setChannel] with the assigned channel.
//
// Constructs a new channel action with the specified channel value.
func NewLexerChannelAction(channel int) *LexerChannelAction {}

// <p>This action is implemented by calling {@link Lexer//setChannel} with the
// value provided by {@link //getChannel}.</p>
func (l *LexerChannelAction) execute(lexer Lexer) {}

func (l *LexerChannelAction) Hash() int {}

func (l *LexerChannelAction) Equals(other LexerAction) bool {}

func (l *LexerChannelAction) String() string {}

type LexerIndexedCustomAction

// NewLexerIndexedCustomAction constructs a new indexed custom action by associating a character offset
// with a [LexerAction].
//
// Note: This class is only required for lexer actions for which
// [LexerAction.isPositionDependent] returns true.
//
// The offset points into the input [CharStream], relative to
// the token start index, at which the specified lexerAction should be
// executed.
func NewLexerIndexedCustomAction(offset int, lexerAction LexerAction) *LexerIndexedCustomAction {}

// <p>This method calls {@link //execute} on the result of {@link //getAction}
// using the provided {@code lexer}.</p>
func (l *LexerIndexedCustomAction) execute(lexer Lexer) {}

func (l *LexerIndexedCustomAction) Hash() int {}

func (l *LexerIndexedCustomAction) equals(other LexerAction) bool {}