public abstract class ASTOperandArithmeticalItemBase extends ASTItem
| Modifier and Type | Field and Description |
|---|---|
protected ASTOperandBase |
operand |
protected ASTArithmeticalOperator |
operator |
_originalSource, _preprocessedSource| Constructor and Description |
|---|
ASTOperandArithmeticalItemBase() |
| Modifier and Type | Method and Description |
|---|---|
List<ASTItem> |
children() |
<T extends ASTItem> |
collectItemsOfType(Class<T> cls) |
ASTOperandBase |
getOperand() |
ASTArithmeticalOperator |
getOperator() |
List<ASTOperandProperty> |
getProperties() |
boolean |
isNumber() |
void |
setOperator(ASTArithmeticalOperator operator) |
String |
toString() |
getAllConditions, getGlobalPlain, getGlobalPosition, getOriginalSource, getPreprocessedSource, getType, getTypecommon, getUntrimmedSource, hasSource, print, setGlobalPosition, setSource, space, walk, walk, walkprotected ASTArithmeticalOperator operator
protected ASTOperandBase operand
public ASTArithmeticalOperator getOperator()
public void setOperator(ASTArithmeticalOperator operator)
public ASTOperandBase getOperand()
public List<ASTOperandProperty> getProperties()
getProperties in class ASTItempublic <T extends ASTItem> List<T> collectItemsOfType(Class<T> cls)
collectItemsOfType in class ASTItempublic boolean isNumber()
Copyright © 2020. All rights reserved.