- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestExpr (0.14 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())
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Viewed (0) -
clause/expression_test.go
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Aug 10 05:34:33 GMT 2023 - 8.4K bytes - Viewed (0)