aboutsummaryrefslogtreecommitdiff
path: root/driver/spec.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-05-21 14:01:09 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-05-22 15:44:47 +0900
commitb5ad1d30df993d68cc64c140bf1005b5490f2605 (patch)
tree919e3102866b4dcf4ed58c0a48227ee0c81f1f5d /driver/spec.go
parentProhibit applying #left, #right, #assign, and #prec to an error symbol (diff)
downloadcotia-b5ad1d30df993d68cc64c140bf1005b5490f2605.tar.gz
cotia-b5ad1d30df993d68cc64c140bf1005b5490f2605.tar.xz
Stop supporting SLR(1) and always use LALR(1)
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 6127e73..195cb8c 100644
--- a/driver/spec.go
+++ b/driver/spec.go
@@ -12,10 +12,6 @@ func NewGrammar(g *spec.CompiledGrammar) *grammarImpl {
}
}
-func (g *grammarImpl) Class() string {
- return g.g.ParsingTable.Class
-}
-
func (g *grammarImpl) InitialState() int {
return g.g.ParsingTable.InitialState
}