nodes.vjass.Library Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsyntaxtree Show documentation
Show all versions of jsyntaxtree Show documentation
Syntax tree representation of the JASS language
The newest version!
package nodes.vjass;
import tree.TreeContext;
import java.util.Scanner;
public final class Library extends ScriptContainerInitializer {
/**
* Sets up this abstract node with a scanner to receive words.
*
* @param inputScanner Scanner containing JASS code
* @param context Tree context
*/
public Library(Scanner inputScanner, TreeContext context) {
super(inputScanner, context);
this.startText = "library";
this.endText = "endlibrary";
}
/**
* No-args constructor used for creating from an existing
*
* @param context Tree context
*/
public Library(TreeContext context) {
super(context);
this.startText = "library";
this.endText = "endlibrary";
}
/**
* Sets up initial variables
*/
@Override
protected void setupVariables() {
super.setupVariables();
this.startText = "library";
this.endText = "endlibrary";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy