| Package | Description |
|---|---|
| org.apache.shardingsphere.sql.parser.core.extractor.util |
| Modifier and Type | Method and Description |
|---|---|
static RuleName |
RuleName.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleName[] |
RuleName.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> |
ExtractorUtils.findFirstChildNode(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Find first child node.
|
static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> |
ExtractorUtils.findFirstChildNodeNoneRecursive(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Find first child node none recursive.
|
static com.google.common.base.Optional<org.antlr.v4.runtime.ParserRuleContext> |
ExtractorUtils.findSingleNodeFromFirstDescendant(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Find single node from first descendant which only has one child.
|
static Collection<org.antlr.v4.runtime.ParserRuleContext> |
ExtractorUtils.getAllDescendantNodes(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Get all descendant nodes.
|
static org.antlr.v4.runtime.ParserRuleContext |
ExtractorUtils.getFirstChildNode(org.antlr.v4.runtime.ParserRuleContext node,
RuleName ruleName)
Get first child node.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.