forked from jasder/antlr
Fix unused import error
This commit is contained in:
parent
0541f34a7e
commit
f553056a2b
|
@ -1,8 +1,5 @@
|
|||
package antlr
|
||||
|
||||
import "fmt"
|
||||
|
||||
|
||||
var ATNInvalidAltNumber int
|
||||
|
||||
type ATN struct {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package antlr
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package antlr
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
package antlr
|
||||
|
||||
import "fmt"
|
||||
|
||||
type InputStream struct {
|
||||
name string
|
||||
index int
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package antlr
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
|
|
@ -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).
|
||||
//
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
package antlr
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type LL1Analyzer struct {
|
||||
atn *ATN
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue