Starting out the import statement
This commit is contained in:
committed by
Richard van Velzen
parent
6780d0906c
commit
0465bd270d
@@ -702,6 +702,13 @@ var AST_Const = DEFNODE("Const", null, {
|
||||
$documentation: "A `const` statement"
|
||||
}, AST_Definitions);
|
||||
|
||||
var AST_Import = DEFNODE("Import", "module_name", {
|
||||
$documentation: "An `import` statement",
|
||||
$propdoc: {
|
||||
module_name: "[AST_String] String literal describing where this module came from",
|
||||
}
|
||||
});
|
||||
|
||||
var AST_VarDef = DEFNODE("VarDef", "name value", {
|
||||
$documentation: "A variable declaration; only appears in a AST_Definitions node",
|
||||
$propdoc: {
|
||||
|
||||
Reference in New Issue
Block a user