src.elv.sh/pkg/parse.Indexing.Head (field)
29 uses
src.elv.sh/pkg/parse (current package)
parse.go#L241: head := an.Left.Head
parse.go#L416: parsed{pn}.addAs(&in.Head, in)
parse.go#L429: Head *Primary
parse.go#L434: ps.parse(&Primary{ExprCtx: in.ExprCtx}).addAs(&in.Head, in)
src.elv.sh/pkg/parse/cmpd
cmpd.go#L14: return n.Indexings[0].Head, true
cmpd.go#L64: pn := in.Head
src.elv.sh/pkg/edit/complete
completers.go#L116: if indexee := ev.PurelyEvalPrimary(indexing.Head); indexee != nil {
completers.go#L127: if indexee := ev.PurelyEvalPrimary(indexing.Head); indexee != nil {
completers.go#L145: if indexee := ev.PurelyEvalPrimary(indexing.Head); indexee != nil {
src.elv.sh/pkg/edit/highlight
regions.go#L120: if an.Left != nil && an.Left.Head != nil {
regions.go#L121: f(an.Left.Head, semanticRegion, variableRegion)
regions.go#L173: if n != nil && len(n.Indexings) == 1 && n.Indexings[0].Head != nil {
regions.go#L174: f(n.Indexings[0].Head, semanticRegion, variableRegion)
regions.go#L179: return len(n.Indexings) == 1 && len(n.Indexings[0].Indicies) == 0 && n.Indexings[0].Head.Type == parse.Bareword
regions.go#L195: f(n.Args[0].Indexings[0].Head, semanticRegion, variableRegion)
src.elv.sh/pkg/eval
builtin_special.go#L88: pn := cn.Indexings[0].Head
builtin_special.go#L153: head, indices := cn.Indexings[0].Head, cn.Indexings[0].Indicies
compile_lvalue.go#L49: if n.Head.Type == parse.Braced {
compile_lvalue.go#L54: return cp.parseCompoundLValues(n.Head.Braced)
compile_lvalue.go#L57: if !parse.ValidLHSVariable(n.Head, true) {
compile_lvalue.go#L58: cp.errorpf(n.Head, "lvalue must be valid literal variable names")
compile_lvalue.go#L60: varUse := n.Head.Value
compile_lvalue.go#L84: ends[0] = n.Head.Range().To
compile_value.go#L33: if n.Indexings[0].Head.Type == parse.Tilde {
compile_value.go#L210: return cp.primaryOp(n.Head)
compile_value.go#L212: return &indexingOp{n.Range(), cp.primaryOp(n.Head), cp.arrayOps(n.Indicies)}
purely_eval.go#L24: switch in.Head.Type {
purely_eval.go#L28: head += in.Head.Value
purely_eval.go#L33: v := ev.PurelyEvalPrimary(in.Head)