elvish/edit/attr.go
2013-10-04 23:18:52 +08:00

16 lines
278 B
Go

package edit
import (
"../parse"
)
var attrForType = map[parse.ItemType]string{
parse.ItemSingleQuoted: "33",
parse.ItemDoubleQuoted: "33",
parse.ItemRedirLeader: "32",
parse.ItemPipe: "32",
parse.ItemError: "31",
parse.ItemLParen: "34;1",
parse.ItemRParen: "34;1",
}