All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webit.script.core.Symbol Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy