Home
last modified time | relevance | path

Searched refs:pegRule (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/util/fipstools/delocate/
Ddelocate.go135 switch node.pegRule {
154 panic(fmt.Sprintf("unknown top-level statement type %q", rul3s[node.pegRule]))
280 if term.pegRule != ruleLocalSymbol {
314 switch label.pegRule {
325 return nil, fmt.Errorf("unknown label type %q", rul3s[label.pegRule])
527 for symRef != nil && symRef.pegRule == ruleOffset {
539 if memRef.pegRule != ruleSymbolRef {
551 if symRef.pegRule == ruleLocalSymbol {
574 panic(fmt.Sprintf("unexpected token in SymbolRef: %q", rul3s[symRef.pegRule]))
596 if arg.pegRule == ruleIndirectionIndicator {
[all …]
Ddelocate.peg.go15 type pegRule uint8 type
18 ruleUnknown pegRule = iota
106 pegRule anonMember
111 return fmt.Sprintf("\x1B[34m%v\x1B[m %v %v", rul3s[t.pegRule], t.begin, t.end)
126 rule := rul3s[node.pegRule]
197 func (t *tokens32) Add(rule pegRule, begin, end, index uint32) {
204 pegRule: rule,
283 rul3s[token.pegRule],
334 add := func(rule pegRule, begin uint32) {