Uses of Class
SFE.Compiler.Expression

Packages that use Expression
SFE.Compiler   
 

Uses of Expression in SFE.Compiler
 

Subclasses of Expression in SFE.Compiler
 class BinaryOpExpression
          A class for representing binary operation expressions that can be defined in the program.
 class BooleanConstant
          The BooleanConstant class represents boolean consts expressions that can appear in the program.
 class ConstExpression
          The ConstExpression class represents consts expressions that can appear in the program.
 class IntConstant
          The IntConstant class represents integer consts expressions that can appear in the program.
 class LvalExpression
          The LvalExpression class represents an Expression that can appear as LHS in the program.
 class OperationExpression
          class OperationExpression defines expressions containing operatioins, that can be defined in the program.
 class TrinaryOpExpression
          A class for representing trinary operator expressions that can be defined in the program.
 class UnaryOpExpression
          A class for representing unary operator expressions that can be defined in the program.
 

Methods in SFE.Compiler that return Expression
 Expression LvalExpression.bitAt(int i)
          Returns Expression that represents the bit at place i of this Expression
 Expression IntConstant.bitAt(int i)
          Returns Expression that represents the bit at place i of this Expression
 Expression Expression.bitAt(int i)
          This method should be overriden by subclasses that can return a single bit from their expression.
 Expression BooleanConstant.bitAt(int i)
          Returns Expression that represents the bit at place i of this Expression.
 Expression UnaryOpExpression.duplicate()
          returns a replica of this expression
 Expression TrinaryOpExpression.duplicate()
          returns a replica of this expression
abstract  Expression OperationExpression.duplicate()
          returns a replic of this Expression
 Expression Expression.duplicate()
          Returns this expression.
 Expression BinaryOpExpression.duplicate()
          returns a replica of this BinaryOpExpression.
 Expression OperationExpression.evaluateExpression(AssignmentStatement as, BlockStatement result)
          recursivly calculates inner arithmetic expression and inserts them into the proper function.
 Expression Expression.evaluateExpression(AssignmentStatement as, BlockStatement result)
          Recursivly calculates inner arithmetic expression.
 Expression BinaryOpExpression.getLeft()
          Returns the left input pin.
 Expression UnaryOpExpression.getMiddle()
          return the input of the expression
 Expression LvalExpression.getMiddleOfUnaryInput()
          Returns the input of the unary gate that this expression is its result.
 Expression BinaryOpExpression.getRight()
          Returns the right input pin.
 

Methods in SFE.Compiler with parameters of type Expression
 boolean LvalExpression.hasSharedInput(Expression exp)
          Returns true if this expression has input pins that share an input.
 boolean Expression.hasSharedInput(Expression exp)
          Returns true if this exression has input pin that share an input.
 

Constructors in SFE.Compiler with parameters of type Expression
BinaryOpExpression(Operator op, Expression left, Expression right)
          Constructs a new BinaryOpExpression from a given oparator and inputs.
IfStatement(Expression condition, Statement thenBlock, Statement elseBlock)
          Construct a new if statement.
TrinaryOpExpression(Operator op, Expression left, Expression middle, Expression right)
          Constructs a new TrinaryOpExpression from a given oparator and inputs.
UnaryOpExpression(Operator op, Expression middle)
          Constructs a new UnaryOpExpression from a given oparator and input.