Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add license prefix #3793

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/TokenSource.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/* Copyright (c) 2012-2022 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.
*/
export default class TokenSource {}

4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/TokenStream.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
// this is just to keep meaningful parameter types to Parser
export default class TokenStream {}

4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/TraceListener.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ParseTreeListener from "./tree/ParseTreeListener.js";

export default class TraceListener extends ParseTreeListener {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import HashCode from "../misc/HashCode.js";

/* Copyright (c) 2012-2022 The ANTLR Project. All rights reserved.
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerChannelAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerCustomAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
/**
* This implementation of {@link LexerAction} is used for tracking input offsets
* for position-dependent actions within a {@link LexerActionExecutor}.
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerModeAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerMoreAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerPopModeAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerPushModeAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerSkipAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/action/LexerTypeAction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import {default as LexerActionType } from "../atn/LexerActionType.js";
import LexerAction from "./LexerAction.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import Transition from "../transition/Transition.js";

export default class AbstractPredicateTransition extends Transition {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/atn/LexerATNConfig.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import DecisionState from "../state/DecisionState.js";
import ATNConfig from "./ATNConfig.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/atn/LexerActionType.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
export default {
// The type of a {@link LexerChannelAction} action.
CHANNEL: 0,
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/atn/OrderedATNConfigSet.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ATNConfigSet from "./ATNConfigSet.js";
import HashSet from "../misc/HashSet.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/atn/PrecedencePredicate.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import SemanticContext from "./SemanticContext.js";

export default class PrecedencePredicate extends SemanticContext {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/atn/Predicate.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import SemanticContext from "./SemanticContext.js";

export default class Predicate extends SemanticContext {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/atn/PredictionContextCache.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import PredictionContext from "../context/PredictionContext.js";
import HashMap from "../misc/HashMap.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import PredictionContext from "./PredictionContext.js";
import equalArrays from "../utils/equalArrays.js";
import HashCode from "../misc/HashCode.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import PredictionContext from "./PredictionContext.js";
import SingletonPredictionContext from "./SingletonPredictionContext.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ParserRuleContext from "./ParserRuleContext.js";

export default class InterpreterRuleContext extends ParserRuleContext {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import RuleContext from "./RuleContext.js";
import PredictionContext from "./PredictionContext.js";
import ArrayPredictionContext from "./ArrayPredictionContext.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import PredictionContext from './PredictionContext.js';
import HashCode from "../misc/HashCode.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/dfa/LexerDFASerializer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import DFASerializer from "./DFASerializer.js";

export default class LexerDFASerializer extends DFASerializer {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/dfa/PredPrediction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
/**
* Map a predicate to a predicted alternative.
*/
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/error/BailErrorStrategy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import InputMismatchException from "./InputMismatchException.js";
import ParseCancellationException from "./ParseCancellationException.js";
import DefaultErrorStrategy from "./DefaultErrorStrategy.js";
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/error/ConsoleErrorListener.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ErrorListener from "./ErrorListener.js";

/**
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/error/DefaultErrorStrategy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import FailedPredicateException from "./FailedPredicateException.js";
import InputMismatchException from "./InputMismatchException.js";
import NoViableAltException from "./NoViableAltException.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import PredicateTransition from "../transition/PredicateTransition.js";
import RecognitionException from "./RecognitionException.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/error/InputMismatchException.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import RecognitionException from "./RecognitionException.js";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import Interval from "../misc/Interval.js";
import RecognitionException from "./RecognitionException.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/error/NoViableAltException.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import RecognitionException from "./RecognitionException.js";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
export default class ParseCancellationException extends Error {
constructor() {
super()
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/error/ProxyErrorListener.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ErrorListener from "./ErrorListener.js";

export default class ProxyErrorListener extends ErrorListener {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/misc/AltDict.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
export default class AltDict {

constructor() {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/misc/BitSet.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import HashCode from "./HashCode.js";
import equalArrays from "../utils/equalArrays.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/misc/HashCode.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
export default class HashCode {

constructor() {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/misc/HashMap.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import standardEqualsFunction from "../utils/standardEqualsFunction.js";
import standardHashCodeFunction from "../utils/standardHashCodeFunction.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/misc/HashSet.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import standardHashCodeFunction from "../utils/standardHashCodeFunction.js";
import standardEqualsFunction from "../utils/standardEqualsFunction.js";
import arrayToString from "../utils/arrayToString.js";
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/misc/Interval.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
/* stop is not included! */
export default class Interval {

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/polyfills/codepointat.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
/*! https://mths.be/codepointat v0.2.0 by @mathias */
if (!String.prototype.codePointAt) {
(function() {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/polyfills/fromcodepoint.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */
if (!String.fromCodePoint) {
(function() {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/state/BasicBlockStartState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ATNState from "./ATNState.js";
import BlockStartState from "./BlockStartState.js";

Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/state/BasicState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ATNState from "./ATNState.js";

export default class BasicState extends ATNState {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/state/BlockEndState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ATNState from "./ATNState.js";

/**
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/state/BlockStartState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import DecisionState from "./DecisionState.js";

/**
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/state/DecisionState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ATNState from "./ATNState.js";

export default class DecisionState extends ATNState {
Expand Down
4 changes: 4 additions & 0 deletions runtime/JavaScript/src/antlr4/state/LoopEndState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) 2012-2022 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.
*/
import ATNState from "./ATNState.js";

/**
Expand Down
Loading