瀏覽代碼

Update ExprTools.hx (#5715)

Mark Knol 9 年之前
父節點
當前提交
0ee6ec4466
共有 1 個文件被更改,包括 7 次插入6 次删除
  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.
 
 		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.