|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AstNode | |
---|---|
org.jboss.dna.sequencer.ddl | |
org.jboss.dna.sequencer.ddl.datatype | |
org.jboss.dna.sequencer.ddl.dialect.oracle | |
org.jboss.dna.sequencer.ddl.node |
Uses of AstNode in org.jboss.dna.sequencer.ddl |
---|
Methods in org.jboss.dna.sequencer.ddl that return AstNode | |
---|---|
AstNode |
StandardDdlParser.getRootNode()
|
AstNode |
StandardDdlParser.handleUnknownToken(DdlTokenStream tokens,
String tokenValue)
Utility method subclasses can override to check unknown tokens and perform additional node manipulation. |
AstNode |
StandardDdlParser.missingTerminatorNode(AstNode parentNode)
Constructs a terminator AstNode as child of root node |
AstNode |
DdlParsers.parse(String ddl)
Parses input ddl string and adds discovered child AstNode s and properties to a new root node. |
AstNode |
StandardDdlParser.unknownTerminatedNode(AstNode parentNode)
Constructs a terminator AstNode as child of root node |
Methods in org.jboss.dna.sequencer.ddl with parameters of type AstNode | |
---|---|
void |
StandardDdlParser.addProblem(DdlParserProblem problem,
AstNode node)
|
void |
StandardDdlParser.attachNewProblem(DdlParserProblem problem,
AstNode parentNode)
|
boolean |
StandardDdlParser.isMissingTerminatorNode(AstNode node)
|
boolean |
StandardDdlParser.isValidSchemaChild(AstNode node)
|
void |
StandardDdlParser.markEndOfStatement(DdlTokenStream tokens,
AstNode statementNode)
Marks the end of a statement by consuming the terminator (if exists). |
void |
StandardDdlParser.mergeNodes(DdlTokenStream tokens,
AstNode firstNode,
AstNode secondNode)
Merges second node into first node by re-setting expression source and length. |
AstNode |
StandardDdlParser.missingTerminatorNode(AstNode parentNode)
Constructs a terminator AstNode as child of root node |
boolean |
StandardDdlParser.parse(DdlTokenStream tokens,
AstNode rootNode)
Parses DDL content from the DdlTokenStream provided. |
boolean |
DdlParser.parse(DdlTokenStream tokens,
AstNode rootNode)
Parses a ddl string and adds discovered child AstNode s and properties. |
boolean |
StandardDdlParser.parse(String ddl,
AstNode rootNode)
Parses a DDL string and adds discovered child AstNode s and properties. |
boolean |
DdlParsers.parse(String ddl,
AstNode rootNode)
Parses input ddl string and adds discovered child AstNode s and properties. |
boolean |
DdlParser.parse(String ddl,
AstNode rootNode)
Parses a ddl string and adds discovered child AstNode s and properties. |
boolean |
StandardDdlParser.setAsSchemaChildNode(AstNode statementNode,
boolean stmtIsMissingTerminator)
|
void |
StandardDdlParser.setRootNode(AstNode rootNode)
|
AstNode |
StandardDdlParser.unknownTerminatedNode(AstNode parentNode)
Constructs a terminator AstNode as child of root node |
Uses of AstNode in org.jboss.dna.sequencer.ddl.datatype |
---|
Methods in org.jboss.dna.sequencer.ddl.datatype with parameters of type AstNode | |
---|---|
void |
DataTypeParser.setPropertiesOnNode(AstNode columnNode,
DataType datatype)
|
Uses of AstNode in org.jboss.dna.sequencer.ddl.dialect.oracle |
---|
Methods in org.jboss.dna.sequencer.ddl.dialect.oracle that return AstNode | |
---|---|
AstNode |
OracleDdlParser.handleUnknownToken(DdlTokenStream tokens,
String tokenValue)
Utility method subclasses can override to check unknown tokens and perform additional node manipulation. |
Uses of AstNode in org.jboss.dna.sequencer.ddl.node |
---|
Methods in org.jboss.dna.sequencer.ddl.node that return AstNode | |
---|---|
AstNode |
AstNode.clone()
This class returns a new clone of the plan tree rooted at this node. |
AstNode |
AstNode.getChild(int index)
Get the child at the supplied index. |
AstNode |
AstNodeFactory.getChildforNameAndType(AstNode astNode,
String name,
Name nodeType)
Utility method to obtain a AstNode child of a parent AstNode with the given string name and node type. |
AstNode |
AstNode.getFirstChild()
Get the first child. |
AstNode |
AstNode.getLastChild()
Get the last child. |
AstNode |
AstNode.getParent()
Get the parent of this node. |
AstNode |
AstNodeFactory.node(String name)
Constructs an AstNode with the given string name |
AstNode |
AstNodeFactory.node(String name,
AstNode parent,
Name type)
Constructs an AstNode with the given name, type and parent node. |
AstNode |
AstNodeFactory.node(String name,
AstNode parent,
Object... types)
Constructs an AstNode with the given name, types and parent node. |
AstNode |
AstNode.removeFromParent()
Remove this node from its parent, and return the node that used to be the parent of this node. |
AstNode |
AstNode.setProperty(Name name,
Object... values)
Set the property with the given name to the supplied values. |
AstNode |
AstNode.setProperty(Name name,
Object value)
Set the property with the given name to the supplied value. |
Methods in org.jboss.dna.sequencer.ddl.node that return types with arguments of type AstNode | |
---|---|
List<AstNode> |
AstNode.getChildren()
Get the unmodifiable list of child nodes. |
List<AstNode> |
AstNodeFactory.getChildrenForType(AstNode astNode,
Name nodeType)
Utility method to obtain the children of a given node that match the given type |
Iterator<AstNode> |
AstNode.iterator()
This iterator is immutable. |
List<AstNode> |
AstNode.removeAllChildren()
Remove all children from this node. |
Methods in org.jboss.dna.sequencer.ddl.node with parameters of type AstNode | |
---|---|
void |
AstNode.addChildren(AstNode first,
AstNode second)
Add the supplied nodes at the end of the list of children. |
void |
AstNode.addChildren(AstNode first,
AstNode second,
AstNode third)
Add the supplied nodes at the end of the list of children. |
void |
AstNode.addFirstChild(AstNode child)
Add the supplied node to the front of the list of children. |
void |
AstNode.addLastChild(AstNode child)
Add the supplied node to the end of the list of children. |
void |
AstNode.extractChild(AstNode child)
Remove the child node from this node, and replace that child with its first child (if there is one). |
AstNode |
AstNodeFactory.getChildforNameAndType(AstNode astNode,
String name,
Name nodeType)
Utility method to obtain a AstNode child of a parent AstNode with the given string name and node type. |
List<AstNode> |
AstNodeFactory.getChildrenForType(AstNode astNode,
Name nodeType)
Utility method to obtain the children of a given node that match the given type |
boolean |
AstNodeFactory.hasMixinType(AstNode node,
Name mixinType)
Utility method to determine if an AstNode contains a specific mixin type. |
void |
AstNode.insertAsParent(AstNode newParent)
Insert the supplied node into the plan node tree immediately above this node. |
boolean |
AstNode.isSameAs(AstNode other)
Determine whether the supplied plan is equivalent to this plan. |
AstNode |
AstNodeFactory.node(String name,
AstNode parent,
Name type)
Constructs an AstNode with the given name, type and parent node. |
AstNode |
AstNodeFactory.node(String name,
AstNode parent,
Object... types)
Constructs an AstNode with the given name, types and parent node. |
boolean |
AstNode.removeChild(AstNode child)
Remove the node from this node. |
boolean |
AstNode.replaceChild(AstNode child,
AstNode replacement)
Replace the supplied child with another node. |
void |
AstNode.setParent(AstNode parent)
Set the parent for this node. |
void |
AstNodeFactory.setType(AstNode node,
Name type)
Sets the mixin type property for an AstNode |
Method parameters in org.jboss.dna.sequencer.ddl.node with type arguments of type AstNode | |
---|---|
void |
AstNode.addChildren(Iterable<AstNode> otherChildren)
Add the supplied nodes at the end of the list of children. |
Constructors in org.jboss.dna.sequencer.ddl.node with parameters of type AstNode | |
---|---|
AstNode(AstNode parent,
Name name)
Construct a node with the supplied name and parent. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |