Interface CodeOperatorExpression
- All Superinterfaces:
CodeExpression, CodeItem
- All Known Subinterfaces:
CodeComparisonOperatorExpression, CodeNAryOperatorExpression, CodeUnaryOperatorExpression
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeExpression
evaluateMethods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, write
-
Method Details
-
getArguments
List<? extends CodeExpression> getArguments()- Returns:
- the
unmodifyableListof arguments. Thesizeas to be at least 2.
-
getOperator
CodeOperator getOperator()- Returns:
- the
CodeOperatorapplied to theargumentsto calculate the result of the expression.
-