aboutsummaryrefslogtreecommitdiff
path: root/driver/spec.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-11-05 14:21:13 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-11-05 14:21:13 +0900
commitb24f61a465d21af404ed647a977160042017e601 (patch)
tree0b695a6775ed6a0a7bb41404b598055855417673 /driver/spec.go
parentUpdate README (diff)
downloadurubu-b24f61a465d21af404ed647a977160042017e601.tar.gz
urubu-b24f61a465d21af404ed647a977160042017e601.tar.xz
Remove alias system
Remove unimportant features to tidy up the specification.
Diffstat (limited to 'driver/spec.go')
-rw-r--r--driver/spec.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/driver/spec.go b/driver/spec.go
index dda1251..e694d0b 100644
--- a/driver/spec.go
+++ b/driver/spec.go
@@ -64,10 +64,6 @@ func (g *grammarImpl) Terminal(terminal int) string {
return g.g.ParsingTable.Terminals[terminal]
}
-func (g *grammarImpl) TerminalAlias(terminal int) string {
- return g.g.LexicalSpecification.Maleeni.KindAliases[terminal]
-}
-
func (g *grammarImpl) ASTAction(prod int) []int {
return g.g.ASTAction.Entries[prod]
}