// // EXPBinOp.h // Expression // // Created by Ashley on 28/02/2006. // Copyright 2006 __MyCompanyName__. All rights reserved. // #import #import "EXPExpression.h" #import "EXPStackMachine.h" @class EXPUnaryOp; @class EXPSymbolTable; @interface EXPBinOp : EXPUnaryOp { id _right; } - (id) initWithLeft:(id)left AndRight:(id) right; - (id) right; - (void)setRight:(id)right; - (BOOL) compile:(EXPStackMachine *)machine error:(NSError **)err; - (BOOL) compile:(EXPStackMachine *)machine error:(NSError **)err opcode:(unsigned int)opcode; @end @interface EXPAddOp : EXPBinOp { } @end @interface EXPSubOp : EXPBinOp { } @end @interface EXPMultOp : EXPBinOp { } @end @interface EXPDivOp : EXPBinOp { } @end @interface EXPPwrOp : EXPBinOp { } @end @interface EXPOrOp : EXPBinOp { } @end @interface EXPAndOp : EXPBinOp { } @end /* @interface EXPAssignmentOp : EXPBinOp { } @end */ /*@interface EXPGradientAssignmentOp : EXPBinOp { } @end */ @interface EXPEqualToOp : EXPBinOp { } @end @interface EXPNotEqualToOp : EXPBinOp { } @end @interface EXPGreaterThanOp : EXPBinOp { } @end @interface EXPLessThanOp : EXPBinOp { } @end @interface EXPGreaterThanOrEqualToOp : EXPBinOp { } @end @interface EXPLessThanOrEqualToOp : EXPBinOp { } @end