Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for grammar (0.06 sec)

  1. internal/s3select/sql/parser.go

    // AliasedExpression is an expression that can be optionally named
    type AliasedExpression struct {
    	Expression *Expression `parser:"@@"`
    	As         string      `parser:"[ \"AS\" @Ident | \"AS\" @LitString ]"`
    }
    
    // Grammar for Expression
    //
    // Expression          → AndCondition ("OR" AndCondition)*
    // AndCondition        → Condition ("AND" Condition)*
    // Condition           → "NOT" Condition | ConditionExpression
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    	{"alpha\nbeta\ngamma", '\n', []string{"alpha\n", "beta\n", "gamma"}, io.EOF},
    }
    
    func TestReadBytes(t *testing.T) {
    	for _, test := range readBytesTests {
    		buf := NewBufferString(test.buffer)
    		var err error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top