- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestExpr (0.12 sec)
-
src/cmd/asm/internal/asm/expr_test.go
{"3<<2+4", 3<<2 + 4, true}, {"3<<2+4", 3<<2 + 4, true}, {"3<<(2+4)", 3 << (2 + 4), true}, // Junk at EOF. {"3 x", 3, false}, // Big number {"4611686018427387904", 4611686018427387904, true}, } func TestExpr(t *testing.T) { p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser. for i, test := range exprTests { p.start(lex.Tokenize(test.input)) result := int64(p.expr())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
clause/expression_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 10 05:34:33 UTC 2023 - 8.4K bytes - Viewed (0)