public final class ExtractorUtils extends Object
| 构造器和说明 |
|---|
ExtractorUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> |
findFirstChildNode(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Find first child node.
|
static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> |
findFirstChildNodeNoneRecursive(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Find first child node none recursive.
|
static Collection<org.antlr.v4.runtime.ParserRuleContext> |
getAllDescendantNodes(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Get all descendant nodes.
|
public static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> findFirstChildNode(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
node - start noderuleName - rule namepublic static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> findFirstChildNodeNoneRecursive(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
node - start noderuleName - rule namepublic static Collection<org.antlr.v4.runtime.ParserRuleContext> getAllDescendantNodes(org.antlr.v4.runtime.ParserRuleContext node, RuleName ruleName)
node - start noderuleName - rule nameCopyright © 2019. All rights reserved.