|
@@ -46,6 +46,10 @@ class MacroStringTools {
|
|
|
Tells if `e` is a format string, i.e. uses single quotes `'` as
|
|
|
delimiters.
|
|
|
|
|
|
+ This only works if `e` has a position which the compiler can find. While
|
|
|
+ this is true for any expressions appearing in real Haxe code (i.e. some
|
|
|
+ .hx file), it might not work for expressions generated by macros.
|
|
|
+
|
|
|
This operation depends on the position of `e`.
|
|
|
**/
|
|
|
static public function isFormatExpr(e:ExprOf<String>) {
|