Module SyntacticConstants
Provides classes for expressions that evaluate to constant values according to a bottom-up syntactic analysis.
Import path
import javascriptPredicates
| isNull | Holds if |
| isNullOrUndefined | Holds if |
| isUndefined | Holds if |
Classes
| BinaryConstant | A binary operation on syntactic constants. |
| ConditionalConstant | A conditional expression on syntactic constants. |
| InfinityConstant | A use of the global variable |
| NaNConstant | A use of the global variable |
| NullConstant | A literal null expression. |
| PrimitiveLiteralConstant | A literal primitive expression. |
| SyntacticConstant | An expression that evaluates to a constant value according to a bottom-up syntactic analysis. |
| UnaryConstant | A unary operation on a syntactic constant. |
| UndefinedConstant | A use of the global variable |
| WrappedConstant | An expression that wraps the syntactic constant it evaluates to. |