Package org.eclipse.epsilon.common.util
Class AstUtil
java.lang.Object
org.eclipse.epsilon.common.util.AstUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ASTstatic ASTgetChildAt(AST parent, int index) getChildren(AST parent) getChildren(AST parent, int... types) getChildrenBut(AST parent, int type) static intgetChildrenCount(AST parent) static ASTgetFirstConcreteChild(AST parent) static intgetParentType(AST child) static booleanhasAtMostNChildrenOfTypes(int n, AST parent, int... types)
-
Constructor Details
-
AstUtil
public AstUtil()
-
-
Method Details
-
getChildrenCount
-
getChildAt
-
getChildren
-
getChildrenBut
-
getChildren
-
hasAtMostNChildrenOfTypes
- Parameters:
n-parent-type-- Returns:
-
getChild
-
getFirstConcreteChild
-
getParentType
-