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
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
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
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
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
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
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
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
// 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
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
// 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
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
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
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
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
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
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
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
// 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
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
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
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
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
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
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
// 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
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
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
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
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
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
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
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
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
// 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
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
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
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
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
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
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
// 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
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
import (