use of org.csstudio.autocomplete.parser.engine.expr.ExprString in project yamcs-studio by yamcs.
the class ExprParser method parseValue.
private void parseValue(ExprToken e) throws ExprException {
Expr value = null;
switch(e.type) {
case Decimal:
value = new ExprDouble(e.doubleValue);
break;
case Integer:
value = new ExprInteger(e.integerValue);
break;
case String:
value = new ExprString(e.val);
break;
case Variable:
value = new ExprVariable(e.val);
break;
case QuotedVariable:
value = new ExprPV(e.val);
break;
default:
break;
}
setValue(value);
}
Aggregations