Uses of Class
org.yamcs.studio.data.formula.FormulaAst
-
Uses of FormulaAst in org.yamcs.studio.data.formula
Modifier and TypeMethodDescriptionfinal FormulaAst
FormulaParser.additiveExpression()
final FormulaAst
FormulaParser.andExpression()
static FormulaAst
A CHANNEL node representing the given channel name.final FormulaAst
FormulaParser.channel()
static FormulaAst
FormulaAst.channelFromToken
(String token) A CHANNEL node from a quoted token.final FormulaAst
FormulaParser.conditionalAndExpression()
final FormulaAst
FormulaParser.conditionalExpression()
final FormulaAst
FormulaParser.conditionalOrExpression()
final FormulaAst
FormulaParser.constant()
final FormulaAst
FormulaParser.equalityExpression()
final FormulaAst
FormulaParser.exponentialExpression()
final FormulaAst
FormulaParser.expression()
static FormulaAst
FormulaAst.floatingPoint
(double floatingPoint) A FLOATING_POINT node from the given value.static FormulaAst
FormulaAst.floatingPointFromToken
(String token) A FLOATING_POINT node from a token.static FormulaAst
The AST corresponding to the parsed formula.final FormulaAst
FormulaParser.formula()
final FormulaAst
FormulaParser.functionExpression()
static FormulaAst
An ID node representing the given id.final FormulaAst
FormulaParser.inclusiveOrExpression()
static FormulaAst
FormulaAst.integer
(int integer) An INTEGER node from the given value.static FormulaAst
FormulaAst.integerFromToken
(String token) An INTEGER node from a token.final FormulaAst
FormulaParser.multiplicativeExpression()
final FormulaAst
FormulaParser.numericLiteral()
static FormulaAst
FormulaAst.op
(String opName, List<FormulaAst> children) An OP node representing the given operator/function with the given arguments.static FormulaAst
FormulaAst.op
(String opName, FormulaAst... children) An OP node representing the given operator/function with the given arguments.final FormulaAst
FormulaParser.parExpression()
final FormulaAst
FormulaParser.primary()
final FormulaAst
FormulaParser.relationalExpression()
static FormulaAst
FormulaAst.singleChannel
(String formula) The AST corresponding to a single channel, if the formula represents one, or null, if the formula is not a single channel.final FormulaAst
FormulaParser.singleChannel()
static FormulaAst
A STRING node representing the given string.static FormulaAst
FormulaAst.stringFromToken
(String token) A STRING node from a quoted token.final FormulaAst
FormulaParser.stringLiteral()
FormulaAst.substituteChannels
(Map<String, FormulaAst> substitutions) Returns a new AST where the channel nodes that match the keys of the map are substituted with the values of the map.final FormulaAst
FormulaParser.unaryExpression()
final FormulaAst
FormulaParser.unaryExpressionNotPlusMinus()
Modifier and TypeMethodDescriptionFormulaAst.getChildren()
The children of this node, if IO, null otherwise.Modifier and TypeMethodDescriptionstatic FormulaAst
FormulaAst.op
(String opName, FormulaAst... children) An OP node representing the given operator/function with the given arguments.Modifier and TypeMethodDescriptionstatic FormulaAst
FormulaAst.op
(String opName, List<FormulaAst> children) An OP node representing the given operator/function with the given arguments.FormulaAst.substituteChannels
(Map<String, FormulaAst> substitutions) Returns a new AST where the channel nodes that match the keys of the map are substituted with the values of the map.