final class BitFieldExpression 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 BitFieldExpression |
newExpression(IrpParser.BitfieldContext ctx) |
(package private) static BitFieldExpression |
newExpression(org.antlr.v4.runtime.tree.ParseTree original,
IrpParser.BitfieldContext ctx) |
Map<String,Object> |
propertiesMap(boolean eval,
GeneralSpec generalSpec,
NameEngine nameEngine)
Generate a map of the properties in the very object.
|
BitFieldExpression |
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 BitFieldExpression newExpression(IrpParser.BitfieldContext ctx)
static BitFieldExpression newExpression(org.antlr.v4.runtime.tree.ParseTree original, IrpParser.BitfieldContext ctx)
public BitFieldExpression substituteConstantVariables(Map<String,Long> constantVariables)
PrimaryItemsubstituteConstantVariables in class PrimaryItemconstantVariables - Map<String, Long> of variables to replace.public BitwiseParameter invert(BitwiseParameter rhs, RecognizeData nameEngine) throws NameUnassignedException
PrimaryIteminvert in interface EquationSolvinginvert in class PrimaryItemNameUnassignedExceptionpublic 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 Element toElement(Document document)
toElement in interface XmlExporttoElement in class Expressionpublic PrimaryItem leftHandSide()
PrimaryItemleftHandSide in interface EquationSolvingleftHandSide in class PrimaryItempublic boolean constant(NameEngine nameEngine)
constant in class Expressionpublic BitwiseParameter toBitwiseParameter(RecognizeData recognizeData)
Copyright © 2019. All rights reserved.