diff --git a/runtime/JavaScript/src/antlr4/TokenSource.js b/runtime/JavaScript/src/antlr4/TokenSource.js index b09c8924a4..0c232e641c 100644 --- a/runtime/JavaScript/src/antlr4/TokenSource.js +++ b/runtime/JavaScript/src/antlr4/TokenSource.js @@ -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 {} diff --git a/runtime/JavaScript/src/antlr4/TokenStream.js b/runtime/JavaScript/src/antlr4/TokenStream.js index 7392250291..eba65e1b5f 100644 --- a/runtime/JavaScript/src/antlr4/TokenStream.js +++ b/runtime/JavaScript/src/antlr4/TokenStream.js @@ -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 {} diff --git a/runtime/JavaScript/src/antlr4/TraceListener.js b/runtime/JavaScript/src/antlr4/TraceListener.js index 0809b47d6a..13e929859e 100644 --- a/runtime/JavaScript/src/antlr4/TraceListener.js +++ b/runtime/JavaScript/src/antlr4/TraceListener.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/action/LexerAction.js b/runtime/JavaScript/src/antlr4/action/LexerAction.js index e06fb60fa2..3683880c32 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerAction.js @@ -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. diff --git a/runtime/JavaScript/src/antlr4/action/LexerChannelAction.js b/runtime/JavaScript/src/antlr4/action/LexerChannelAction.js index dfce7c2d94..734206b1f7 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerChannelAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerChannelAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerCustomAction.js b/runtime/JavaScript/src/antlr4/action/LexerCustomAction.js index 1a2c7aa4da..c40ac0d001 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerCustomAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerCustomAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerIndexedCustomAction.js b/runtime/JavaScript/src/antlr4/action/LexerIndexedCustomAction.js index 001b2888bf..6557a5db86 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerIndexedCustomAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerIndexedCustomAction.js @@ -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}. diff --git a/runtime/JavaScript/src/antlr4/action/LexerModeAction.js b/runtime/JavaScript/src/antlr4/action/LexerModeAction.js index 2a08d17e70..81f7aca154 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerModeAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerModeAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerMoreAction.js b/runtime/JavaScript/src/antlr4/action/LexerMoreAction.js index 902efa0e0e..6dd1885d1d 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerMoreAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerMoreAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerPopModeAction.js b/runtime/JavaScript/src/antlr4/action/LexerPopModeAction.js index b98c056e58..c6fc7b7735 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerPopModeAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerPopModeAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerPushModeAction.js b/runtime/JavaScript/src/antlr4/action/LexerPushModeAction.js index c8b12195ba..2c694b3da6 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerPushModeAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerPushModeAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerSkipAction.js b/runtime/JavaScript/src/antlr4/action/LexerSkipAction.js index 347fc2f09b..68a2636fd8 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerSkipAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerSkipAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/action/LexerTypeAction.js b/runtime/JavaScript/src/antlr4/action/LexerTypeAction.js index 4c8aa9e882..98092b3828 100644 --- a/runtime/JavaScript/src/antlr4/action/LexerTypeAction.js +++ b/runtime/JavaScript/src/antlr4/action/LexerTypeAction.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/atn/AbstractPredicateTransition.js b/runtime/JavaScript/src/antlr4/atn/AbstractPredicateTransition.js index 9fde7d757c..0026fded92 100644 --- a/runtime/JavaScript/src/antlr4/atn/AbstractPredicateTransition.js +++ b/runtime/JavaScript/src/antlr4/atn/AbstractPredicateTransition.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/atn/LexerATNConfig.js b/runtime/JavaScript/src/antlr4/atn/LexerATNConfig.js index 40095d1f99..34c69103fe 100644 --- a/runtime/JavaScript/src/antlr4/atn/LexerATNConfig.js +++ b/runtime/JavaScript/src/antlr4/atn/LexerATNConfig.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/atn/LexerActionType.js b/runtime/JavaScript/src/antlr4/atn/LexerActionType.js index c48df8c2f7..1d31b3a7b6 100644 --- a/runtime/JavaScript/src/antlr4/atn/LexerActionType.js +++ b/runtime/JavaScript/src/antlr4/atn/LexerActionType.js @@ -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, diff --git a/runtime/JavaScript/src/antlr4/atn/OrderedATNConfigSet.js b/runtime/JavaScript/src/antlr4/atn/OrderedATNConfigSet.js index c772fc57ed..ca5854dfe1 100644 --- a/runtime/JavaScript/src/antlr4/atn/OrderedATNConfigSet.js +++ b/runtime/JavaScript/src/antlr4/atn/OrderedATNConfigSet.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/atn/PrecedencePredicate.js b/runtime/JavaScript/src/antlr4/atn/PrecedencePredicate.js index b851bcd815..44f69daea3 100644 --- a/runtime/JavaScript/src/antlr4/atn/PrecedencePredicate.js +++ b/runtime/JavaScript/src/antlr4/atn/PrecedencePredicate.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/atn/Predicate.js b/runtime/JavaScript/src/antlr4/atn/Predicate.js index 8b43c51058..59dcd9688c 100644 --- a/runtime/JavaScript/src/antlr4/atn/Predicate.js +++ b/runtime/JavaScript/src/antlr4/atn/Predicate.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/atn/PredictionContextCache.js b/runtime/JavaScript/src/antlr4/atn/PredictionContextCache.js index 3b5010dee4..2abbe1f4f3 100644 --- a/runtime/JavaScript/src/antlr4/atn/PredictionContextCache.js +++ b/runtime/JavaScript/src/antlr4/atn/PredictionContextCache.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/context/ArrayPredictionContext.js b/runtime/JavaScript/src/antlr4/context/ArrayPredictionContext.js index 274894ce38..fc2394c9fd 100644 --- a/runtime/JavaScript/src/antlr4/context/ArrayPredictionContext.js +++ b/runtime/JavaScript/src/antlr4/context/ArrayPredictionContext.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/context/EmptyPredictionContext.js b/runtime/JavaScript/src/antlr4/context/EmptyPredictionContext.js index e580df5253..f64a56cb10 100644 --- a/runtime/JavaScript/src/antlr4/context/EmptyPredictionContext.js +++ b/runtime/JavaScript/src/antlr4/context/EmptyPredictionContext.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/context/InterpreterRuleContext.js b/runtime/JavaScript/src/antlr4/context/InterpreterRuleContext.js index c378a7194d..6648c5fa23 100644 --- a/runtime/JavaScript/src/antlr4/context/InterpreterRuleContext.js +++ b/runtime/JavaScript/src/antlr4/context/InterpreterRuleContext.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/context/PredictionContextUtils.js b/runtime/JavaScript/src/antlr4/context/PredictionContextUtils.js index 49b80bd213..2bc64fd507 100644 --- a/runtime/JavaScript/src/antlr4/context/PredictionContextUtils.js +++ b/runtime/JavaScript/src/antlr4/context/PredictionContextUtils.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/context/SingletonPredictionContext.js b/runtime/JavaScript/src/antlr4/context/SingletonPredictionContext.js index 3171fdf602..99e545c3df 100644 --- a/runtime/JavaScript/src/antlr4/context/SingletonPredictionContext.js +++ b/runtime/JavaScript/src/antlr4/context/SingletonPredictionContext.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/dfa/LexerDFASerializer.js b/runtime/JavaScript/src/antlr4/dfa/LexerDFASerializer.js index 862c570acf..89da71c608 100644 --- a/runtime/JavaScript/src/antlr4/dfa/LexerDFASerializer.js +++ b/runtime/JavaScript/src/antlr4/dfa/LexerDFASerializer.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/dfa/PredPrediction.js b/runtime/JavaScript/src/antlr4/dfa/PredPrediction.js index 294675376c..f61da1a0f7 100644 --- a/runtime/JavaScript/src/antlr4/dfa/PredPrediction.js +++ b/runtime/JavaScript/src/antlr4/dfa/PredPrediction.js @@ -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. */ diff --git a/runtime/JavaScript/src/antlr4/error/BailErrorStrategy.js b/runtime/JavaScript/src/antlr4/error/BailErrorStrategy.js index cef35478a3..f468267557 100644 --- a/runtime/JavaScript/src/antlr4/error/BailErrorStrategy.js +++ b/runtime/JavaScript/src/antlr4/error/BailErrorStrategy.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/error/ConsoleErrorListener.js b/runtime/JavaScript/src/antlr4/error/ConsoleErrorListener.js index bcf54493a2..91912d0bfb 100644 --- a/runtime/JavaScript/src/antlr4/error/ConsoleErrorListener.js +++ b/runtime/JavaScript/src/antlr4/error/ConsoleErrorListener.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/error/DefaultErrorStrategy.js b/runtime/JavaScript/src/antlr4/error/DefaultErrorStrategy.js index 05e7e5ddb3..f498091b8a 100644 --- a/runtime/JavaScript/src/antlr4/error/DefaultErrorStrategy.js +++ b/runtime/JavaScript/src/antlr4/error/DefaultErrorStrategy.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/error/FailedPredicateException.js b/runtime/JavaScript/src/antlr4/error/FailedPredicateException.js index cec7e28a6e..5b1b6264a6 100644 --- a/runtime/JavaScript/src/antlr4/error/FailedPredicateException.js +++ b/runtime/JavaScript/src/antlr4/error/FailedPredicateException.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/error/InputMismatchException.js b/runtime/JavaScript/src/antlr4/error/InputMismatchException.js index 45a5dc3c37..17d0ff29c7 100644 --- a/runtime/JavaScript/src/antlr4/error/InputMismatchException.js +++ b/runtime/JavaScript/src/antlr4/error/InputMismatchException.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/error/LexerNoViableAltException.js b/runtime/JavaScript/src/antlr4/error/LexerNoViableAltException.js index 5029602b72..557fbbbc67 100644 --- a/runtime/JavaScript/src/antlr4/error/LexerNoViableAltException.js +++ b/runtime/JavaScript/src/antlr4/error/LexerNoViableAltException.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/error/NoViableAltException.js b/runtime/JavaScript/src/antlr4/error/NoViableAltException.js index ca3179f146..1e4a4576b1 100644 --- a/runtime/JavaScript/src/antlr4/error/NoViableAltException.js +++ b/runtime/JavaScript/src/antlr4/error/NoViableAltException.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/error/ParseCancellationException.js b/runtime/JavaScript/src/antlr4/error/ParseCancellationException.js index 20c3079fd5..88a1978fd0 100644 --- a/runtime/JavaScript/src/antlr4/error/ParseCancellationException.js +++ b/runtime/JavaScript/src/antlr4/error/ParseCancellationException.js @@ -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() diff --git a/runtime/JavaScript/src/antlr4/error/ProxyErrorListener.js b/runtime/JavaScript/src/antlr4/error/ProxyErrorListener.js index 5128b33348..9cc8c6cdf1 100644 --- a/runtime/JavaScript/src/antlr4/error/ProxyErrorListener.js +++ b/runtime/JavaScript/src/antlr4/error/ProxyErrorListener.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/misc/AltDict.js b/runtime/JavaScript/src/antlr4/misc/AltDict.js index 29ffda22f1..436ce2eff7 100644 --- a/runtime/JavaScript/src/antlr4/misc/AltDict.js +++ b/runtime/JavaScript/src/antlr4/misc/AltDict.js @@ -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() { diff --git a/runtime/JavaScript/src/antlr4/misc/BitSet.js b/runtime/JavaScript/src/antlr4/misc/BitSet.js index 716847b99c..90df4e9c7e 100644 --- a/runtime/JavaScript/src/antlr4/misc/BitSet.js +++ b/runtime/JavaScript/src/antlr4/misc/BitSet.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/misc/HashCode.js b/runtime/JavaScript/src/antlr4/misc/HashCode.js index 574744a238..4264f6591e 100644 --- a/runtime/JavaScript/src/antlr4/misc/HashCode.js +++ b/runtime/JavaScript/src/antlr4/misc/HashCode.js @@ -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() { diff --git a/runtime/JavaScript/src/antlr4/misc/HashMap.js b/runtime/JavaScript/src/antlr4/misc/HashMap.js index 62c24e8f75..13c46cada2 100644 --- a/runtime/JavaScript/src/antlr4/misc/HashMap.js +++ b/runtime/JavaScript/src/antlr4/misc/HashMap.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/misc/HashSet.js b/runtime/JavaScript/src/antlr4/misc/HashSet.js index f5f8fbbde4..7fe7fc2407 100644 --- a/runtime/JavaScript/src/antlr4/misc/HashSet.js +++ b/runtime/JavaScript/src/antlr4/misc/HashSet.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/misc/Interval.js b/runtime/JavaScript/src/antlr4/misc/Interval.js index 487fd41311..ea0913be70 100644 --- a/runtime/JavaScript/src/antlr4/misc/Interval.js +++ b/runtime/JavaScript/src/antlr4/misc/Interval.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/polyfills/codepointat.js b/runtime/JavaScript/src/antlr4/polyfills/codepointat.js index b1268d864b..6e71d48f50 100644 --- a/runtime/JavaScript/src/antlr4/polyfills/codepointat.js +++ b/runtime/JavaScript/src/antlr4/polyfills/codepointat.js @@ -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() { diff --git a/runtime/JavaScript/src/antlr4/polyfills/fromcodepoint.js b/runtime/JavaScript/src/antlr4/polyfills/fromcodepoint.js index c0188be1ad..e6d25e6650 100644 --- a/runtime/JavaScript/src/antlr4/polyfills/fromcodepoint.js +++ b/runtime/JavaScript/src/antlr4/polyfills/fromcodepoint.js @@ -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() { diff --git a/runtime/JavaScript/src/antlr4/state/BasicBlockStartState.js b/runtime/JavaScript/src/antlr4/state/BasicBlockStartState.js index b4a2184f8f..70f34ea38f 100644 --- a/runtime/JavaScript/src/antlr4/state/BasicBlockStartState.js +++ b/runtime/JavaScript/src/antlr4/state/BasicBlockStartState.js @@ -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"; diff --git a/runtime/JavaScript/src/antlr4/state/BasicState.js b/runtime/JavaScript/src/antlr4/state/BasicState.js index 3cebc66676..9ea0a7fe4e 100644 --- a/runtime/JavaScript/src/antlr4/state/BasicState.js +++ b/runtime/JavaScript/src/antlr4/state/BasicState.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/state/BlockEndState.js b/runtime/JavaScript/src/antlr4/state/BlockEndState.js index d9a82ad712..d3a623f696 100644 --- a/runtime/JavaScript/src/antlr4/state/BlockEndState.js +++ b/runtime/JavaScript/src/antlr4/state/BlockEndState.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/state/BlockStartState.js b/runtime/JavaScript/src/antlr4/state/BlockStartState.js index ad23698e3a..0cf1222e07 100644 --- a/runtime/JavaScript/src/antlr4/state/BlockStartState.js +++ b/runtime/JavaScript/src/antlr4/state/BlockStartState.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/state/DecisionState.js b/runtime/JavaScript/src/antlr4/state/DecisionState.js index 2187146ba7..01b976d445 100644 --- a/runtime/JavaScript/src/antlr4/state/DecisionState.js +++ b/runtime/JavaScript/src/antlr4/state/DecisionState.js @@ -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 { diff --git a/runtime/JavaScript/src/antlr4/state/LoopEndState.js b/runtime/JavaScript/src/antlr4/state/LoopEndState.js index 22d08bd411..af3f2162c5 100644 --- a/runtime/JavaScript/src/antlr4/state/LoopEndState.js +++ b/runtime/JavaScript/src/antlr4/state/LoopEndState.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/state/PlusBlockStartState.js b/runtime/JavaScript/src/antlr4/state/PlusBlockStartState.js index 822b4b15cc..ae374b0a56 100644 --- a/runtime/JavaScript/src/antlr4/state/PlusBlockStartState.js +++ b/runtime/JavaScript/src/antlr4/state/PlusBlockStartState.js @@ -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 BlockStartState from "./BlockStartState.js"; import ATNState from "./ATNState.js"; diff --git a/runtime/JavaScript/src/antlr4/state/PlusLoopbackState.js b/runtime/JavaScript/src/antlr4/state/PlusLoopbackState.js index 678564a293..1668f5caac 100644 --- a/runtime/JavaScript/src/antlr4/state/PlusLoopbackState.js +++ b/runtime/JavaScript/src/antlr4/state/PlusLoopbackState.js @@ -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"; import ATNState from "./ATNState.js"; diff --git a/runtime/JavaScript/src/antlr4/state/RuleStartState.js b/runtime/JavaScript/src/antlr4/state/RuleStartState.js index 0a02b81e62..8b9f01d77c 100644 --- a/runtime/JavaScript/src/antlr4/state/RuleStartState.js +++ b/runtime/JavaScript/src/antlr4/state/RuleStartState.js @@ -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 RuleStartState extends ATNState { diff --git a/runtime/JavaScript/src/antlr4/state/RuleStopState.js b/runtime/JavaScript/src/antlr4/state/RuleStopState.js index ff0bcf4c97..fc58038dd6 100644 --- a/runtime/JavaScript/src/antlr4/state/RuleStopState.js +++ b/runtime/JavaScript/src/antlr4/state/RuleStopState.js @@ -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"; /** diff --git a/runtime/JavaScript/src/antlr4/state/StarBlockStartState.js b/runtime/JavaScript/src/antlr4/state/StarBlockStartState.js index 4378accfcd..0d76281263 100644 --- a/runtime/JavaScript/src/antlr4/state/StarBlockStartState.js +++ b/runtime/JavaScript/src/antlr4/state/StarBlockStartState.js @@ -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 BlockStartState from "./BlockStartState.js"; import ATNState from "./ATNState.js"; diff --git a/runtime/JavaScript/src/antlr4/state/StarLoopEntryState.js b/runtime/JavaScript/src/antlr4/state/StarLoopEntryState.js index 7f6ecc5dc3..3b1e275e33 100644 --- a/runtime/JavaScript/src/antlr4/state/StarLoopEntryState.js +++ b/runtime/JavaScript/src/antlr4/state/StarLoopEntryState.js @@ -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"; import ATNState from "./ATNState.js"; diff --git a/runtime/JavaScript/src/antlr4/state/StarLoopbackState.js b/runtime/JavaScript/src/antlr4/state/StarLoopbackState.js index 5b8d294c79..bfde52869c 100644 --- a/runtime/JavaScript/src/antlr4/state/StarLoopbackState.js +++ b/runtime/JavaScript/src/antlr4/state/StarLoopbackState.js @@ -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 StarLoopbackState extends ATNState { diff --git a/runtime/JavaScript/src/antlr4/state/TokensStartState.js b/runtime/JavaScript/src/antlr4/state/TokensStartState.js index 01d0db56a2..cccde01ef7 100644 --- a/runtime/JavaScript/src/antlr4/state/TokensStartState.js +++ b/runtime/JavaScript/src/antlr4/state/TokensStartState.js @@ -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"; import ATNState from "./ATNState.js"; diff --git a/runtime/JavaScript/src/antlr4/transition/ActionTransition.js b/runtime/JavaScript/src/antlr4/transition/ActionTransition.js index ea6bc4977e..1aecd1c04e 100644 --- a/runtime/JavaScript/src/antlr4/transition/ActionTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/ActionTransition.js @@ -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.js"; export default class ActionTransition extends Transition { diff --git a/runtime/JavaScript/src/antlr4/transition/AtomTransition.js b/runtime/JavaScript/src/antlr4/transition/AtomTransition.js index a059192eda..ef8a4c4735 100644 --- a/runtime/JavaScript/src/antlr4/transition/AtomTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/AtomTransition.js @@ -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 IntervalSet from "../misc/IntervalSet.js"; import Transition from "./Transition.js"; diff --git a/runtime/JavaScript/src/antlr4/transition/EpsilonTransition.js b/runtime/JavaScript/src/antlr4/transition/EpsilonTransition.js index d3af2d7ba6..c448ae8719 100644 --- a/runtime/JavaScript/src/antlr4/transition/EpsilonTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/EpsilonTransition.js @@ -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.js"; export default class EpsilonTransition extends Transition { diff --git a/runtime/JavaScript/src/antlr4/transition/NotSetTransition.js b/runtime/JavaScript/src/antlr4/transition/NotSetTransition.js index 81fc3745a6..434feed87c 100644 --- a/runtime/JavaScript/src/antlr4/transition/NotSetTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/NotSetTransition.js @@ -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.js"; import SetTransition from "./SetTransition.js"; diff --git a/runtime/JavaScript/src/antlr4/transition/PrecedencePredicateTransition.js b/runtime/JavaScript/src/antlr4/transition/PrecedencePredicateTransition.js index b66d67b9dc..ddd4381b36 100644 --- a/runtime/JavaScript/src/antlr4/transition/PrecedencePredicateTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/PrecedencePredicateTransition.js @@ -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 PrecedencePredicate from "../atn/PrecedencePredicate.js"; import Transition from "./Transition.js"; import AbstractPredicateTransition from "../atn/AbstractPredicateTransition.js"; diff --git a/runtime/JavaScript/src/antlr4/transition/PredicateTransition.js b/runtime/JavaScript/src/antlr4/transition/PredicateTransition.js index 601a26c85c..53bee7d13d 100644 --- a/runtime/JavaScript/src/antlr4/transition/PredicateTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/PredicateTransition.js @@ -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 Predicate from "../atn/Predicate.js"; import Transition from "./Transition.js"; import AbstractPredicateTransition from "../atn/AbstractPredicateTransition.js"; diff --git a/runtime/JavaScript/src/antlr4/transition/RangeTransition.js b/runtime/JavaScript/src/antlr4/transition/RangeTransition.js index 920acfed7c..2a73b529bf 100644 --- a/runtime/JavaScript/src/antlr4/transition/RangeTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/RangeTransition.js @@ -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 IntervalSet from "../misc/IntervalSet.js"; import Transition from "./Transition.js"; diff --git a/runtime/JavaScript/src/antlr4/transition/RuleTransition.js b/runtime/JavaScript/src/antlr4/transition/RuleTransition.js index 0ca7b29461..c7c24bd771 100644 --- a/runtime/JavaScript/src/antlr4/transition/RuleTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/RuleTransition.js @@ -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.js"; export default class RuleTransition extends Transition { diff --git a/runtime/JavaScript/src/antlr4/transition/SetTransition.js b/runtime/JavaScript/src/antlr4/transition/SetTransition.js index 41b9b17322..74244b1c42 100644 --- a/runtime/JavaScript/src/antlr4/transition/SetTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/SetTransition.js @@ -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. + */ // A transition containing a set of values. import IntervalSet from "../misc/IntervalSet.js"; import Token from '../Token.js'; diff --git a/runtime/JavaScript/src/antlr4/transition/WildcardTransition.js b/runtime/JavaScript/src/antlr4/transition/WildcardTransition.js index 3f34c961a4..ba8ef08977 100644 --- a/runtime/JavaScript/src/antlr4/transition/WildcardTransition.js +++ b/runtime/JavaScript/src/antlr4/transition/WildcardTransition.js @@ -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.js"; export default class WildcardTransition extends Transition { diff --git a/runtime/JavaScript/src/antlr4/tree/ErrorNode.js b/runtime/JavaScript/src/antlr4/tree/ErrorNode.js index 7f50a56664..6425145ac0 100644 --- a/runtime/JavaScript/src/antlr4/tree/ErrorNode.js +++ b/runtime/JavaScript/src/antlr4/tree/ErrorNode.js @@ -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 TerminalNode from "./TerminalNode.js"; export default class ErrorNode extends TerminalNode { diff --git a/runtime/JavaScript/src/antlr4/tree/ErrorNodeImpl.js b/runtime/JavaScript/src/antlr4/tree/ErrorNodeImpl.js index df4304548b..5d9acf77db 100644 --- a/runtime/JavaScript/src/antlr4/tree/ErrorNodeImpl.js +++ b/runtime/JavaScript/src/antlr4/tree/ErrorNodeImpl.js @@ -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. + */ /** * Represents a token that was consumed during resynchronization * rather than during a valid match operation. For example, diff --git a/runtime/JavaScript/src/antlr4/tree/ParseTree.js b/runtime/JavaScript/src/antlr4/tree/ParseTree.js index c0ba7bda0a..7c49fc73a8 100644 --- a/runtime/JavaScript/src/antlr4/tree/ParseTree.js +++ b/runtime/JavaScript/src/antlr4/tree/ParseTree.js @@ -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 SyntaxTree from "./SyntaxTree.js"; export default class ParseTree extends SyntaxTree { diff --git a/runtime/JavaScript/src/antlr4/tree/ParseTreeListener.js b/runtime/JavaScript/src/antlr4/tree/ParseTreeListener.js index 0322140221..c90a9b6d45 100644 --- a/runtime/JavaScript/src/antlr4/tree/ParseTreeListener.js +++ b/runtime/JavaScript/src/antlr4/tree/ParseTreeListener.js @@ -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 ParseTreeListener { visitTerminal(node) { } diff --git a/runtime/JavaScript/src/antlr4/tree/ParseTreeVisitor.js b/runtime/JavaScript/src/antlr4/tree/ParseTreeVisitor.js index 1ab4a7ad56..6b29f762e4 100644 --- a/runtime/JavaScript/src/antlr4/tree/ParseTreeVisitor.js +++ b/runtime/JavaScript/src/antlr4/tree/ParseTreeVisitor.js @@ -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 ParseTreeVisitor { visit(ctx) { if (Array.isArray(ctx)) { diff --git a/runtime/JavaScript/src/antlr4/tree/ParseTreeWalker.js b/runtime/JavaScript/src/antlr4/tree/ParseTreeWalker.js index 86385a6082..864707f286 100644 --- a/runtime/JavaScript/src/antlr4/tree/ParseTreeWalker.js +++ b/runtime/JavaScript/src/antlr4/tree/ParseTreeWalker.js @@ -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 TerminalNode from "./TerminalNode.js"; import ErrorNode from "./ErrorNode.js"; diff --git a/runtime/JavaScript/src/antlr4/tree/RuleNode.js b/runtime/JavaScript/src/antlr4/tree/RuleNode.js index 004c8939fe..bdd354a8d3 100644 --- a/runtime/JavaScript/src/antlr4/tree/RuleNode.js +++ b/runtime/JavaScript/src/antlr4/tree/RuleNode.js @@ -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 ParseTree from "./ParseTree.js"; export default class RuleNode extends ParseTree { diff --git a/runtime/JavaScript/src/antlr4/tree/SyntaxTree.js b/runtime/JavaScript/src/antlr4/tree/SyntaxTree.js index 554c56f591..94956165d2 100644 --- a/runtime/JavaScript/src/antlr4/tree/SyntaxTree.js +++ b/runtime/JavaScript/src/antlr4/tree/SyntaxTree.js @@ -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 Tree from "./Tree.js"; export default class SyntaxTree extends Tree { diff --git a/runtime/JavaScript/src/antlr4/tree/TerminalNode.js b/runtime/JavaScript/src/antlr4/tree/TerminalNode.js index ff3d0719f7..b681ec60ef 100644 --- a/runtime/JavaScript/src/antlr4/tree/TerminalNode.js +++ b/runtime/JavaScript/src/antlr4/tree/TerminalNode.js @@ -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 ParseTree from "./ParseTree.js"; export default class TerminalNode extends ParseTree { diff --git a/runtime/JavaScript/src/antlr4/tree/TerminalNodeImpl.js b/runtime/JavaScript/src/antlr4/tree/TerminalNodeImpl.js index ec9dbc5fd8..5a270e3c20 100644 --- a/runtime/JavaScript/src/antlr4/tree/TerminalNodeImpl.js +++ b/runtime/JavaScript/src/antlr4/tree/TerminalNodeImpl.js @@ -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 Token from '../Token.js'; import TerminalNode from "./TerminalNode.js"; diff --git a/runtime/JavaScript/src/antlr4/utils/DoubleDict.js b/runtime/JavaScript/src/antlr4/utils/DoubleDict.js index 292e324ffc..11246688fe 100644 --- a/runtime/JavaScript/src/antlr4/utils/DoubleDict.js +++ b/runtime/JavaScript/src/antlr4/utils/DoubleDict.js @@ -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 HashMap from "../misc/HashMap.js"; export default class DoubleDict { diff --git a/runtime/JavaScript/src/antlr4/utils/arrayToString.js b/runtime/JavaScript/src/antlr4/utils/arrayToString.js index bde01add0f..a6f29227bb 100644 --- a/runtime/JavaScript/src/antlr4/utils/arrayToString.js +++ b/runtime/JavaScript/src/antlr4/utils/arrayToString.js @@ -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 valueToString from "./valueToString.js"; export default function arrayToString(a) { diff --git a/runtime/JavaScript/src/antlr4/utils/equalArrays.js b/runtime/JavaScript/src/antlr4/utils/equalArrays.js index 51ca343cd3..c4ae6385da 100644 --- a/runtime/JavaScript/src/antlr4/utils/equalArrays.js +++ b/runtime/JavaScript/src/antlr4/utils/equalArrays.js @@ -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 function equalArrays(a, b) { if (!Array.isArray(a) || !Array.isArray(b)) return false; diff --git a/runtime/JavaScript/src/antlr4/utils/escapeWhitespace.js b/runtime/JavaScript/src/antlr4/utils/escapeWhitespace.js index 3fa7c054c6..5b7b39bee4 100644 --- a/runtime/JavaScript/src/antlr4/utils/escapeWhitespace.js +++ b/runtime/JavaScript/src/antlr4/utils/escapeWhitespace.js @@ -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 function escapeWhitespace(s, escapeSpaces) { s = s.replace(/\t/g, "\\t") .replace(/\n/g, "\\n") diff --git a/runtime/JavaScript/src/antlr4/utils/index.js b/runtime/JavaScript/src/antlr4/utils/index.js index 7655dc1e26..0606acf6af 100644 --- a/runtime/JavaScript/src/antlr4/utils/index.js +++ b/runtime/JavaScript/src/antlr4/utils/index.js @@ -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 arrayToString from "../utils/arrayToString.js"; export default { arrayToString }; diff --git a/runtime/JavaScript/src/antlr4/utils/standardEqualsFunction.js b/runtime/JavaScript/src/antlr4/utils/standardEqualsFunction.js index 3223ae3498..3269df835e 100644 --- a/runtime/JavaScript/src/antlr4/utils/standardEqualsFunction.js +++ b/runtime/JavaScript/src/antlr4/utils/standardEqualsFunction.js @@ -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 function standardEqualsFunction(a, b) { return a ? a.equals(b) : a===b; } diff --git a/runtime/JavaScript/src/antlr4/utils/standardHashCodeFunction.js b/runtime/JavaScript/src/antlr4/utils/standardHashCodeFunction.js index bfcd426692..eb54993862 100644 --- a/runtime/JavaScript/src/antlr4/utils/standardHashCodeFunction.js +++ b/runtime/JavaScript/src/antlr4/utils/standardHashCodeFunction.js @@ -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 function standardHashCodeFunction(a) { return a ? a.hashCode() : -1; } diff --git a/runtime/JavaScript/src/antlr4/utils/stringHashCode.js b/runtime/JavaScript/src/antlr4/utils/stringHashCode.js index de00f10b26..d4563f9d9f 100644 --- a/runtime/JavaScript/src/antlr4/utils/stringHashCode.js +++ b/runtime/JavaScript/src/antlr4/utils/stringHashCode.js @@ -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. + */ String.prototype.seed = String.prototype.seed || Math.round(Math.random() * Math.pow(2, 32)); diff --git a/runtime/JavaScript/src/antlr4/utils/titleCase.js b/runtime/JavaScript/src/antlr4/utils/titleCase.js index 2ff5962ce5..42f640fa9d 100644 --- a/runtime/JavaScript/src/antlr4/utils/titleCase.js +++ b/runtime/JavaScript/src/antlr4/utils/titleCase.js @@ -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 function titleCase(str) { return str.replace(/\w\S*/g, function (txt) { return txt.charAt(0).toUpperCase() + txt.substr(1); diff --git a/runtime/JavaScript/src/antlr4/utils/valueToString.js b/runtime/JavaScript/src/antlr4/utils/valueToString.js index d3604fd0b6..854ad6108c 100644 --- a/runtime/JavaScript/src/antlr4/utils/valueToString.js +++ b/runtime/JavaScript/src/antlr4/utils/valueToString.js @@ -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 function valueToString(v) { return v === null ? "null" : v; }