public abstract class Expression extends PrimaryItem
| Modifier and Type | Field and Description |
|---|---|
static Expression |
FALSE |
static Expression |
TRUE |
| Modifier | Constructor and Description |
|---|---|
protected |
Expression(org.antlr.v4.runtime.tree.ParseTree ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected static long |
cBoolean(boolean x) |
abstract boolean |
constant(NameEngine nameEngine) |
boolean |
isNumericLiteral() |
static Expression |
newExpression(IrpParser.ExpressionContext ctx) |
(package private) static Expression |
newExpression(IrpParser.Para_expressionContext para_expressionContext) |
static Expression |
newExpression(long value) |
static Expression |
newExpression(ParserDriver parserDriver) |
static Expression |
newExpression(org.antlr.v4.runtime.tree.ParseTree original,
IrpParser.ExpressionContext ctx) |
(package private) static Expression |
newExpression(org.antlr.v4.runtime.tree.ParseTree ctx,
IrpParser.Para_expressionContext para_expressionContext) |
static Expression |
newExpression(String str) |
static Expression |
newExpressionEOF(ParserDriver parserDriver) |
static Expression |
newExpressionEOF(String str)
Construct an Expression by parsing the argument.
|
Map<String,Object> |
propertiesMap(int noProperites) |
Element |
toElement(Document document) |
long |
toLong() |
Number |
toNumber() |
String |
toStringTree() |
org.antlr.v4.gui.TreeViewer |
toTreeViewer() |
invert, leftHandSide, newPrimaryItem, newPrimaryItem, newPrimaryItem, propertiesMap, substituteConstantVariables, toIrpStringequals, getParseTree, hashCode, numberOfBits, numberOfBitSpecs, numberOfInfiniteRepeats, prerender, stateWhenEntering, stateWhenExiting, toDocument, toIrpString, toString, toStringTree, toStringTree, toTreeViewer, toTreeViewer, toTreeViewer, weightclone, finalize, getClass, notify, notifyAll, wait, wait, waittoBitwiseParameter, toLongpublic static final Expression TRUE
public static final Expression FALSE
public static Expression newExpression(long value)
public static Expression newExpressionEOF(String str) throws IrpParseException
str - IrpParseExceptionpublic static Expression newExpression(String str)
public static Expression newExpression(ParserDriver parserDriver)
public static Expression newExpressionEOF(ParserDriver parserDriver)
static Expression newExpression(IrpParser.Para_expressionContext para_expressionContext)
static Expression newExpression(org.antlr.v4.runtime.tree.ParseTree ctx, IrpParser.Para_expressionContext para_expressionContext)
public static Expression newExpression(IrpParser.ExpressionContext ctx)
public static Expression newExpression(org.antlr.v4.runtime.tree.ParseTree original, IrpParser.ExpressionContext ctx)
protected static long cBoolean(boolean x)
public String toStringTree()
public org.antlr.v4.gui.TreeViewer toTreeViewer()
public long toLong()
throws NameUnassignedException
NameUnassignedExceptionpublic Number toNumber()
public Map<String,Object> propertiesMap(int noProperites)
propertiesMap in class IrpObjectpublic boolean isNumericLiteral()
public abstract boolean constant(NameEngine nameEngine)
constant in class PrimaryItemCopyright © 2019. All rights reserved.