LKDeclRef documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the LKBlockSelfRef class
  2. Software documentation for the LKBuiltinSymbol class
  3. Software documentation for the LKDeclRef class
  4. Software documentation for the LKNilRef class
  5. Software documentation for the LKSelfRef class
  6. Software documentation for the LKSuperRef class

Software documentation for the LKBlockSelfRef class

LKBlockSelfRef : LKBuiltinSymbol

Declared in:
LKDeclRef.h

Reference to the block object, from within its scope.

Software documentation for the LKBuiltinSymbol class

LKBuiltinSymbol : LKDeclRef

Declared in:
LKDeclRef.h

Abstract class for all built-in symbols. These are subclasses of LKDeclRef, so it's possible to set their name. For example, a Java-like language may choose to call the self builtin 'this', or a Go-like frontend may give it a different name for every method.

Method summary

builtin 

+ (LKBuiltinSymbol*) builtin;

Returns a new autoreleased instance of he receiver.


Software documentation for the LKDeclRef class

LKDeclRef : LKAST

Declared in:
LKDeclRef.h

AST node representing a reference to a variable.

Method summary

referenceWithSymbol: 

+ (id) referenceWithSymbol: (NSString*)sym;

Returns autoreleased reference for the specified symbol.


Software documentation for the LKNilRef class

LKNilRef : LKBuiltinSymbol

Declared in:
LKDeclRef.h

A nil (object) value.

Software documentation for the LKSelfRef class

LKSelfRef : LKBuiltinSymbol

Declared in:
LKDeclRef.h

Reference to the receiver, in methods and blocks inside methods.

Software documentation for the LKSuperRef class

LKSuperRef : LKBuiltinSymbol

Declared in:
LKDeclRef.h

Reference to the superclass of he receiver.