Package edu.wisc.game.parser
Class Expression.Star
java.lang.Object
edu.wisc.game.parser.Expression.Star
- All Implemented Interfaces:
Expression
- Enclosing interface:
- Expression
public static class Expression.Star extends Object implements Expression
A Star expression is simply "*". (Used in rule description for
counters, or to mean "Any").
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.wisc.game.parser.Expression
Expression.AdditiveExpression, Expression.ArithmeticExpression, Expression.BracketList, Expression.ColonExpression, Expression.ComparisonExpression, Expression.ExList, Expression.Id, Expression.Mapper, Expression.MapTo<T>, Expression.MultiplicativeExpression, Expression.NegationExpression, Expression.Num, Expression.ParenList, Expression.PropMap, Expression.QualifiedId, Expression.RangeExpression, Expression.SerialExpression, Expression.Star, Expression.VarMap, Expression.VarMap2
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Star()
-
Method Summary
Modifier and Type Method Description Expression
map(Expression.Mapper mapper)
String
toSrc()
String
toString()
-
Constructor Details
-
Star
public Star()
-
-
Method Details
-
toString
-
toSrc
- Specified by:
toSrc
in interfaceExpression
-
map
- Specified by:
map
in interfaceExpression
- Throws:
RuleParseException
-