2018-06-13 00:39:33 +00:00
|
|
|
package io.github.applecommander.bastools.api.model;
|
2018-05-06 19:31:36 +00:00
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
2018-06-13 00:39:33 +00:00
|
|
|
import io.github.applecommander.bastools.api.Visitor;
|
2018-05-29 03:33:41 +00:00
|
|
|
|
2018-05-09 01:25:09 +00:00
|
|
|
/** A Statement is simply a series of Tokens. */
|
2018-05-14 03:27:56 +00:00
|
|
|
public class Statement {
|
2018-05-06 19:31:36 +00:00
|
|
|
public final List<Token> tokens = new ArrayList<>();
|
|
|
|
|
2018-05-14 03:27:56 +00:00
|
|
|
public Statement accept(Visitor t) {
|
|
|
|
return t.visit(this);
|
2018-05-08 04:21:29 +00:00
|
|
|
}
|
2018-05-06 19:31:36 +00:00
|
|
|
}
|