forked from jasder/antlr
add copyrights on go
This commit is contained in:
parent
03c2426e9c
commit
03925a2753
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
var ATNInvalidAltNumber int
|
var ATNInvalidAltNumber int
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
var ATNDeserializationOptionsdefaultOptions = &ATNDeserializationOptions{true, false, false}
|
var ATNDeserializationOptionsdefaultOptions = &ATNDeserializationOptions{true, false, false}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
var ATNSimulatorError = NewDFAState(0x7FFFFFFF, NewBaseATNConfigSet(false))
|
var ATNSimulatorError = NewDFAState(0x7FFFFFFF, NewBaseATNConfigSet(false))
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
// Represent the type of recognizer an ATN applies to.
|
// Represent the type of recognizer an ATN applies to.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
type CharStream interface {
|
type CharStream interface {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
// TokenFactory creates CommonToken objects.
|
// TokenFactory creates CommonToken objects.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import "sort"
|
import "sort"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
// The root of the ANTLR exception hierarchy. In general, ANTLR tracks just
|
// The root of the ANTLR exception hierarchy. In general, ANTLR tracks just
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
type InputStream struct {
|
type InputStream struct {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
type IntStream interface {
|
type IntStream interface {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
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
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
type LL1Analyzer struct {
|
type LL1Analyzer struct {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
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
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
type TokenSource interface {
|
type TokenSource interface {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
type TokenStream interface {
|
type TokenStream interface {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
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.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* Copyright (c) 2012 The ANTLR Project Contributors. All rights reserved.
|
||||||
|
* Use is of this file is governed by the BSD 3-clause license that
|
||||||
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
|
*/
|
||||||
package antlr
|
package antlr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in New Issue