diff --git a/runtime/Go/antlr/atn.go b/runtime/Go/antlr/atn.go index 188ad548c..e999ced1d 100644 --- a/runtime/Go/antlr/atn.go +++ b/runtime/Go/antlr/atn.go @@ -1,8 +1,5 @@ package antlr -import "fmt" - - var ATNInvalidAltNumber int type ATN struct { diff --git a/runtime/Go/antlr/common_token_factory.go b/runtime/Go/antlr/common_token_factory.go index e096e1cf6..a31d4ef5f 100644 --- a/runtime/Go/antlr/common_token_factory.go +++ b/runtime/Go/antlr/common_token_factory.go @@ -1,7 +1,5 @@ package antlr -import "fmt" - // TokenFactory creates CommonToken objects. type TokenFactory interface { Create(source *TokenSourceCharStreamPair, ttype int, text string, channel, start, stop, line, column int) Token diff --git a/runtime/Go/antlr/common_token_stream.go b/runtime/Go/antlr/common_token_stream.go index 1220701ff..819086ad7 100644 --- a/runtime/Go/antlr/common_token_stream.go +++ b/runtime/Go/antlr/common_token_stream.go @@ -1,7 +1,6 @@ package antlr import ( - "fmt" "strconv" ) diff --git a/runtime/Go/antlr/file_stream.go b/runtime/Go/antlr/file_stream.go index db9c4ce78..842484cec 100644 --- a/runtime/Go/antlr/file_stream.go +++ b/runtime/Go/antlr/file_stream.go @@ -2,7 +2,6 @@ package antlr import ( "bytes" - "fmt" "io" "os" ) diff --git a/runtime/Go/antlr/input_stream.go b/runtime/Go/antlr/input_stream.go index c18ab591b..fc17e4d03 100644 --- a/runtime/Go/antlr/input_stream.go +++ b/runtime/Go/antlr/input_stream.go @@ -1,7 +1,5 @@ package antlr -import "fmt" - type InputStream struct { name string index int diff --git a/runtime/Go/antlr/interval_set.go b/runtime/Go/antlr/interval_set.go index 1b202c42d..909ab1b14 100644 --- a/runtime/Go/antlr/interval_set.go +++ b/runtime/Go/antlr/interval_set.go @@ -1,7 +1,6 @@ package antlr import ( - "fmt" "strconv" "strings" ) diff --git a/runtime/Go/antlr/lexer_action_executor.go b/runtime/Go/antlr/lexer_action_executor.go index f750ec8b7..bb5ef924d 100644 --- a/runtime/Go/antlr/lexer_action_executor.go +++ b/runtime/Go/antlr/lexer_action_executor.go @@ -1,9 +1,5 @@ package antlr -import ( - "fmt" -) - // Represents an executor for a sequence of lexer actions which traversed during // the Matching operation of a lexer rule (token). // diff --git a/runtime/Go/antlr/ll1_analyzer.go b/runtime/Go/antlr/ll1_analyzer.go index 8f9fa641a..2f11ad3c4 100644 --- a/runtime/Go/antlr/ll1_analyzer.go +++ b/runtime/Go/antlr/ll1_analyzer.go @@ -1,9 +1,5 @@ package antlr -import ( - "fmt" -) - type LL1Analyzer struct { atn *ATN }