| Constructor and Description |
|---|
NameOrNumber(double x) |
NameOrNumber(Floatable floatable) |
NameOrNumber(IrpParser.Name_or_numberContext ctx) |
NameOrNumber(String str) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
constant(NameEngine nameEngine) |
boolean |
equals(Object obj) |
int |
hashCode() |
NameOrNumber |
substituteConstantVariables(Map<String,Long> constantVariables) |
Element |
toElement(Document document) |
double |
toFloat(GeneralSpec generalSpec,
NameEngine nameEngine)
Produces a floating result.
|
String |
toIrpString(int radix) |
(package private) double |
toRawNumber() |
int |
weight()
Returns a (somewhat arbitrary) measure of the complexity of the object.
|
getParseTree, numberOfBits, numberOfBitSpecs, numberOfInfiniteRepeats, prerender, propertiesMap, stateWhenEntering, stateWhenExiting, toDocument, toIrpString, toString, toStringTree, toStringTree, toTreeViewer, toTreeViewer, toTreeViewerpublic NameOrNumber(String str)
public NameOrNumber(IrpParser.Name_or_numberContext ctx)
public NameOrNumber(double x)
public NameOrNumber(Floatable floatable)
public NameOrNumber substituteConstantVariables(Map<String,Long> constantVariables)
public double toFloat(GeneralSpec generalSpec, NameEngine nameEngine) throws NameUnassignedException, IrpInvalidArgumentException
FloatabletoFloat in interface FloatableNameUnassignedExceptionIrpInvalidArgumentExceptionpublic String toIrpString(int radix)
toIrpString in interface FloatabletoIrpString in class IrpObjectdouble toRawNumber()
throws InvalidArgumentException
InvalidArgumentExceptionpublic int weight()
IrpObjectpublic boolean constant(NameEngine nameEngine)
Copyright © 2019. All rights reserved.