| java.lang.Object kawa.lang.SyntaxForm
SyntaxForm | public class SyntaxForm implements Externalizable(Code) | | A "syntatic closure" - a syntax form with its compilation environment.
|
fromDatum | public SyntaxForm fromDatum(Object form)(Code) | | Make a SyntaxForm object with the same contextual information as this.
Parameters: form - which used for the new syntax value.Corresponds to the datum->syntax-object function. |
isIdentifier | public boolean isIdentifier()(Code) | | |
makeWithTemplate | public static Object makeWithTemplate(Object template, Object form)(Code) | | Create a syntax object with specified form, and given syntatic context.
Used to implement datum->syntax-object in the syntax-case API.
Parameters: template - If this is a SyntaxForm, use its scope;otherwise use the current Compilation's current scope.(This means just returning the form as-is.) Parameters: form - The value (S-expression form) to use. |
|
|