public class ASTVariable extends ASTGlobalNamedElement
_originalSource, _preprocessedSource| Constructor and Description |
|---|
ASTVariable() |
| Modifier and Type | Method and Description |
|---|---|
List<ASTItem> |
children() |
<T extends ASTItem> |
collectItemsOfType(Class<T> cls) |
List<ASTCondition> |
getAllConditions() |
String |
getCodeSafeName() |
DataPropertyType |
getDataType() |
List<ASTOperandProperty> |
getProperties() |
ASTOperandBase |
getValue() |
String |
print(int level) |
void |
setName(String name) |
void |
setValue(ASTOperandBase value) |
getNamegetGlobalPlain, getGlobalPosition, getOriginalSource, getPreprocessedSource, getType, getTypecommon, getUntrimmedSource, hasSource, setGlobalPosition, setSource, space, walk, walk, walkpublic ASTOperandBase getValue()
public void setValue(ASTOperandBase value)
public DataPropertyType getDataType()
public void setName(String name)
setName in class ASTGlobalNamedElementpublic String getCodeSafeName()
public <T extends ASTItem> List<T> collectItemsOfType(Class<T> cls)
collectItemsOfType in class ASTItempublic List<ASTCondition> getAllConditions()
getAllConditions in class ASTItempublic List<ASTOperandProperty> getProperties()
getProperties in class ASTItemCopyright © 2020. All rights reserved.