We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ae1a53 commit 8490b62Copy full SHA for 8490b62
1 file changed
pkg/lang/keyword.go
@@ -62,6 +62,10 @@ func (k Keyword) Name() string {
62
return k.value()
63
}
64
65
+func (k Keyword) Sym() *Symbol {
66
+ return InternSymbol(k.Namespace(), k.Name())
67
+}
68
+
69
func (k Keyword) String() string {
70
return ":" + k.value()
71
0 commit comments