Add a "limit" keyword.

This commit is contained in:
Nigel Tao committed 2017-06-22 17:32:56 +10:00
1 parent 1d39b1e173
commit 7a3ddbc025
14 files changed
+204 -29

No files matched your search

+2
View File
@@ -199,6 +199,8 @@ const MaxExprDepth = 255
// For slices, like "LHS[MHS:RHS]", ID0 is IDColon.
//
// For selectors, like "LHS.ID1", ID0 is IDDot.
//
// For limits, like "limit (LHS) RHS", ID0 is IDLimit.
type Expr Node
func (n *Expr) Node() *Node { return (*Node)(n) }