public class ASTModel extends ASTItem
_originalSource, _preprocessedSource| Constructor and Description |
|---|
ASTModel() |
getGlobalPlain, getGlobalPosition, getOriginalSource, getPreprocessedSource, getProperties, getType, getTypecommon, getUntrimmedSource, hasSource, print, setGlobalPosition, setSource, space, walk, walk, walkpublic List<ASTGlobalElement> getElements()
public boolean hasElements()
public boolean hasValidElements()
public List<ASTGlobalElement> getValidElements()
public List<ASTUnknown> getUnknownElements()
public void add(ASTGlobalElement element)
public List<ASTComment> getComments()
public List<ASTGlobalNamedElement> getNamedElements()
public List<ASTVariable> getVariables()
public List<ASTGlobalElement> getRulesAndComments()
public ASTComment addComment(String cmt)
public List<ASTCondition> getAllConditions()
getAllConditions in class ASTItempublic <T extends ASTItem> List<T> collectItemsOfType(Class<T> cls)
collectItemsOfType in class ASTItempublic String print()
public void addSemanticOperatorName(String... names)
Copyright © 2020. All rights reserved.