Module ConstantValue
Provides different sub classes of ConstantValue.
Import path
import codeql.ruby.ASTPredicates
| fromFloat | Gets the float constant |
| fromInt | Gets the integer constant |
| fromRegExp | Gets the regexp constant |
| fromString | Gets the string constant |
| fromStringlikeValue | Gets the string, symbol, or regexp constant |
| fromSymbol | Gets the symbol constant |
Classes
| ConstantBooleanValue | A constant Boolean value. |
| ConstantComplexValue | A constant complex value. |
| ConstantFloatValue | A constant float value. |
| ConstantIntegerValue | A constant integer value. |
| ConstantNilValue | A constant |
| ConstantRationalValue | A constant rational value. |
| ConstantRegExpValue | A constant regexp value. |
| ConstantStringValue | A constant string value. |
| ConstantStringlikeValue | A constant string-like value. |
| ConstantSymbolValue | A constant symbol value. |