gnu.expr
Class ThisExp
java.lang.Object
   gnu.mapping.Procedure
gnu.mapping.Procedure
       gnu.mapping.Procedure0
gnu.mapping.Procedure0
           gnu.expr.Expression
gnu.expr.Expression
               gnu.expr.AccessExp
gnu.expr.AccessExp
                   gnu.expr.ReferenceExp
gnu.expr.ReferenceExp
                       gnu.expr.ThisExp
gnu.expr.ThisExp
- All Implemented Interfaces: 
- Named, Printable
- public class ThisExp 
- extends ReferenceExp
Evaluates to the "this" implicit variable.
 This is currently neither robust nor general.  FIXME!
| Field Summary | 
| static java.lang.String | THIS_NAMENon-interned name for implicit 'this' variable.
 | 
 
 
 
 
 
 
 
| Methods inherited from class gnu.expr.Expression | 
| apply, apply0, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, eval, getColumn, getFile, getFlag, getFlags, getLine, makeWhile, match0, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, walkChildren | 
 
 
| Methods inherited from class gnu.mapping.Procedure | 
| apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getProperty, getSetter, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
THIS_NAME
public static final java.lang.String THIS_NAME
- Non-interned name for implicit 'this' variable.
 
 
ThisExp
public ThisExp()
ThisExp
public ThisExp(ScopeExp context)
ThisExp
public ThisExp(Declaration binding)
ThisExp
public ThisExp(ClassType type)
isForContext
public final boolean isForContext()
- If this is being used to pass the context instance to a Macro.
 
- 
 
eval
public java.lang.Object eval(Environment env)
- 
- Overrides:
- evalin class- ReferenceExp
 
- 
 
getContextScope
public ScopeExp getContextScope()
- 
 
makeGivingContext
public static ThisExp makeGivingContext(ScopeExp context)
- 
 
compile
public void compile(Compilation comp,
                    Target target)
- 
- Overrides:
- compilein class- ReferenceExp
 
- 
 
walk
protected Expression walk(ExpWalker walker)
- 
- Overrides:
- walkin class- ReferenceExp
 
- 
 
getType
public final Type getType()
- Description copied from class: Expression
- Return the Type used to represent the values of this Expression.
 
- 
- Overrides:
- getTypein class- ReferenceExp
 
-