| Modifier and Type | Field and Description |
|---|---|
| private final ImmutableLiteral | |
| private final ImmutableLiteral |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createCacheObject(ThreadContext context)
Implements abstract org. Implementing class is responsible for constructing the cached value. |
| public static Rational | |
| public void | |
| public ImmutableLiteral | |
| public ImmutableLiteral | |
| public OperandType | |
| public boolean | isTruthyImmediate()
Overrides org. Returns true if this is an immediate value that will always be considered truthy (true, numbers, etc) |
| public String | |
| public void |
| denominator | back to summary |
|---|---|
| private final ImmutableLiteral<T> denominator | |
| numerator | back to summary |
|---|---|
| private final ImmutableLiteral<T> numerator | |
| Rational | back to summary |
|---|---|
| public Rational(ImmutableLiteral<T> numerator, ImmutableLiteral<T> denominator) | |
| createCacheObject | back to summary |
|---|---|
| public Object createCacheObject(ThreadContext context) Implements abstract org. Doc from org. Implementing class is responsible for constructing the cached value.
| |
| decode | back to summary |
|---|---|
| public static Rational decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getDenominator | back to summary |
|---|---|
| public ImmutableLiteral | |
| getNumerator | back to summary |
|---|---|
| public ImmutableLiteral | |
| getOperandType | back to summary |
|---|---|
| public OperandType getOperandType() Implements abstract org.
| |
| isTruthyImmediate | back to summary |
|---|---|
| public boolean isTruthyImmediate() Overrides org. Doc from org. Returns true if this is an immediate value that will always be considered truthy (true, numbers, etc)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |