webit.script.core.Symbol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webit-script Show documentation
Show all versions of webit-script Show documentation
a template-like script and engine, all writen with Java.
The newest version!
// Copyright (c) 2013-2014, Webit Team. All Rights Reserved.
package webit.script.core;
final class Symbol {
final int id;
final int line;
final int column;
final Object value;
/**
* The parse state.
*/
int state;
Symbol(int id, Object value, Symbol sym) {
this(id, sym.line, sym.column, value);
}
Symbol(int id, int line, int column, Object value) {
this.id = id;
this.line = line;
this.column = column;
this.value = value;
}
}