public class ExpressionParser extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AND |
static String |
EQ |
static String |
GT |
static String |
LT |
static String |
NGT |
static String |
NLT |
static String |
NOT_EQ |
static String |
OR |
Constructor and Description |
---|
ExpressionParser() |
Modifier and Type | Method and Description |
---|---|
Operation |
getNextOperationFor(Operand firstOperand) |
protected org.jboss.as.cli.handlers.ifelse.BaseOperation |
getOperationForPosition() |
boolean |
isEOL() |
Operation |
parseExpression(String input) |
protected Operand |
parseOperand() |
void |
reset() |
protected void |
skipWhitespaces() |
protected org.jboss.as.cli.handlers.ifelse.ComparisonOperation |
tryComparison() |
public static final String AND
public static final String OR
public static final String EQ
public static final String NOT_EQ
public static final String GT
public static final String LT
public static final String NLT
public static final String NGT
public Operation parseExpression(String input) throws CommandLineException
CommandLineException
public void reset()
public Operation getNextOperationFor(Operand firstOperand) throws CommandLineException
CommandLineException
public boolean isEOL()
protected Operand parseOperand() throws CommandLineException
CommandLineException
protected org.jboss.as.cli.handlers.ifelse.ComparisonOperation tryComparison()
protected void skipWhitespaces()
protected org.jboss.as.cli.handlers.ifelse.BaseOperation getOperationForPosition()
Copyright © 2014 JBoss by Red Hat. All rights reserved.