|
@@ -200,7 +200,7 @@ class Context {
|
|
public static function getLocalTVars() : haxe.ds.StringMap<Type.TVar> {
|
|
public static function getLocalTVars() : haxe.ds.StringMap<Type.TVar> {
|
|
return load("local_vars", 1)(true);
|
|
return load("local_vars", 1)(true);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
Tells if compiler directive `s` has been set.
|
|
Tells if compiler directive `s` has been set.
|
|
|
|
|
|
@@ -254,6 +254,9 @@ class Context {
|
|
/**
|
|
/**
|
|
Parses `expr` as haxe code, returning the corresponding AST.
|
|
Parses `expr` as haxe code, returning the corresponding AST.
|
|
|
|
|
|
|
|
+ String interpolation of single quote strings within `expr` is not
|
|
|
|
+ supported.
|
|
|
|
+
|
|
The provided `Position` `pos` is used for all generated inner AST nodes.
|
|
The provided `Position` `pos` is used for all generated inner AST nodes.
|
|
**/
|
|
**/
|
|
public static function parse( expr : String, pos : Position ) : Expr {
|
|
public static function parse( expr : String, pos : Position ) : Expr {
|