public class AliasTokenSource
extends java.lang.Object
implements org.antlr.v4.runtime.TokenSource
| Modifier and Type | Method and Description |
|---|---|
int |
getCharPositionInLine() |
org.antlr.v4.runtime.CharStream |
getInputStream() |
int |
getLine() |
java.lang.String |
getSourceName() |
org.antlr.v4.runtime.TokenFactory<?> |
getTokenFactory() |
org.antlr.v4.runtime.Token |
nextToken() |
void |
setTokenFactory(org.antlr.v4.runtime.TokenFactory<?> factory) |
public org.antlr.v4.runtime.Token nextToken()
nextToken in interface org.antlr.v4.runtime.TokenSourcepublic int getLine()
getLine in interface org.antlr.v4.runtime.TokenSourcepublic int getCharPositionInLine()
getCharPositionInLine in interface org.antlr.v4.runtime.TokenSourcepublic org.antlr.v4.runtime.CharStream getInputStream()
getInputStream in interface org.antlr.v4.runtime.TokenSourcepublic java.lang.String getSourceName()
getSourceName in interface org.antlr.v4.runtime.TokenSourcepublic void setTokenFactory(org.antlr.v4.runtime.TokenFactory<?> factory)
setTokenFactory in interface org.antlr.v4.runtime.TokenSourcepublic org.antlr.v4.runtime.TokenFactory<?> getTokenFactory()
getTokenFactory in interface org.antlr.v4.runtime.TokenSourceCopyright © 2012-2025 Alibaba Group. All Rights Reserved.