src.elv.sh/pkg/parse.Primary.Type (field)

35 uses

	src.elv.sh/pkg/parse (current package)
		parse.go#L253: 	switch p.Type {
		parse.go#L414: 		pn := &Primary{node: base, Type: Tilde, Value: "~"}
		parse.go#L481: 	Type    PrimaryType
		parse.go#L548: 		pn.Type = Bareword
		parse.go#L553: 	pn.Type = SingleQuoted
		parse.go#L584: 	pn.Type = DoubleQuoted
		parse.go#L694: 	pn.Type = Variable
		parse.go#L730: 	pn.Type = Wildcard
		parse.go#L738: 	pn.Type = Wildcard
		parse.go#L750: 	pn.Type = ExceptionCapture
		parse.go#L760: 	pn.Type = OutputCapture
		parse.go#L814: 			pn.Type = Map
		parse.go#L816: 			pn.Type = List
		parse.go#L823: 	pn.Type = Lambda
		parse.go#L840: 	pn.Type = Braced
		parse.go#L864: 	pn.Type = Bareword

	src.elv.sh/pkg/parse/cmpd
		cmpd.go#L23: 		switch pn.Type {
		cmpd.go#L35: 		if pn.Type == parse.Lambda {
		cmpd.go#L65: 	return "primary expression of type " + pn.Type.String()

	src.elv.sh/pkg/edit/complete
		completers.go#L46: 					ctx := &context{"argument", seed, primary.Type, compound.Range()}
		completers.go#L78: 			ptype := parent.(*parse.Primary).Type
		completers.go#L92: 						"command", seed, primary.Type, compound.Range()}
		completers.go#L147: 								"index", seed, primary.Type, compound.Range()}
		completers.go#L173: 					"redir", seed, primary.Type, compound.Range()}
		completers.go#L185: 	if !ok || primary.Type != parse.Variable {

	src.elv.sh/pkg/edit/filter
		compile.go#L56: 		switch pn.Type {
		highlight.go#L54: 	switch n.Type {

	src.elv.sh/pkg/edit/highlight
		regions.go#L179: 	return len(n.Indexings) == 1 && len(n.Indexings[0].Indicies) == 0 && n.Indexings[0].Head.Type == parse.Bareword
		regions.go#L227: 	switch n.Type {

	src.elv.sh/pkg/eval
		builtin_special.go#L154: 		if head.Type == parse.Variable {
		compile_lvalue.go#L49: 	if n.Head.Type == parse.Braced {
		compile_value.go#L33: 	if n.Indexings[0].Head.Type == parse.Tilde {
		compile_value.go#L255: 	switch n.Type {
		purely_eval.go#L24: 		switch in.Head.Type {
		purely_eval.go#L63: 	switch pn.Type {