public final class AdvancedMatchHandler extends Object
| Constructor and Description |
|---|
AdvancedMatchHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.antlr.v4.runtime.Token |
getMatchedToken(int tokenType)
Get matched token by token type.
|
public org.antlr.v4.runtime.Token getMatchedToken(int tokenType)
throws org.antlr.v4.runtime.RecognitionException
tokenType - token typeorg.antlr.v4.runtime.RecognitionException - mismatch throw exceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.