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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
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
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue