Skip to content

Commit 4de285f

Browse files
ericvergnaudparrt
authored andcommitted
add license prefix
1 parent d49b9f8 commit 4de285f

File tree

88 files changed

+352
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+352
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
export default class TokenSource {}
26

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
// this is just to keep meaningful parameter types to Parser
26
export default class TokenStream {}
37

runtime/JavaScript/src/antlr4/TraceListener.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import ParseTreeListener from "./tree/ParseTreeListener.js";
26

37
export default class TraceListener extends ParseTreeListener {

runtime/JavaScript/src/antlr4/action/LexerAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import HashCode from "../misc/HashCode.js";
26

37
/* Copyright (c) 2012-2022 The ANTLR Project. All rights reserved.

runtime/JavaScript/src/antlr4/action/LexerChannelAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import {default as LexerActionType } from "../atn/LexerActionType.js";
26
import LexerAction from "./LexerAction.js";
37

runtime/JavaScript/src/antlr4/action/LexerCustomAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import {default as LexerActionType } from "../atn/LexerActionType.js";
26
import LexerAction from "./LexerAction.js";
37

runtime/JavaScript/src/antlr4/action/LexerIndexedCustomAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
/**
26
* This implementation of {@link LexerAction} is used for tracking input offsets
37
* for position-dependent actions within a {@link LexerActionExecutor}.

runtime/JavaScript/src/antlr4/action/LexerModeAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import {default as LexerActionType } from "../atn/LexerActionType.js";
26
import LexerAction from "./LexerAction.js";
37

runtime/JavaScript/src/antlr4/action/LexerMoreAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import {default as LexerActionType } from "../atn/LexerActionType.js";
26
import LexerAction from "./LexerAction.js";
37

runtime/JavaScript/src/antlr4/action/LexerPopModeAction.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved.
2+
* Use is of this file is governed by the BSD 3-clause license that
3+
* can be found in the LICENSE.txt file in the project root.
4+
*/
15
import {default as LexerActionType } from "../atn/LexerActionType.js";
26
import LexerAction from "./LexerAction.js";
37

0 commit comments

Comments
 (0)