kawa.standard
Class define_autoload
java.lang.Object
kawa.lang.Syntax
kawa.standard.define_autoload
- All Implemented Interfaces:
- Named, Printable
public class define_autoload
- extends Syntax
Constructor Summary |
define_autoload(java.lang.String name,
boolean fromFile)
|
Method Summary |
static void |
findAutoloadComments(LispReader in,
java.lang.String filename,
ScopeExp defs,
Translator tr)
|
static boolean |
process(java.lang.Object names,
java.lang.Object filename,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
|
Expression |
rewriteForm(Pair form,
Translator tr)
|
boolean |
scanFile(java.lang.String filespec,
ScopeExp defs,
Translator tr)
|
boolean |
scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
Check if a statement is a definition, for initial pass. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
define_autoload
public static final define_autoload define_autoload
define_autoloads_from_file
public static final define_autoload define_autoloads_from_file
define_autoload
public define_autoload(java.lang.String name,
boolean fromFile)
scanForDefinitions
public boolean scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
- Description copied from class:
Syntax
- Check if a statement is a definition, for initial pass.
Semi-deprecated - should convert calls to use scanForm.
- Overrides:
scanForDefinitions
in class Syntax
- Parameters:
st
- the statement to checkforms
- where to append the (possibly-modified) statementdefs
- where to add Declarations for found definitionstr
- the compilation state
- Returns:
- true on success
scanFile
public boolean scanFile(java.lang.String filespec,
ScopeExp defs,
Translator tr)
findAutoloadComments
public static void findAutoloadComments(LispReader in,
java.lang.String filename,
ScopeExp defs,
Translator tr)
throws java.io.IOException,
SyntaxException
- Throws:
java.io.IOException
SyntaxException
process
public static boolean process(java.lang.Object names,
java.lang.Object filename,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
rewriteForm
public Expression rewriteForm(Pair form,
Translator tr)
- Overrides:
rewriteForm
in class Syntax