Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InstAlt (0.14 sec)

  1. src/regexp/syntax/prog.go

    }
    
    // An InstOp is an instruction opcode.
    type InstOp uint8
    
    const (
    	InstAlt InstOp = iota
    	InstAltMatch
    	InstCapture
    	InstEmptyWidth
    	InstMatch
    	InstFail
    	InstNop
    	InstRune
    	InstRune1
    	InstRuneAny
    	InstRuneAnyNotNL
    )
    
    var instOpNames = []string{
    	"InstAlt",
    	"InstAltMatch",
    	"InstCapture",
    	"InstEmptyWidth",
    	"InstMatch",
    	"InstFail",
    	"InstNop",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/regexp/backtrack.go

    			continue
    		}
    	Skip:
    
    		inst := &re.prog.Inst[pc]
    
    		switch inst.Op {
    		default:
    			panic("bad inst")
    		case syntax.InstFail:
    			panic("unexpected InstFail")
    		case syntax.InstAlt:
    			// Cannot just
    			//   b.push(inst.Out, pos, false)
    			//   b.push(inst.Arg, pos, false)
    			// If during the processing of inst.Out, we encounter
    			// inst.Arg via another path, we want to process it then.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top