Compare commits
5 Commits
a647259dc2
...
4341d02572
Author | SHA1 | Date |
---|---|---|
simonkellet | 4341d02572 | 2 years ago |
simonkellet | 32bd99d78b | 2 years ago |
simonkellet | fab24be627 | 2 years ago |
simonkellet | 6b7fdd3bb0 | 2 years ago |
simonkellet | f69942533f | 2 years ago |
@ -0,0 +1,21 @@ |
||||
package triangle.abstractSyntaxTrees.commands; |
||||
|
||||
import triangle.abstractSyntaxTrees.expressions.Expression; |
||||
import triangle.abstractSyntaxTrees.visitors.CommandVisitor; |
||||
import triangle.syntacticAnalyzer.SourcePosition; |
||||
|
||||
public class RepeatCommand extends Command { |
||||
|
||||
public RepeatCommand(Expression eAST, Command cAST, SourcePosition position) { |
||||
super(position); |
||||
E = eAST; |
||||
C = cAST; |
||||
} |
||||
|
||||
public <TArg, TResult> TResult visit(CommandVisitor<TArg, TResult> v, TArg arg) { |
||||
return v.visitRepeatCommand(this, arg); |
||||
} |
||||
|
||||
public final Expression E; |
||||
public final Command C; |
||||
} |
Binary file not shown.
Reference in new issue