com.dragome.compiler.ast.OperandState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-bytecode-js-compiler Show documentation
Show all versions of dragome-bytecode-js-compiler Show documentation
Dragome SDK module: bytecode to javascript compiler
package com.dragome.compiler.ast;
public class OperandState
{
int code;
int beginIndex;
int endIndex;
ASTNode stmt;
OperandState(int theCode)
{
code= theCode;
}
OperandState(int theCode, int theBeginIndex, ASTNode theStmt)
{
code= theCode;
beginIndex= theBeginIndex;
stmt= theStmt;
}
public String toString()
{
return "State: " + code + " " + stmt;
}
}