com.svincent.smalljava
Class Expr.Plus

java.lang.Object
  |
  +--com.svincent.util.BaseObject
        |
        +--com.svincent.smalljava.Expr
              |
              +--com.svincent.smalljava.Expr.BinaryExpr
                    |
                    +--com.svincent.smalljava.Expr.Plus
Enclosing class:
Expr

public static class Expr.Plus
extends com.svincent.smalljava.Expr.BinaryExpr

The normal + binary operator.


Inner classes inherited from class com.svincent.smalljava.Expr
Expr.Begin, Expr.BooleanConst, Expr.Call, Expr.Comment, Expr.DoubleConst, Expr.EQ, Expr.GE, Expr.GetField, Expr.GetLocal, Expr.GetStatic, Expr.GT, Expr.If, Expr.IntConst, Expr.LE, Expr.LT, Expr.Minus, Expr.NE, Expr.New, Expr.NewArray, Expr.NullConst, Expr.Plus, Expr.Return, Expr.SetArray, Expr.SetField, Expr.SetLocal, Expr.StringConst, Expr.SuperConstructor, Expr.This, Expr.While
 
Fields inherited from class com.svincent.smalljava.Expr
debugTypecheck, EmptyArray
 
Constructor Summary
Expr.Plus(Expr _l, Expr _r)
           
 
Method Summary
protected  void addInstruction(ClassFileWriter out)
           
 java.lang.String getOpName()
           
 
Methods inherited from class com.svincent.smalljava.Expr.BinaryExpr
deriveType, generateInstructions, getLhs, getRhs, writeAsJava
 
Methods inherited from class com.svincent.smalljava.Expr
evalType, getResultType, printTrailingSemi, tag
 
Methods inherited from class com.svincent.util.BaseObject
dump, dump, dumpToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Expr.Plus

public Expr.Plus(Expr _l,
                 Expr _r)
Method Detail

getOpName

public java.lang.String getOpName()
Overrides:
getOpName in class com.svincent.smalljava.Expr.BinaryExpr

addInstruction

protected void addInstruction(ClassFileWriter out)
Overrides:
addInstruction in class com.svincent.smalljava.Expr.BinaryExpr



This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/

Copyright © 1999 Shawn P. Vincent.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.