Constructor and Description |
---|
TraversalEnumParser() |
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>,C extends org.antlr.v4.runtime.tree.ParseTree> |
parseTraversalEnumFromContext(Class<E> enumType,
C context)
Parse enum text from a parse tree context into a enum object
|
public static <E extends Enum<E>,C extends org.antlr.v4.runtime.tree.ParseTree> E parseTraversalEnumFromContext(Class<E> enumType, C context)
enumType
- : class of enumcontext
- : parse tree contextCopyright © 2013–2022 Apache Software Foundation. All rights reserved.