xref: /template/strap/vendor/antlr/antlr4-php-runtime/LICENSE (revision 37748cd8654635afbeca80942126742f0f4cc346)
1*37748cd8SNickeauBSD 3-Clause License
2*37748cd8SNickeau
3*37748cd8SNickeauCopyright (c) 2019, Antlr Project
4*37748cd8SNickeauAll rights reserved.
5*37748cd8SNickeau
6*37748cd8SNickeauRedistribution and use in source and binary forms, with or without
7*37748cd8SNickeaumodification, are permitted provided that the following conditions are met:
8*37748cd8SNickeau
9*37748cd8SNickeau1. Redistributions of source code must retain the above copyright notice, this
10*37748cd8SNickeau   list of conditions and the following disclaimer.
11*37748cd8SNickeau
12*37748cd8SNickeau2. Redistributions in binary form must reproduce the above copyright notice,
13*37748cd8SNickeau   this list of conditions and the following disclaimer in the documentation
14*37748cd8SNickeau   and/or other materials provided with the distribution.
15*37748cd8SNickeau
16*37748cd8SNickeau3. Neither the name of the copyright holder nor the names of its
17*37748cd8SNickeau   contributors may be used to endorse or promote products derived from
18*37748cd8SNickeau   this software without specific prior written permission.
19*37748cd8SNickeau
20*37748cd8SNickeauTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21*37748cd8SNickeauAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22*37748cd8SNickeauIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23*37748cd8SNickeauDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24*37748cd8SNickeauFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25*37748cd8SNickeauDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26*37748cd8SNickeauSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27*37748cd8SNickeauCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28*37748cd8SNickeauOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29*37748cd8SNickeauOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30