final class NameExpression extends PrimaryItemExpression
FALSE, TRUE| Modifier and Type | Method and Description |
|---|---|
boolean |
constant(NameEngine nameEngine) |
boolean |
equals(Object obj) |
int |
hashCode() |
BitwiseParameter |
invert(BitwiseParameter rhs,
RecognizeData nameEngine)
Default implementation, for non-invertible expressions.
|
PrimaryItem |
leftHandSide()
Default implementation.
|
(package private) static Expression |
newExpression(Name name) |
(package private) static Expression |
newExpression(org.antlr.v4.runtime.tree.ParseTree original,
IrpParser.NameContext nameContext) |
Map<String,Object> |
propertiesMap(boolean eval,
GeneralSpec generalSpec,
NameEngine nameEngine)
Generate a map of the properties in the very object.
|
PrimaryItem |
substituteConstantVariables(Map<String,Long> constantVariables)
Returns a PrimaryItem of the same type with all occurrences of the
variables in the dictionary replaced by their values in the dictionary.
|
BitwiseParameter |
toBitwiseParameter(RecognizeData recognizeData) |
Element |
toElement(Document document) |
String |
toIrpString(int radix) |
long |
toLong(NameEngine nameEngine)
Produces a numerical result.
|
newExpression, newExpressionnewExpression, weightcBoolean, isNumericLiteral, newExpression, newExpression, newExpression, newExpression, newExpression, newExpression, newExpression, newExpressionEOF, newExpressionEOF, propertiesMap, toLong, toNumber, toStringTree, toTreeViewernewPrimaryItem, newPrimaryItem, newPrimaryItemgetParseTree, numberOfBits, numberOfBitSpecs, numberOfInfiniteRepeats, prerender, stateWhenEntering, stateWhenExiting, toDocument, toIrpString, toString, toStringTree, toStringTree, toTreeViewer, toTreeViewer, toTreeViewerstatic Expression newExpression(org.antlr.v4.runtime.tree.ParseTree original, IrpParser.NameContext nameContext)
static Expression newExpression(Name name)
public String toIrpString(int radix)
toIrpString in class PrimaryItempublic Map<String,Object> propertiesMap(boolean eval, GeneralSpec generalSpec, NameEngine nameEngine)
PrimaryItempropertiesMap in class PrimaryItemeval - If true, evaluate names.public long toLong(NameEngine nameEngine) throws NameUnassignedException
NumericalnameEngine - used to resolve names in expressions.NameUnassignedExceptionpublic BitwiseParameter toBitwiseParameter(RecognizeData recognizeData)
public Element toElement(Document document)
toElement in interface XmlExporttoElement in class Expressionpublic BitwiseParameter invert(BitwiseParameter rhs, RecognizeData nameEngine)
PrimaryIteminvert in interface EquationSolvinginvert in class PrimaryItempublic PrimaryItem leftHandSide()
PrimaryItemleftHandSide in interface EquationSolvingleftHandSide in class PrimaryItempublic PrimaryItem substituteConstantVariables(Map<String,Long> constantVariables)
PrimaryItemsubstituteConstantVariables in class PrimaryItemconstantVariables - Map<String, Long> of variables to replace.public boolean constant(NameEngine nameEngine)
constant in class ExpressionCopyright © 2019. All rights reserved.