gnu.expr
Class ObjectExp

java.lang.Object
  |
  +--gnu.expr.Expression
        |
        +--gnu.expr.ScopeExp
              |
              +--gnu.expr.LambdaExp
                    |
                    +--gnu.expr.ObjectExp
Direct Known Subclasses:
ClassExp

public class ObjectExp
extends LambdaExp


Field Summary
 LambdaExp initMethod
           
 Expression[] supers
          List of base classes and implemented interfaces.
 
Fields inherited from class gnu.expr.LambdaExp
body, closureEnvField, defaultArgs, dumpZipCounter, dumpZipPrefix, fileFunctionName, firstChild, flags, keywords, max_args, min_args, name, nextSibling, staticLinkField
 
Fields inherited from class gnu.expr.ScopeExp
outer
 
Constructor Summary
ObjectExp()
           
 
Method Summary
 ClassType compile(Compilation comp)
           
 void compile(Compilation comp, Target target)
           
 ClassType getCompiledClassType(Compilation comp)
          Return the ClassType of the Procedure this is being compiled into.
 java.lang.String getJavaName()
           
 void print(java.io.PrintWriter ps)
           
 java.lang.String toString()
           
 
Methods inherited from class gnu.expr.LambdaExp
allocChildClasses, allocFrame, compileAlloc, compileEnd, compileSetField, declareClosureEnv, declareThis, eval, evalToClass, getCaller, getCanCall, getCanRead, getFlags, getImportsLexVars, getInlineOnly, getMainMethod, getMethod, getName, getNeedsClosureEnv, getNeedsStaticLink, getType, incomingArgs, isClassGenerated, isClassMethod, isHandlingTailCalls, isModuleBody, loadHeapFrame, outerLambda, outerLambdaNotInline, restArgType, setCanCall, setCanRead, setClassMethod, setImportsLexVars, setImportsLexVars, setInlineOnly, setName, setNeedsStaticLink, setNeedsStaticLink, variable_args
 
Methods inherited from class gnu.expr.ScopeExp
add, addDeclaration, addDeclaration, addDeclaration, countDecls, currentLambda, firstDecl, lookup
 
Methods inherited from class gnu.expr.Expression
compile, compileNotePosition, compileWithPosition, getColumn, getFile, getLine, setFile, setLine, setLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

supers

public Expression[] supers
List of base classes and implemented interfaces.

initMethod

public LambdaExp initMethod
Constructor Detail

ObjectExp

public ObjectExp()
Method Detail

getJavaName

public java.lang.String getJavaName()
Overrides:
getJavaName in class LambdaExp

getCompiledClassType

public ClassType getCompiledClassType(Compilation comp)
Description copied from class: LambdaExp
Return the ClassType of the Procedure this is being compiled into.
Overrides:
getCompiledClassType in class LambdaExp

compile

public void compile(Compilation comp,
                    Target target)
Overrides:
compile in class LambdaExp

compile

public ClassType compile(Compilation comp)
Overrides:
compile in class LambdaExp

print

public void print(java.io.PrintWriter ps)
Overrides:
print in class LambdaExp

toString

public java.lang.String toString()
Overrides:
toString in class LambdaExp