@Override
 public Syntax getSyntax() {
   return Syntax.reporterSyntax(
       new int[] {
         Syntax.WildcardType(), Syntax.NumberType(),
       },
       Syntax.WildcardType());
 }
Example #2
0
 @Override
 public Syntax syntax() {
   int[] right = {
     Syntax.WildcardType(), Syntax.ListType() | Syntax.StringType() | Syntax.AgentsetType()
   };
   int ret = Syntax.BooleanType();
   return Syntax.reporterSyntax(right, ret);
 }
Example #3
0
 @Override
 public Syntax syntax() {
   int[] right = {Syntax.WildcardType(), Syntax.ListType()};
   int ret = Syntax.ListType();
   return Syntax.reporterSyntax(right, ret);
 }