public abstract class Formatting extends Annotation
| Modifier and Type | Method and Description |
|---|---|
static Formatting |
after1(Node node,
java.lang.Object after)
Create a formatting annotation.
|
static Formatting |
before1(java.lang.Object before,
Node node)
Create a formatting annotation.
|
boolean |
hasTraversal()
Determine whether this node supports generic traversal of its
children.
|
static Formatting |
round1(java.lang.Object before,
Node node,
java.lang.Object after)
Create a formatting annotation.
|
static Formatting |
variable()
Create a formatting annotation.
|
getNode, getTokenText, innerMost, isAnnotation, setNode, strip, toAnnotationadd, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, hasLocation, hasName, hasProperty, hasVariable, indexOf, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, properties, remove, removeProperty, set, setLocation, setLocation, setProperty, size, toList, toString, toToken, writepublic boolean hasTraversal()
Nodefalse.hasTraversal in class Nodetrue if this node supports generic traversal
of its children.public static Formatting before1(java.lang.Object before, Node node)
before - The object before the node.node - The annotated node.public static Formatting after1(Node node, java.lang.Object after)
node - The annotated node.after - The object after the node.public static Formatting round1(java.lang.Object before, Node node, java.lang.Object after)
before - The object before the node.node - The annotated node.after - The object after the node.public static Formatting variable()
Node.addNode(Node) or Annotation.setNode(Node) are treated as nodes
preceding the annotated node, and all children added after such a
call are treated as nodes succeeding the annotated node.Copyright © 2012. All Rights Reserved.