public class ASTOperandArithmeticalOperation extends ASTOperandArithmeticalItemBase
operand, operator_originalSource, _preprocessedSource| Constructor and Description |
|---|
ASTOperandArithmeticalOperation() |
| Modifier and Type | Method and Description |
|---|---|
ASTOperandArithmeticalOperation |
add(ASTOperandArithmeticalItemBase item) |
ASTOperandArithmeticalOperation |
add(ASTOperandArithmeticalItemBase item,
ASTArithmeticalOperator operator) |
List<ASTItem> |
children() |
<T extends ASTItem> |
collectItemsOfType(Class<T> cls) |
List<ASTOperandArithmeticalItemBase> |
filterNonOperations() |
List<ASTOperandArithmeticalOperation> |
filterOperations() |
List<ASTOperandArithmeticalItemBase> |
getItems() |
List<ASTOperandProperty> |
getProperties() |
boolean |
isNumber() |
String |
print(int level) |
String |
toString() |
void |
updateSources() |
getOperand, getOperator, setOperatorgetAllConditions, getGlobalPlain, getGlobalPosition, getOriginalSource, getPreprocessedSource, getType, getTypecommon, getUntrimmedSource, hasSource, setGlobalPosition, setSource, space, walk, walk, walkpublic ASTOperandArithmeticalOperation add(ASTOperandArithmeticalItemBase item, ASTArithmeticalOperator operator)
public ASTOperandArithmeticalOperation add(ASTOperandArithmeticalItemBase item)
public List<ASTOperandArithmeticalItemBase> getItems()
public List<ASTItem> children()
children in class ASTOperandArithmeticalItemBasepublic List<ASTOperandProperty> getProperties()
getProperties in class ASTOperandArithmeticalItemBasepublic List<ASTOperandArithmeticalOperation> filterOperations()
public List<ASTOperandArithmeticalItemBase> filterNonOperations()
public <T extends ASTItem> List<T> collectItemsOfType(Class<T> cls)
collectItemsOfType in class ASTOperandArithmeticalItemBasepublic boolean isNumber()
isNumber in class ASTOperandArithmeticalItemBasepublic void updateSources()
public String toString()
toString in class ASTOperandArithmeticalItemBaseCopyright © 2020. All rights reserved.