add copyrights on Python2
This commit is contained in:
parent
f597069728
commit
76d421a89e
|
@ -1,3 +1,9 @@
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
import unittest
|
import unittest
|
||||||
from antlr4.Token import Token
|
from antlr4.Token import Token
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# Provides an implementation of {@link TokenSource} as a wrapper around a list
|
# Provides an implementation of {@link TokenSource} as a wrapper around a list
|
||||||
# of {@link Token} objects.
|
# of {@link Token} objects.
|
||||||
|
@ -134,4 +140,4 @@ class ListTokenSource(TokenSource):
|
||||||
if inputStream is not None:
|
if inputStream is not None:
|
||||||
return inputStream.getSourceName()
|
return inputStream.getSourceName()
|
||||||
else:
|
else:
|
||||||
return "List"
|
return "List"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
class Chunk(object):
|
class Chunk(object):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# Represent a subset of XPath XML path syntax for use in identifying nodes in
|
# Represent a subset of XPath XML path syntax for use in identifying nodes in
|
||||||
|
|
Loading…
Reference in New Issue