forked from jasder/antlr
Rename package antlr4 to antlr
This commit is contained in:
parent
bff76c3e5a
commit
519277f78f
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
type ATNDeserializationOptions struct {
|
type ATNDeserializationOptions struct {
|
||||||
readOnly bool
|
readOnly bool
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
type BaseATNSimulator struct {
|
type BaseATNSimulator struct {
|
||||||
atn *ATN
|
atn *ATN
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
// Represents the type of recognizer an ATN applies to.
|
// Represents the type of recognizer an ATN applies to.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
type CharStream interface {
|
type CharStream interface {
|
||||||
IntStream
|
IntStream
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// {@link CommonToken} objects.
|
// {@link CommonToken} objects.
|
||||||
//
|
//
|
||||||
|
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
// {@link Token//HIDDEN_CHANNEL}, use a filtering token stream such a
|
// {@link Token//HIDDEN_CHANNEL}, use a filtering token stream such a
|
||||||
// {@link CommonTokenStream}.</p>
|
// {@link CommonTokenStream}.</p>
|
||||||
|
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "sort"
|
import "sort"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import ()
|
import ()
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
type IntStream interface {
|
type IntStream interface {
|
||||||
Consume()
|
Consume()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
// Represents an executor for a sequence of lexer actions which traversed during
|
// Represents an executor for a sequence of lexer actions which traversed during
|
||||||
// the Matching operation of a lexer rule (token).
|
// the Matching operation of a lexer rule (token).
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
// A rule context is a record of a single rule invocation. It knows
|
// A rule context is a record of a single rule invocation. It knows
|
||||||
// which context invoked it, if any. If there is no parent context, then
|
// which context invoked it, if any. If there is no parent context, then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
type TokenSource interface {
|
type TokenSource interface {
|
||||||
NextToken() Token
|
NextToken() Token
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
type TokenStream interface {
|
type TokenStream interface {
|
||||||
IntStream
|
IntStream
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
// The basic notion of a tree has a parent, a payload, and a list of children.
|
// The basic notion of a tree has a parent, a payload, and a list of children.
|
||||||
// It is the most abstract interface for all the trees used by ANTLR.
|
// It is the most abstract interface for all the trees used by ANTLR.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package antlr4
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
Loading…
Reference in New Issue