Sfoglia il codice sorgente

Update ExprTools.hx (#5715)

Mark Knol 9 anni fa
parent
commit
0ee6ec4466
1 ha cambiato i file con 7 aggiunte e 6 eliminazioni
  1. 7 6
      std/haxe/macro/ExprTools.hx

+ 7 - 6
std/haxe/macro/ExprTools.hx

@@ -215,12 +215,13 @@ class ExprTools {
 		Returns the value `e` represents.
 		Returns the value `e` represents.
 
 
 		Supported expressions are:
 		Supported expressions are:
-			- `Int`, `Float` and `String` literals
-			- identifiers `true`, `false` and `null`
-			- structure declarations if all their fields are values
-			- array declarations if all their elements are values
-			- unary operators `-`, `!` and `~` if the operand is a value
-			- binary operators except `=>`, `...` and assignments
+
+		 - `Int`, `Float` and `String` literals
+		 - identifiers `true`, `false` and `null`
+		 - structure declarations if all their fields are values
+		 - array declarations if all their elements are values
+		 - unary operators `-`, `!` and `~` if the operand is a value
+		 - binary operators except `=>`, `...` and assignments
 
 
 		Parentheses, metadata and the `untyped` keyword are ignored.
 		Parentheses, metadata and the `untyped` keyword are ignored.