Package kawa.standard
Class module_static
- java.lang.Object
-
- kawa.lang.Syntax
-
- kawa.standard.module_static
-
-
Field Summary
Fields Modifier and Type Field Description static module_static
module_static
-
Constructor Summary
Constructors Constructor Description module_static()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
rewriteForm(Pair form, Translator tr)
boolean
scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
Check if a statement is a definition, for initial pass.
-
-
-
Field Detail
-
module_static
public static final module_static module_static
-
-
Method Detail
-
scanForDefinitions
public boolean scanForDefinitions(Pair st, 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 classSyntax
- Parameters:
st
- the statement to checkdefs
- where to add Declarations for found definitionstr
- the compilation state- Returns:
- true on success
-
rewriteForm
public Expression rewriteForm(Pair form, Translator tr)
- Overrides:
rewriteForm
in classSyntax
-
-