lombok.ast
Class Ast
java.lang.Object
lombok.ast.Ast
public class Ast
- extends Object
Contains utility methods for traversing and manipulating ASTs.
Constructor Summary |
Ast()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ast
public Ast()
setAllPositions
public static Node setAllPositions(Node node,
Position position)
- Sets the position of
node
to position
, and then does the same for all of node
's children, recursively.
getVersion
public static String getVersion()
- Get the current lombok.ast version.
upToTop
public static CompilationUnit upToTop(Node node)
Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.