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

type TokenSourceCharStreamPair

type Token

type BaseToken

const TokenInvalidType

const TokenEpsilon

const TokenMinUserTokenType

const TokenEOF

const TokenDefaultChannel

const TokenHiddenChannel

func (b *BaseToken) GetChannel() int {}

func (b *BaseToken) GetStart() int {}

func (b *BaseToken) GetStop() int {}

func (b *BaseToken) GetLine() int {}

func (b *BaseToken) GetColumn() int {}

func (b *BaseToken) GetTokenType() int {}

func (b *BaseToken) GetSource() *TokenSourceCharStreamPair {}

func (b *BaseToken) GetTokenIndex() int {}

func (b *BaseToken) SetTokenIndex(v int) {}

func (b *BaseToken) GetTokenSource() TokenSource {}

func (b *BaseToken) GetInputStream() CharStream {}

type CommonToken

func NewCommonToken(source *TokenSourceCharStreamPair, tokenType, channel, start, stop int) *CommonToken {}

// Constructs a New{@link CommonToken} as a copy of another {@link Token}.
//
// <p>
// If {@code oldToken} is also a {@link CommonToken} instance, the newly
// constructed token will share a reference to the {@link //text} field and
// the {@link Pair} stored in {@link //source}. Otherwise, {@link //text} will
// be assigned the result of calling {@link //GetText}, and {@link //source}
// will be constructed from the result of {@link Token//GetTokenSource} and
// {@link Token//GetInputStream}.</p>
//
// @param oldToken The token to copy.
func (c *CommonToken) clone() *CommonToken {}

func (c *CommonToken) GetText() string {}

func (c *CommonToken) SetText(text string) {}

func (c *CommonToken) String() string {}