Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ public class Operators {
/** Allocates memory for an object of a specific type */
public static final String alloc = "<operator>.alloc";

/** Imports a package */
public static final String importCall = "<operator>.import";

public static Set<String> ALL = new HashSet<String>() {{
add(addition);
add(subtraction);
Expand Down Expand Up @@ -298,6 +301,7 @@ public class Operators {
add(safeNavigation);
add(tryCatch);
add(alloc);
add(importCall);
}};

}
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,12 @@ object Operators extends SchemaBase {
value = "<operator>.alloc",
valueType = ValueType.String,
comment = "Allocates memory for an object of a specific type"
),
Constant(
name = "importCall",
value = "<operator>.import",
valueType = ValueType.String,
comment = "Imports a package"
)
)

Expand Down
Loading