Example #1
0
 @Override
 public Syntax syntax() {
   return Syntax.commandSyntax(
       new int[] {Syntax.NumberType(), Syntax.CommandBlockType() | Syntax.OptionalType()},
       "O---",
       "-T--",
       true);
 }
Example #2
0
 @Override
 public Syntax getSyntax() {
   return Syntax.commandSyntax(
       new int[] {
         Syntax.StringType(),
         Syntax.StringType(),
         Syntax.NumberType(),
         Syntax.StringType() | Syntax.RepeatableType()
       },
       3);
 }
 public Syntax getSyntax() {
   return Syntax.commandSyntax(
       new int[] {
         Syntax.StringType(),
         Syntax.NumberType(),
         Syntax.NumberType(),
         Syntax.NumberType(),
         Syntax.NumberType(),
         Syntax.NumberType(),
         Syntax.NumberType()
       });
 }
Example #4
0
 @Override
 public Syntax syntax() {
   return Syntax.commandSyntax(
       new int[] {
         Syntax.TurtlesetType(),
         Syntax.LinksetType(),
         Syntax.NumberType(),
         Syntax.NumberType(),
         Syntax.NumberType()
       },
       true);
 }
 public Syntax getSyntax() {
   return Syntax.commandSyntax(new int[] {});
 }
Example #6
0
 @Override
 public Syntax getSyntax() {
   return Syntax.commandSyntax(new int[] {Syntax.StringType()});
 }
Example #7
0
 @Override
 public Syntax syntax() {
   return Syntax.commandSyntax(new int[] {Syntax.ReferenceType()}, "-T--", true);
 }
Example #8
0
 @Override
 public Syntax syntax() {
   return Syntax.commandSyntax("-T--", true);
 }
 public org.nlogo.api.Syntax getSyntax() {
   int[] right = {
     org.nlogo.api.Syntax.TYPE_STRING,
   };
   return org.nlogo.api.Syntax.commandSyntax(right);
 }
Example #10
0
 @Override
 public Syntax syntax() {
   return Syntax.commandSyntax();
 }