ASTOperatorUnary

public class ASTOperatorUnary extends ASTOperator

Class ASTOperatorUnary. Provides astoperatorunary functionality for the Hytale server.

java.lang.Object > ASTOperator > ASTOperatorUnary

Field Summary

No fields documented.

Method Detail

ASTOperatorUnary

public public ASTOperatorUnary (@Nonnull final OperatorUnary operatorUnary, @Nonnull final Token token, final int tokenPosition, @Nonnull final AST argument)

Method ASTOperatorUnary.

Parameters:
@Nonnull final OperatorUnary operatorUnary
@Nonnull final Token token
final int tokenPosition
@Nonnull final AST argument

isConstant

public boolean isConstant ()

Method isConstant.

fromUnaryOperator

static void fromUnaryOperator (@Nonnull final Parser.ParsedToken operand, @Nonnull final CompileContext compileContext)

Method fromUnaryOperator.

Parameters:
@Nonnull final Parser.ParsedToken operand
@Nonnull final CompileContext compileContext