Uses of Interface
edu.wisc.game.parser.Expression
Packages that use Expression
-
Uses of Expression in edu.wisc.game.parser
Subinterfaces of Expression in edu.wisc.game.parserModifier and TypeInterfaceDescriptionstatic interface
An arithmetic expression is composed of variables, constants, and arithmetic operations; parentheses can be used for ordering operations.Classes in edu.wisc.game.parser that implement ExpressionModifier and TypeClassDescriptionstatic class
static class
static class
Id:ArithmeticExpression; used in GS 3static class
Has exactly two operands, and the operator is one of '==', '!=', 'invalid input: '<'=', '>', etcstatic class
Can be overridden as neededstatic class
A variable.static class
static class
!E evaluates to [1] if E is an empty set, or to [] otherwisestatic class
A numeric constantstatic class
static class
A.Bstatic class
[Num..Num]static class
Additive or multiplicativestatic class
A Star expression is simply "*".Fields in edu.wisc.game.parser declared as ExpressionMethods in edu.wisc.game.parser that return ExpressionModifier and TypeMethodDescriptionExpression.Mapper.apply
(Expression ex) Expression.AdditiveExpression.map
(Expression.Mapper mapper) Applies the mapper to each componentExpression.ColonExpression.map
(Expression.Mapper mapper) Expression.ComparisonExpression.map
(Expression.Mapper mapper) Applies the mapper to each componentExpression.Id.map
(Expression.Mapper mapper) Expression.map
(Expression.Mapper mapper) Expression.MultiplicativeExpression.map
(Expression.Mapper mapper) Applies the mapper to each componentExpression.NegationExpression.map
(Expression.Mapper mapper) Applies the mapper to each componentExpression.Num.map
(Expression.Mapper mapper) Expression.RangeExpression.map
(Expression.Mapper mapper) Expression.Star.map
(Expression.Mapper mapper) static Expression
Expression.mkCounterOrAtom
(Vector<Token> tokens) Extracts one of the sections of a rule line: either the leading counter (int or star), or one of the atoms (paren lists that may include arithmetic expressions or stars)Methods in edu.wisc.game.parser with parameters of type Expression