add copyrights on go

This commit is contained in:
parrt 2016-12-04 11:19:27 -08:00
parent 03c2426e9c
commit 03925a2753
43 changed files with 172 additions and 0 deletions

View File

@ -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

View File

@ -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 (

View File

@ -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"

View File

@ -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}

View File

@ -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 (

View File

@ -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))

View File

@ -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"

View File

@ -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.

View File

@ -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 {

View File

@ -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.

View File

@ -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 (

View File

@ -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"

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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

View File

@ -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 (

View File

@ -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 {

View File

@ -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 {

View File

@ -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 (

View File

@ -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 (

View File

@ -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"

View File

@ -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

View File

@ -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 (

View File

@ -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 {

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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 (

View File

@ -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

View File

@ -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 (

View File

@ -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 (

View File

@ -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 {

View File

@ -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 {

View File

@ -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"

View File

@ -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 (

View File

@ -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.

View File

@ -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"

View File

@ -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 (