OperatorBinary

public class OperatorBinary

Class OperatorBinary. Provides operatorbinary functionality for the Hytale server.

java.lang.Object > OperatorBinary

Field Summary

token

private Token token

Field token.

lhs

private ValueType lhs

Field lhs.

rhs

private ValueType rhs

Field rhs.

result

private ValueType result

Field result.

Method Detail

OperatorBinary

public private OperatorBinary (final Token token, final ValueType lhs, final ValueType rhs, final ValueType result, final Function codeGen)

Method OperatorBinary.

Parameters:
final Token token
final ValueType lhs
final ValueType rhs
final ValueType result
final Function codeGen

getResultType

public ValueType getResultType ()

Method getResultType.

getCodeGen

public ExecutionContext.Instruction> getCodeGen ()

Method getCodeGen.

of

static OperatorBinary of (final Token token, final ValueType lhs, final ValueType rhs, final ValueType result, final Function codeGen)

Method of.

Parameters:
final Token token
final ValueType lhs
final ValueType rhs
final ValueType result
final Function codeGen

findOperator

static OperatorBinary findOperator (final Token token, final ValueType lhs, final ValueType rhs)

Method findOperator.

Parameters:
final Token token
final ValueType lhs
final ValueType rhs