tweak documentation about various targets

This commit is contained in:
parrt 2017-03-30 10:44:25 -07:00
parent 04507895bd
commit b5648f405b
1507 changed files with 2262 additions and 2257 deletions

View File

@ -1,5 +1,5 @@
[The "BSD 3-clause license"] [The "BSD 3-clause license"]
Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions modification, are permitted provided that the following conditions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,4 +1,8 @@
<!-- ~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Use of this file is governed by the BSD 3-clause license that ~ can be found in the LICENSE.txt file in the project root. --> <!--
~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1,5 +1,5 @@
<!-- <!--
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
~ Use of this file is governed by the BSD 3-clause license that ~ Use of this file is governed by the BSD 3-clause license that
~ can be found in the LICENSE.txt file in the project root. ~ can be found in the LICENSE.txt file in the project root.
--> -->

View File

@ -1 +1,7 @@
#
# Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
# Use of this file is governed by the BSD 3-clause license that
# can be found in the LICENSE.txt file in the project root.
#
org.antlr.v4.test.runtime.CommentHasStringValueProcessor org.antlr.v4.test.runtime.CommentHasStringValueProcessor

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -3,20 +3,17 @@
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
package org.antlr.v4.runtime; package org.antlr.v4.runtime;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.nio.IntBuffer;
import org.antlr.v4.runtime.misc.Interval; import org.antlr.v4.runtime.misc.Interval;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.rules.ExpectedException; import org.junit.rules.ExpectedException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class TestCodePointCharStream { public class TestCodePointCharStream {
@Rule @Rule
public ExpectedException thrown = ExpectedException.none(); public ExpectedException thrown = ExpectedException.none();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
@ -9,7 +9,6 @@ package org.antlr.v4.test.runtime;
import org.antlr.v4.Tool; import org.antlr.v4.Tool;
import org.antlr.v4.runtime.misc.Pair; import org.antlr.v4.runtime.misc.Pair;
import org.antlr.v4.runtime.misc.Utils; import org.antlr.v4.runtime.misc.Utils;
import org.antlr.v4.test.runtime.java.BaseJavaTest;
import org.antlr.v4.tool.ANTLRMessage; import org.antlr.v4.tool.ANTLRMessage;
import org.antlr.v4.tool.DefaultToolListener; import org.antlr.v4.tool.DefaultToolListener;
import org.junit.Before; import org.junit.Before;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -3,12 +3,13 @@
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
package org.antlr.v4.test.runtime; package org.antlr.v4.test.runtime;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.io.IOException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
public final class StreamVacuum implements Runnable { public final class StreamVacuum implements Runnable {

View File

@ -3,15 +3,16 @@
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
package org.antlr.v4.test.runtime; package org.antlr.v4.test.runtime;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.nio.file.Files; import java.nio.file.Files;
import java.nio.file.NoSuchFileException; import java.nio.file.NoSuchFileException;
import java.nio.file.Path; import java.nio.file.Path;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
public abstract class TestOutputReading { public abstract class TestOutputReading {
public static void append(BufferedReader in, StringBuilder buf) throws IOException { public static void append(BufferedReader in, StringBuilder buf) throws IOException {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
@ -34,7 +34,6 @@ import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.IntegerList; import org.antlr.v4.runtime.misc.IntegerList;
import org.antlr.v4.runtime.misc.Interval; import org.antlr.v4.runtime.misc.Interval;
import org.antlr.v4.runtime.misc.Pair; import org.antlr.v4.runtime.misc.Pair;
import org.antlr.v4.runtime.misc.Utils;
import org.antlr.v4.runtime.tree.ParseTree; import org.antlr.v4.runtime.tree.ParseTree;
import org.antlr.v4.semantics.SemanticPipeline; import org.antlr.v4.semantics.SemanticPipeline;
import org.antlr.v4.test.runtime.BaseRuntimeTest; import org.antlr.v4.test.runtime.BaseRuntimeTest;

View File

@ -3,15 +3,18 @@
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
package org.antlr.v4.test.runtime.java; package org.antlr.v4.test.runtime.java;
import static org.junit.Assert.assertEquals; import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CharStreams;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.rules.TemporaryFolder;
import java.io.File;
import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.Reader; import java.io.Reader;
import java.nio.channels.SeekableByteChannel; import java.nio.channels.SeekableByteChannel;
import java.nio.charset.CharacterCodingException; import java.nio.charset.CharacterCodingException;
import java.nio.charset.Charset; import java.nio.charset.Charset;
@ -20,16 +23,7 @@ import java.nio.charset.StandardCharsets;
import java.nio.file.Files; import java.nio.file.Files;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Arrays; import static org.junit.Assert.assertEquals;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CharStreams;
import org.antlr.v4.runtime.CodePointCharStream;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.rules.TemporaryFolder;
public class TestCharStreams { public class TestCharStreams {
@Rule @Rule

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */

View File

@ -3,15 +3,16 @@
* Use of this file is governed by the BSD 3-clause license that * Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root. * can be found in the LICENSE.txt file in the project root.
*/ */
package org.antlr.v4.test.runtime.java;
import static org.junit.Assert.assertArrayEquals; package org.antlr.v4.test.runtime.java;
import org.antlr.v4.runtime.misc.IntegerList; import org.antlr.v4.runtime.misc.IntegerList;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.rules.ExpectedException; import org.junit.rules.ExpectedException;
import static org.junit.Assert.assertArrayEquals;
public class TestIntegerList { public class TestIntegerList {
@Rule @Rule
public ExpectedException thrown = ExpectedException.none(); public ExpectedException thrown = ExpectedException.none();

Some files were not shown because too many files have changed in this diff Show More