Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for lex (0.05 sec)

  1. src/cmd/asm/internal/asm/parse.go

    	//	">>" == 1
    	//	"->" == 2
    	//	"@>" == 3
    	r1, ok := p.registerReference(name)
    	if !ok {
    		return 0
    	}
    	var op int16
    	switch p.next().ScanToken {
    	case lex.LSH:
    		op = 0
    	case lex.RSH:
    		op = 1
    	case lex.ARR:
    		op = 2
    	case lex.ROT:
    		// following instructions on ARM64 support rotate right
    		// AND, ANDS, TST, BIC, BICS, EON, EOR, ORR, MVN, ORN
    		op = 3
    	}
    	tok := p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    		}
    	}
    	in.token.text = text
    	in.token.endPos = in.pos
    }
    
    // peek returns the kind of the next token returned by lex.
    func (in *input) peek() tokenKind {
    	return in.token.kind
    }
    
    // lex is called from the parser to obtain the next input token.
    func (in *input) lex() token {
    	tok := in.token
    	in.readToken()
    	return tok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser_test.go

    	// s := bytes.NewBuffer([]byte("s.['name'].*.[*].abc.[\"abc\"]"))
    	s := bytes.NewBuffer([]byte("S3Object.words.*.id"))
    	// s := bytes.NewBuffer([]byte("COUNT(Id)"))
    	lex, err := sqlLexer.Lex(s)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    	if len(tokens) != 7 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/text/template/parse/parse.go

    		}
    		*errp = e.(error)
    	}
    }
    
    // startParse initializes the parser, using the lexer.
    func (t *Tree) startParse(funcs []map[string]any, lex *lexer, treeSet map[string]*Tree) {
    	t.Root = nil
    	t.lex = lex
    	t.vars = []string{"$"}
    	t.funcs = funcs
    	t.treeSet = treeSet
    	lex.options = lexOptions{
    		emitComment: t.Mode&ParseComments != 0,
    		breakOK:     !t.hasFunction("break"),
    		continueOK:  !t.hasFunction("continue"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. src/cmd/asm/main.go

    package main
    
    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    	telemetry.Start()
    
    	buildcfg.Check()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    package asm
    
    import (
    	"fmt"
    	"internal/abi"
    	"strconv"
    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    	"cmd/internal/obj/riscv"
    	"cmd/internal/obj/x86"
    	"cmd/internal/sys"
    )
    
    // TODO: configure the architecture
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    //
    // Special cases that have turned out to be useful:
    //   - ssa/check/on enables checking after each phase
    //   - ssa/all/time enables time reporting for all phases
    //
    // See gc/lex.go for dissection of the option string.
    // Example uses:
    //
    // GO_GCFLAGS=-d=ssa/generic_cse/time,ssa/generic_cse/stats,ssa/generic_cse/debug=3 ./make.bash
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top