diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2688ce61..5beac4d3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,24 +13,24 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: adopt - java-version: 11 - - - name: Setup Gradle - uses: gradle/gradle-build-action@v2 - with: - gradle-version: wrapper - arguments: build --scan - - name: Run test and Coverage - uses: gradle/gradle-build-action@v2 - with: - gradle-version: wrapper - arguments: reportScoverage aggregateAllTestReports - uses: codecov/codecov-action@v2 - with: - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos - name: codecov-umbrella # optional - verbose: true # optional (default = false) \ No newline at end of file + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: adopt + java-version: 11 + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: wrapper + arguments: build --scan + - name: Run test and Coverage + uses: gradle/gradle-build-action@v2 + with: + gradle-version: wrapper + arguments: reportScoverage aggregateAllTestReports + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + name: codecov-umbrella # optional + verbose: true # optional (default = false) \ No newline at end of file diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 07b459dc..2f9a83ff 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -33,7 +33,7 @@ lint: - linters: [ALL] paths: - incubating/** - - /**/gradlew + - **/gradlew runtimes: enabled: - go@1.21.0 diff --git a/build-logic/src/main/kotlin/djaxonomy.kotlin-library-conventions.gradle.kts b/build-logic/src/main/kotlin/djaxonomy.kotlin-library-conventions.gradle.kts index a8909d44..b9d6a3b4 100644 --- a/build-logic/src/main/kotlin/djaxonomy.kotlin-library-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/djaxonomy.kotlin-library-conventions.gradle.kts @@ -15,12 +15,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* - * This file was generated by the Gradle 'init' task. - * - * This project uses @Incubating APIs which are subject to change. - */ - plugins { // Apply the common convention plugin for shared build configuration between library and application projects. id("djaxonomy.kotlin-common-conventions") diff --git a/gradle.properties b/gradle.properties index 670b8732..9eae84ca 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,6 +16,8 @@ # limitations under the License. # +sonar.projectKey=truthencode_ddo-calc +sonar.organization=truthencode defaultJavaToolChainVersion=17 # foojay diff --git a/subprojects/common/ddo-antlr/build.gradle.kts b/subprojects/common/ddo-antlr/build.gradle.kts index b90a96fe..58209cff 100644 --- a/subprojects/common/ddo-antlr/build.gradle.kts +++ b/subprojects/common/ddo-antlr/build.gradle.kts @@ -1,11 +1,7 @@ plugins { -// kotlin("jvm") version "1.9.10" - id("io.truthencode.poc.kantlr.kotlin-library-conventions") + id("djaxonomy.kotlin-library-conventions") antlr -// id("java-library-conventions") -// id("be.vbgn.ci-detect") id("code-quality") - // id("djaxonomy.test-conventions") idea id("djaxonomy.kotlin-test-conventions") } @@ -20,8 +16,13 @@ repositories { mavenCentral() } +description = "Antlr Parsing utilities" + val antlrJavaPath = - PackagePath(project.layout.buildDirectory.dir("generated-src/java").get().asFile.path, "io.truthencode.ddo.grammar.antlr") + PackagePath( + project.layout.buildDirectory.dir("generated-src/java").get().asFile.path, + "io.truthencode.ddo.grammar.antlr" + ) data class PackagePath(val source: String, val packageName: String) { /** diff --git a/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.interp b/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.interp deleted file mode 100644 index 4b253464..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.interp +++ /dev/null @@ -1,96 +0,0 @@ -token literal names: -null -null -null -null -null -null -'Quiver' -null -null -'Augment Slot:' -'Enhancement Bonus' -'Fortification' -null -null -null -null -'todo:MARKER ' -'Empty' -null -null -null -null -null - -token symbolic names: -null -LineBreak -ENCHANTMENT -MYTHIC_BOOST -CORE_BODY_SLOT -HAND_SLOT -AUXILLARY_BODY_SLOT -DAMAGE_TYPE -AUGMENTSLOT -LBL_AUGMENT_SLOT -ENHANCEMENT_BONUS -FORT -SHELTERING -SHELTERTYPE -AUGMENTCOLOR -AUGMENTOPTION -FilledAugmentSlot -EmptyAugmentSlot -WS -PCT -NUM -SIGN -UNKNOWN_ID - -rule names: -LineBreak -ENCHANTMENT -MYTHIC_BOOST -MYTHIC_KEYWORD -MYTHIC_SLOT -CORE_BODY_SLOT -HAND_SLOT -MAIN_HAND -OFF_HAND -AUXILLARY_BODY_SLOT -DAMAGE_TYPE -ALIGNMENT_DAMAGE_TYPE -MATERIAL_DAMAGE_TYPE -PHYSICAL_DAMAGE_TYPE -ELEMENTAL_DAMAGE_TYPE -ELEMENTAL_SUB_TYPE -AUGMENTSLOT -LBL_AUGMENT_SLOT -ENHANCEMENT_BONUS -FORT -SHELTERING -SHELTERTYPE -AUGMENTCOLOR -AUGMENTOPTION -FilledAugmentSlot -EmptyAugmentSlot -WS -PCT -NUM -SIGN -UNUM -UNKNOWN_ID -MULTI_WORDS -MULTI_WORD -SIMPLE_WORD - -channel names: -DEFAULT_TOKEN_CHANNEL -HIDDEN - -mode names: -DEFAULT_MODE - -atn: -[4, 0, 22, 595, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 1, 0, 3, 0, 73, 8, 0, 1, 0, 1, 0, 3, 0, 77, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 87, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 163, 8, 5, 1, 6, 1, 6, 3, 6, 167, 8, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 190, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 204, 8, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 227, 8, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 274, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 295, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 351, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 361, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 463, 8, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 504, 8, 22, 1, 23, 1, 23, 3, 23, 508, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 4, 26, 530, 8, 26, 11, 26, 12, 26, 531, 1, 26, 1, 26, 1, 27, 4, 27, 537, 8, 27, 11, 27, 12, 27, 538, 1, 27, 1, 27, 1, 28, 4, 28, 544, 8, 28, 11, 28, 12, 28, 545, 1, 28, 1, 28, 1, 29, 1, 29, 1, 30, 4, 30, 553, 8, 30, 11, 30, 12, 30, 554, 1, 31, 1, 31, 1, 31, 3, 31, 560, 8, 31, 1, 32, 4, 32, 563, 8, 32, 11, 32, 12, 32, 564, 1, 32, 4, 32, 568, 8, 32, 11, 32, 12, 32, 569, 1, 32, 1, 32, 1, 33, 4, 33, 575, 8, 33, 11, 33, 12, 33, 576, 1, 33, 4, 33, 580, 8, 33, 11, 33, 12, 33, 581, 1, 33, 1, 33, 1, 34, 4, 34, 587, 8, 34, 11, 34, 12, 34, 588, 1, 34, 4, 34, 592, 8, 34, 11, 34, 12, 34, 593, 0, 0, 35, 1, 1, 3, 2, 5, 3, 7, 0, 9, 0, 11, 4, 13, 5, 15, 0, 17, 0, 19, 6, 21, 7, 23, 0, 25, 0, 27, 0, 29, 0, 31, 0, 33, 8, 35, 9, 37, 10, 39, 11, 41, 12, 43, 13, 45, 14, 47, 15, 49, 16, 51, 17, 53, 18, 55, 19, 57, 20, 59, 21, 61, 0, 63, 22, 65, 0, 67, 0, 69, 0, 1, 0, 5, 3, 0, 9, 10, 13, 13, 32, 32, 2, 0, 43, 43, 45, 45, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 1, 0, 97, 122, 647, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 1, 76, 1, 0, 0, 0, 3, 86, 1, 0, 0, 0, 5, 88, 1, 0, 0, 0, 7, 98, 1, 0, 0, 0, 9, 105, 1, 0, 0, 0, 11, 162, 1, 0, 0, 0, 13, 166, 1, 0, 0, 0, 15, 168, 1, 0, 0, 0, 17, 189, 1, 0, 0, 0, 19, 191, 1, 0, 0, 0, 21, 203, 1, 0, 0, 0, 23, 226, 1, 0, 0, 0, 25, 273, 1, 0, 0, 0, 27, 294, 1, 0, 0, 0, 29, 350, 1, 0, 0, 0, 31, 360, 1, 0, 0, 0, 33, 362, 1, 0, 0, 0, 35, 368, 1, 0, 0, 0, 37, 382, 1, 0, 0, 0, 39, 400, 1, 0, 0, 0, 41, 414, 1, 0, 0, 0, 43, 462, 1, 0, 0, 0, 45, 503, 1, 0, 0, 0, 47, 507, 1, 0, 0, 0, 49, 509, 1, 0, 0, 0, 51, 522, 1, 0, 0, 0, 53, 529, 1, 0, 0, 0, 55, 536, 1, 0, 0, 0, 57, 543, 1, 0, 0, 0, 59, 549, 1, 0, 0, 0, 61, 552, 1, 0, 0, 0, 63, 559, 1, 0, 0, 0, 65, 562, 1, 0, 0, 0, 67, 574, 1, 0, 0, 0, 69, 586, 1, 0, 0, 0, 71, 73, 5, 13, 0, 0, 72, 71, 1, 0, 0, 0, 72, 73, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 77, 5, 10, 0, 0, 75, 77, 5, 13, 0, 0, 76, 72, 1, 0, 0, 0, 76, 75, 1, 0, 0, 0, 77, 78, 1, 0, 0, 0, 78, 79, 6, 0, 0, 0, 79, 2, 1, 0, 0, 0, 80, 87, 3, 39, 19, 0, 81, 87, 3, 33, 16, 0, 82, 87, 3, 37, 18, 0, 83, 87, 3, 41, 20, 0, 84, 87, 3, 21, 10, 0, 85, 87, 3, 5, 2, 0, 86, 80, 1, 0, 0, 0, 86, 81, 1, 0, 0, 0, 86, 82, 1, 0, 0, 0, 86, 83, 1, 0, 0, 0, 86, 84, 1, 0, 0, 0, 86, 85, 1, 0, 0, 0, 87, 4, 1, 0, 0, 0, 88, 89, 3, 7, 3, 0, 89, 90, 5, 32, 0, 0, 90, 91, 3, 9, 4, 0, 91, 92, 5, 32, 0, 0, 92, 93, 5, 66, 0, 0, 93, 94, 5, 111, 0, 0, 94, 95, 5, 111, 0, 0, 95, 96, 5, 115, 0, 0, 96, 97, 5, 116, 0, 0, 97, 6, 1, 0, 0, 0, 98, 99, 5, 77, 0, 0, 99, 100, 5, 121, 0, 0, 100, 101, 5, 116, 0, 0, 101, 102, 5, 104, 0, 0, 102, 103, 5, 105, 0, 0, 103, 104, 5, 99, 0, 0, 104, 8, 1, 0, 0, 0, 105, 106, 3, 11, 5, 0, 106, 10, 1, 0, 0, 0, 107, 108, 5, 65, 0, 0, 108, 109, 5, 114, 0, 0, 109, 110, 5, 109, 0, 0, 110, 111, 5, 111, 0, 0, 111, 163, 5, 114, 0, 0, 112, 113, 5, 66, 0, 0, 113, 114, 5, 101, 0, 0, 114, 115, 5, 108, 0, 0, 115, 163, 5, 116, 0, 0, 116, 117, 5, 66, 0, 0, 117, 118, 5, 111, 0, 0, 118, 119, 5, 111, 0, 0, 119, 163, 5, 116, 0, 0, 120, 121, 5, 67, 0, 0, 121, 122, 5, 108, 0, 0, 122, 123, 5, 111, 0, 0, 123, 124, 5, 97, 0, 0, 124, 163, 5, 107, 0, 0, 125, 126, 5, 71, 0, 0, 126, 127, 5, 111, 0, 0, 127, 128, 5, 111, 0, 0, 128, 129, 5, 103, 0, 0, 129, 130, 5, 108, 0, 0, 130, 163, 5, 101, 0, 0, 131, 132, 5, 72, 0, 0, 132, 133, 5, 97, 0, 0, 133, 134, 5, 110, 0, 0, 134, 135, 5, 100, 0, 0, 135, 163, 5, 115, 0, 0, 136, 137, 5, 72, 0, 0, 137, 138, 5, 101, 0, 0, 138, 139, 5, 97, 0, 0, 139, 163, 5, 100, 0, 0, 140, 141, 5, 78, 0, 0, 141, 142, 5, 101, 0, 0, 142, 143, 5, 99, 0, 0, 143, 163, 5, 107, 0, 0, 144, 145, 5, 82, 0, 0, 145, 146, 5, 105, 0, 0, 146, 147, 5, 110, 0, 0, 147, 163, 5, 103, 0, 0, 148, 149, 5, 84, 0, 0, 149, 150, 5, 114, 0, 0, 150, 151, 5, 105, 0, 0, 151, 152, 5, 110, 0, 0, 152, 153, 5, 107, 0, 0, 153, 154, 5, 101, 0, 0, 154, 163, 5, 116, 0, 0, 155, 156, 5, 87, 0, 0, 156, 157, 5, 114, 0, 0, 157, 158, 5, 105, 0, 0, 158, 159, 5, 115, 0, 0, 159, 163, 5, 116, 0, 0, 160, 163, 3, 15, 7, 0, 161, 163, 3, 17, 8, 0, 162, 107, 1, 0, 0, 0, 162, 112, 1, 0, 0, 0, 162, 116, 1, 0, 0, 0, 162, 120, 1, 0, 0, 0, 162, 125, 1, 0, 0, 0, 162, 131, 1, 0, 0, 0, 162, 136, 1, 0, 0, 0, 162, 140, 1, 0, 0, 0, 162, 144, 1, 0, 0, 0, 162, 148, 1, 0, 0, 0, 162, 155, 1, 0, 0, 0, 162, 160, 1, 0, 0, 0, 162, 161, 1, 0, 0, 0, 163, 12, 1, 0, 0, 0, 164, 167, 3, 15, 7, 0, 165, 167, 3, 17, 8, 0, 166, 164, 1, 0, 0, 0, 166, 165, 1, 0, 0, 0, 167, 14, 1, 0, 0, 0, 168, 169, 5, 87, 0, 0, 169, 170, 5, 101, 0, 0, 170, 171, 5, 97, 0, 0, 171, 172, 5, 112, 0, 0, 172, 173, 5, 111, 0, 0, 173, 174, 5, 110, 0, 0, 174, 16, 1, 0, 0, 0, 175, 176, 5, 83, 0, 0, 176, 177, 5, 104, 0, 0, 177, 178, 5, 105, 0, 0, 178, 179, 5, 101, 0, 0, 179, 180, 5, 108, 0, 0, 180, 190, 5, 100, 0, 0, 181, 182, 5, 79, 0, 0, 182, 183, 5, 102, 0, 0, 183, 184, 5, 102, 0, 0, 184, 185, 5, 45, 0, 0, 185, 186, 5, 104, 0, 0, 186, 187, 5, 97, 0, 0, 187, 188, 5, 110, 0, 0, 188, 190, 5, 100, 0, 0, 189, 175, 1, 0, 0, 0, 189, 181, 1, 0, 0, 0, 190, 18, 1, 0, 0, 0, 191, 192, 5, 81, 0, 0, 192, 193, 5, 117, 0, 0, 193, 194, 5, 105, 0, 0, 194, 195, 5, 118, 0, 0, 195, 196, 5, 101, 0, 0, 196, 197, 5, 114, 0, 0, 197, 20, 1, 0, 0, 0, 198, 204, 3, 23, 11, 0, 199, 204, 3, 25, 12, 0, 200, 204, 3, 27, 13, 0, 201, 204, 3, 29, 14, 0, 202, 204, 3, 31, 15, 0, 203, 198, 1, 0, 0, 0, 203, 199, 1, 0, 0, 0, 203, 200, 1, 0, 0, 0, 203, 201, 1, 0, 0, 0, 203, 202, 1, 0, 0, 0, 204, 22, 1, 0, 0, 0, 205, 206, 5, 67, 0, 0, 206, 207, 5, 104, 0, 0, 207, 208, 5, 97, 0, 0, 208, 209, 5, 111, 0, 0, 209, 210, 5, 116, 0, 0, 210, 211, 5, 105, 0, 0, 211, 227, 5, 99, 0, 0, 212, 213, 5, 69, 0, 0, 213, 214, 5, 118, 0, 0, 214, 215, 5, 105, 0, 0, 215, 227, 5, 108, 0, 0, 216, 217, 5, 71, 0, 0, 217, 218, 5, 111, 0, 0, 218, 219, 5, 111, 0, 0, 219, 227, 5, 100, 0, 0, 220, 221, 5, 76, 0, 0, 221, 222, 5, 97, 0, 0, 222, 223, 5, 119, 0, 0, 223, 224, 5, 102, 0, 0, 224, 225, 5, 117, 0, 0, 225, 227, 5, 108, 0, 0, 226, 205, 1, 0, 0, 0, 226, 212, 1, 0, 0, 0, 226, 216, 1, 0, 0, 0, 226, 220, 1, 0, 0, 0, 227, 24, 1, 0, 0, 0, 228, 229, 5, 83, 0, 0, 229, 230, 5, 105, 0, 0, 230, 231, 5, 108, 0, 0, 231, 232, 5, 118, 0, 0, 232, 233, 5, 101, 0, 0, 233, 274, 5, 114, 0, 0, 234, 235, 5, 66, 0, 0, 235, 236, 5, 121, 0, 0, 236, 237, 5, 115, 0, 0, 237, 238, 5, 104, 0, 0, 238, 239, 5, 101, 0, 0, 239, 274, 5, 107, 0, 0, 240, 241, 5, 65, 0, 0, 241, 242, 5, 100, 0, 0, 242, 243, 5, 97, 0, 0, 243, 244, 5, 109, 0, 0, 244, 245, 5, 97, 0, 0, 245, 246, 5, 110, 0, 0, 246, 247, 5, 116, 0, 0, 247, 248, 5, 105, 0, 0, 248, 249, 5, 110, 0, 0, 249, 274, 5, 101, 0, 0, 250, 251, 5, 67, 0, 0, 251, 252, 5, 111, 0, 0, 252, 253, 5, 108, 0, 0, 253, 254, 5, 100, 0, 0, 254, 255, 5, 32, 0, 0, 255, 256, 5, 105, 0, 0, 256, 257, 5, 114, 0, 0, 257, 258, 5, 111, 0, 0, 258, 274, 5, 110, 0, 0, 259, 260, 5, 67, 0, 0, 260, 261, 5, 114, 0, 0, 261, 262, 5, 121, 0, 0, 262, 263, 5, 115, 0, 0, 263, 264, 5, 116, 0, 0, 264, 265, 5, 97, 0, 0, 265, 274, 5, 108, 0, 0, 266, 267, 5, 77, 0, 0, 267, 268, 5, 105, 0, 0, 268, 269, 5, 116, 0, 0, 269, 270, 5, 104, 0, 0, 270, 271, 5, 114, 0, 0, 271, 272, 5, 97, 0, 0, 272, 274, 5, 108, 0, 0, 273, 228, 1, 0, 0, 0, 273, 234, 1, 0, 0, 0, 273, 240, 1, 0, 0, 0, 273, 250, 1, 0, 0, 0, 273, 259, 1, 0, 0, 0, 273, 266, 1, 0, 0, 0, 274, 26, 1, 0, 0, 0, 275, 276, 5, 83, 0, 0, 276, 277, 5, 108, 0, 0, 277, 278, 5, 97, 0, 0, 278, 279, 5, 115, 0, 0, 279, 295, 5, 104, 0, 0, 280, 281, 5, 80, 0, 0, 281, 282, 5, 105, 0, 0, 282, 283, 5, 101, 0, 0, 283, 284, 5, 114, 0, 0, 284, 285, 5, 99, 0, 0, 285, 295, 5, 101, 0, 0, 286, 287, 5, 66, 0, 0, 287, 288, 5, 108, 0, 0, 288, 289, 5, 117, 0, 0, 289, 290, 5, 100, 0, 0, 290, 291, 5, 103, 0, 0, 291, 292, 5, 101, 0, 0, 292, 293, 5, 111, 0, 0, 293, 295, 5, 110, 0, 0, 294, 275, 1, 0, 0, 0, 294, 280, 1, 0, 0, 0, 294, 286, 1, 0, 0, 0, 295, 28, 1, 0, 0, 0, 296, 297, 5, 65, 0, 0, 297, 298, 5, 105, 0, 0, 298, 351, 5, 114, 0, 0, 299, 300, 5, 69, 0, 0, 300, 301, 5, 97, 0, 0, 301, 302, 5, 114, 0, 0, 302, 303, 5, 116, 0, 0, 303, 351, 5, 104, 0, 0, 304, 305, 5, 70, 0, 0, 305, 306, 5, 105, 0, 0, 306, 307, 5, 114, 0, 0, 307, 351, 5, 101, 0, 0, 308, 309, 5, 70, 0, 0, 309, 310, 5, 111, 0, 0, 310, 311, 5, 114, 0, 0, 311, 312, 5, 99, 0, 0, 312, 351, 5, 101, 0, 0, 313, 314, 5, 76, 0, 0, 314, 315, 5, 105, 0, 0, 315, 316, 5, 103, 0, 0, 316, 317, 5, 104, 0, 0, 317, 351, 5, 116, 0, 0, 318, 319, 5, 80, 0, 0, 319, 320, 5, 111, 0, 0, 320, 321, 5, 105, 0, 0, 321, 322, 5, 115, 0, 0, 322, 323, 5, 111, 0, 0, 323, 351, 5, 110, 0, 0, 324, 325, 5, 83, 0, 0, 325, 326, 5, 111, 0, 0, 326, 327, 5, 110, 0, 0, 327, 328, 5, 105, 0, 0, 328, 351, 5, 99, 0, 0, 329, 330, 5, 87, 0, 0, 330, 331, 5, 97, 0, 0, 331, 332, 5, 116, 0, 0, 332, 333, 5, 101, 0, 0, 333, 351, 5, 114, 0, 0, 334, 335, 5, 78, 0, 0, 335, 336, 5, 101, 0, 0, 336, 337, 5, 103, 0, 0, 337, 338, 5, 97, 0, 0, 338, 339, 5, 116, 0, 0, 339, 340, 5, 105, 0, 0, 340, 341, 5, 118, 0, 0, 341, 351, 5, 101, 0, 0, 342, 343, 5, 80, 0, 0, 343, 344, 5, 111, 0, 0, 344, 345, 5, 115, 0, 0, 345, 346, 5, 105, 0, 0, 346, 347, 5, 116, 0, 0, 347, 348, 5, 105, 0, 0, 348, 349, 5, 118, 0, 0, 349, 351, 5, 101, 0, 0, 350, 296, 1, 0, 0, 0, 350, 299, 1, 0, 0, 0, 350, 304, 1, 0, 0, 0, 350, 308, 1, 0, 0, 0, 350, 313, 1, 0, 0, 0, 350, 318, 1, 0, 0, 0, 350, 324, 1, 0, 0, 0, 350, 329, 1, 0, 0, 0, 350, 334, 1, 0, 0, 0, 350, 342, 1, 0, 0, 0, 351, 30, 1, 0, 0, 0, 352, 353, 5, 65, 0, 0, 353, 354, 5, 99, 0, 0, 354, 355, 5, 105, 0, 0, 355, 361, 5, 100, 0, 0, 356, 357, 5, 67, 0, 0, 357, 358, 5, 111, 0, 0, 358, 359, 5, 108, 0, 0, 359, 361, 5, 100, 0, 0, 360, 352, 1, 0, 0, 0, 360, 356, 1, 0, 0, 0, 361, 32, 1, 0, 0, 0, 362, 363, 3, 45, 22, 0, 363, 364, 5, 32, 0, 0, 364, 365, 3, 35, 17, 0, 365, 366, 5, 32, 0, 0, 366, 367, 3, 47, 23, 0, 367, 34, 1, 0, 0, 0, 368, 369, 5, 65, 0, 0, 369, 370, 5, 117, 0, 0, 370, 371, 5, 103, 0, 0, 371, 372, 5, 109, 0, 0, 372, 373, 5, 101, 0, 0, 373, 374, 5, 110, 0, 0, 374, 375, 5, 116, 0, 0, 375, 376, 5, 32, 0, 0, 376, 377, 5, 83, 0, 0, 377, 378, 5, 108, 0, 0, 378, 379, 5, 111, 0, 0, 379, 380, 5, 116, 0, 0, 380, 381, 5, 58, 0, 0, 381, 36, 1, 0, 0, 0, 382, 383, 5, 69, 0, 0, 383, 384, 5, 110, 0, 0, 384, 385, 5, 104, 0, 0, 385, 386, 5, 97, 0, 0, 386, 387, 5, 110, 0, 0, 387, 388, 5, 99, 0, 0, 388, 389, 5, 101, 0, 0, 389, 390, 5, 109, 0, 0, 390, 391, 5, 101, 0, 0, 391, 392, 5, 110, 0, 0, 392, 393, 5, 116, 0, 0, 393, 394, 5, 32, 0, 0, 394, 395, 5, 66, 0, 0, 395, 396, 5, 111, 0, 0, 396, 397, 5, 110, 0, 0, 397, 398, 5, 117, 0, 0, 398, 399, 5, 115, 0, 0, 399, 38, 1, 0, 0, 0, 400, 401, 5, 70, 0, 0, 401, 402, 5, 111, 0, 0, 402, 403, 5, 114, 0, 0, 403, 404, 5, 116, 0, 0, 404, 405, 5, 105, 0, 0, 405, 406, 5, 102, 0, 0, 406, 407, 5, 105, 0, 0, 407, 408, 5, 99, 0, 0, 408, 409, 5, 97, 0, 0, 409, 410, 5, 116, 0, 0, 410, 411, 5, 105, 0, 0, 411, 412, 5, 111, 0, 0, 412, 413, 5, 110, 0, 0, 413, 40, 1, 0, 0, 0, 414, 415, 3, 43, 21, 0, 415, 416, 5, 32, 0, 0, 416, 417, 5, 83, 0, 0, 417, 418, 5, 104, 0, 0, 418, 419, 5, 101, 0, 0, 419, 420, 5, 108, 0, 0, 420, 421, 5, 116, 0, 0, 421, 422, 5, 101, 0, 0, 422, 423, 5, 114, 0, 0, 423, 424, 5, 105, 0, 0, 424, 425, 5, 110, 0, 0, 425, 426, 5, 103, 0, 0, 426, 42, 1, 0, 0, 0, 427, 428, 5, 80, 0, 0, 428, 429, 5, 104, 0, 0, 429, 430, 5, 121, 0, 0, 430, 431, 5, 115, 0, 0, 431, 432, 5, 105, 0, 0, 432, 433, 5, 99, 0, 0, 433, 434, 5, 97, 0, 0, 434, 435, 5, 108, 0, 0, 435, 436, 5, 32, 0, 0, 436, 437, 5, 97, 0, 0, 437, 438, 5, 110, 0, 0, 438, 439, 5, 100, 0, 0, 439, 440, 5, 32, 0, 0, 440, 441, 5, 77, 0, 0, 441, 442, 5, 97, 0, 0, 442, 443, 5, 103, 0, 0, 443, 444, 5, 105, 0, 0, 444, 445, 5, 99, 0, 0, 445, 446, 5, 97, 0, 0, 446, 463, 5, 108, 0, 0, 447, 448, 5, 80, 0, 0, 448, 449, 5, 104, 0, 0, 449, 450, 5, 121, 0, 0, 450, 451, 5, 115, 0, 0, 451, 452, 5, 105, 0, 0, 452, 453, 5, 99, 0, 0, 453, 454, 5, 97, 0, 0, 454, 463, 5, 108, 0, 0, 455, 456, 5, 77, 0, 0, 456, 457, 5, 97, 0, 0, 457, 458, 5, 103, 0, 0, 458, 459, 5, 105, 0, 0, 459, 460, 5, 99, 0, 0, 460, 461, 5, 97, 0, 0, 461, 463, 5, 108, 0, 0, 462, 427, 1, 0, 0, 0, 462, 447, 1, 0, 0, 0, 462, 455, 1, 0, 0, 0, 463, 44, 1, 0, 0, 0, 464, 465, 5, 66, 0, 0, 465, 466, 5, 108, 0, 0, 466, 467, 5, 117, 0, 0, 467, 504, 5, 101, 0, 0, 468, 469, 5, 79, 0, 0, 469, 470, 5, 114, 0, 0, 470, 471, 5, 97, 0, 0, 471, 472, 5, 110, 0, 0, 472, 473, 5, 103, 0, 0, 473, 504, 5, 101, 0, 0, 474, 475, 5, 89, 0, 0, 475, 476, 5, 101, 0, 0, 476, 477, 5, 108, 0, 0, 477, 478, 5, 108, 0, 0, 478, 479, 5, 111, 0, 0, 479, 504, 5, 119, 0, 0, 480, 481, 5, 82, 0, 0, 481, 482, 5, 101, 0, 0, 482, 504, 5, 100, 0, 0, 483, 484, 5, 71, 0, 0, 484, 485, 5, 114, 0, 0, 485, 486, 5, 101, 0, 0, 486, 487, 5, 101, 0, 0, 487, 504, 5, 110, 0, 0, 488, 489, 5, 80, 0, 0, 489, 490, 5, 117, 0, 0, 490, 491, 5, 114, 0, 0, 491, 492, 5, 112, 0, 0, 492, 493, 5, 108, 0, 0, 493, 504, 5, 101, 0, 0, 494, 495, 5, 67, 0, 0, 495, 496, 5, 111, 0, 0, 496, 497, 5, 108, 0, 0, 497, 498, 5, 111, 0, 0, 498, 499, 5, 114, 0, 0, 499, 500, 5, 108, 0, 0, 500, 501, 5, 101, 0, 0, 501, 502, 5, 115, 0, 0, 502, 504, 5, 115, 0, 0, 503, 464, 1, 0, 0, 0, 503, 468, 1, 0, 0, 0, 503, 474, 1, 0, 0, 0, 503, 480, 1, 0, 0, 0, 503, 483, 1, 0, 0, 0, 503, 488, 1, 0, 0, 0, 503, 494, 1, 0, 0, 0, 504, 46, 1, 0, 0, 0, 505, 508, 3, 51, 25, 0, 506, 508, 3, 49, 24, 0, 507, 505, 1, 0, 0, 0, 507, 506, 1, 0, 0, 0, 508, 48, 1, 0, 0, 0, 509, 510, 5, 116, 0, 0, 510, 511, 5, 111, 0, 0, 511, 512, 5, 100, 0, 0, 512, 513, 5, 111, 0, 0, 513, 514, 5, 58, 0, 0, 514, 515, 5, 77, 0, 0, 515, 516, 5, 65, 0, 0, 516, 517, 5, 82, 0, 0, 517, 518, 5, 75, 0, 0, 518, 519, 5, 69, 0, 0, 519, 520, 5, 82, 0, 0, 520, 521, 5, 32, 0, 0, 521, 50, 1, 0, 0, 0, 522, 523, 5, 69, 0, 0, 523, 524, 5, 109, 0, 0, 524, 525, 5, 112, 0, 0, 525, 526, 5, 116, 0, 0, 526, 527, 5, 121, 0, 0, 527, 52, 1, 0, 0, 0, 528, 530, 7, 0, 0, 0, 529, 528, 1, 0, 0, 0, 530, 531, 1, 0, 0, 0, 531, 529, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 534, 6, 26, 1, 0, 534, 54, 1, 0, 0, 0, 535, 537, 3, 57, 28, 0, 536, 535, 1, 0, 0, 0, 537, 538, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 538, 539, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 541, 5, 37, 0, 0, 541, 56, 1, 0, 0, 0, 542, 544, 3, 59, 29, 0, 543, 542, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 543, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 548, 3, 61, 30, 0, 548, 58, 1, 0, 0, 0, 549, 550, 7, 1, 0, 0, 550, 60, 1, 0, 0, 0, 551, 553, 7, 2, 0, 0, 552, 551, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 62, 1, 0, 0, 0, 556, 560, 3, 65, 32, 0, 557, 560, 3, 69, 34, 0, 558, 560, 3, 67, 33, 0, 559, 556, 1, 0, 0, 0, 559, 557, 1, 0, 0, 0, 559, 558, 1, 0, 0, 0, 560, 64, 1, 0, 0, 0, 561, 563, 3, 67, 33, 0, 562, 561, 1, 0, 0, 0, 563, 564, 1, 0, 0, 0, 564, 562, 1, 0, 0, 0, 564, 565, 1, 0, 0, 0, 565, 567, 1, 0, 0, 0, 566, 568, 5, 32, 0, 0, 567, 566, 1, 0, 0, 0, 568, 569, 1, 0, 0, 0, 569, 567, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 572, 3, 69, 34, 0, 572, 66, 1, 0, 0, 0, 573, 575, 3, 69, 34, 0, 574, 573, 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 574, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 579, 1, 0, 0, 0, 578, 580, 5, 32, 0, 0, 579, 578, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 579, 1, 0, 0, 0, 581, 582, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 584, 3, 69, 34, 0, 584, 68, 1, 0, 0, 0, 585, 587, 7, 3, 0, 0, 586, 585, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 586, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 591, 1, 0, 0, 0, 590, 592, 7, 4, 0, 0, 591, 590, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 591, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 70, 1, 0, 0, 0, 27, 0, 72, 76, 86, 162, 166, 189, 203, 226, 273, 294, 350, 360, 462, 503, 507, 531, 538, 545, 554, 559, 564, 569, 576, 581, 588, 593, 2, 6, 0, 0, 0, 1, 0] \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.java b/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.java deleted file mode 100644 index 909a681a..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.java +++ /dev/null @@ -1,512 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/EnchantmentsLexer.g4 by ANTLR 4.12.0 -package io.truthencode.ddo.grammar.antlr; -import org.antlr.v4.runtime.Lexer; -import org.antlr.v4.runtime.CharStream; -import org.antlr.v4.runtime.Token; -import org.antlr.v4.runtime.TokenStream; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.misc.*; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"}) -public class EnchantmentsLexer extends Lexer { - static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - LineBreak=1, ENCHANTMENT=2, MYTHIC_BOOST=3, CORE_BODY_SLOT=4, HAND_SLOT=5, - AUXILLARY_BODY_SLOT=6, DAMAGE_TYPE=7, AUGMENTSLOT=8, LBL_AUGMENT_SLOT=9, - ENHANCEMENT_BONUS=10, FORT=11, SHELTERING=12, SHELTERTYPE=13, AUGMENTCOLOR=14, - AUGMENTOPTION=15, FilledAugmentSlot=16, EmptyAugmentSlot=17, WS=18, PCT=19, - NUM=20, SIGN=21, UNKNOWN_ID=22; - public static String[] channelNames = { - "DEFAULT_TOKEN_CHANNEL", "HIDDEN" - }; - - public static String[] modeNames = { - "DEFAULT_MODE" - }; - - private static String[] makeRuleNames() { - return new String[] { - "LineBreak", "ENCHANTMENT", "MYTHIC_BOOST", "MYTHIC_KEYWORD", "MYTHIC_SLOT", - "CORE_BODY_SLOT", "HAND_SLOT", "MAIN_HAND", "OFF_HAND", "AUXILLARY_BODY_SLOT", - "DAMAGE_TYPE", "ALIGNMENT_DAMAGE_TYPE", "MATERIAL_DAMAGE_TYPE", "PHYSICAL_DAMAGE_TYPE", - "ELEMENTAL_DAMAGE_TYPE", "ELEMENTAL_SUB_TYPE", "AUGMENTSLOT", "LBL_AUGMENT_SLOT", - "ENHANCEMENT_BONUS", "FORT", "SHELTERING", "SHELTERTYPE", "AUGMENTCOLOR", - "AUGMENTOPTION", "FilledAugmentSlot", "EmptyAugmentSlot", "WS", "PCT", - "NUM", "SIGN", "UNUM", "UNKNOWN_ID", "MULTI_WORDS", "MULTI_WORD", "SIMPLE_WORD" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - null, null, null, null, null, null, "'Quiver'", null, null, "'Augment Slot:'", - "'Enhancement Bonus'", "'Fortification'", null, null, null, null, "'todo:MARKER '", - "'Empty'" - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "LineBreak", "ENCHANTMENT", "MYTHIC_BOOST", "CORE_BODY_SLOT", "HAND_SLOT", - "AUXILLARY_BODY_SLOT", "DAMAGE_TYPE", "AUGMENTSLOT", "LBL_AUGMENT_SLOT", - "ENHANCEMENT_BONUS", "FORT", "SHELTERING", "SHELTERTYPE", "AUGMENTCOLOR", - "AUGMENTOPTION", "FilledAugmentSlot", "EmptyAugmentSlot", "WS", "PCT", - "NUM", "SIGN", "UNKNOWN_ID" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - - public EnchantmentsLexer(CharStream input) { - super(input); - _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - @Override - public String getGrammarFileName() { return "EnchantmentsLexer.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public String[] getChannelNames() { return channelNames; } - - @Override - public String[] getModeNames() { return modeNames; } - - @Override - public ATN getATN() { return _ATN; } - - public static final String _serializedATN = - "\u0004\u0000\u0016\u0253\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002"+ - "\u0001\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002"+ - "\u0004\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002"+ - "\u0007\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002"+ - "\u000b\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e"+ - "\u0002\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011"+ - "\u0002\u0012\u0007\u0012\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014"+ - "\u0002\u0015\u0007\u0015\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017"+ - "\u0002\u0018\u0007\u0018\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a"+ - "\u0002\u001b\u0007\u001b\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d"+ - "\u0002\u001e\u0007\u001e\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!"+ - "\u0007!\u0002\"\u0007\"\u0001\u0000\u0003\u0000I\b\u0000\u0001\u0000\u0001"+ - "\u0000\u0003\u0000M\b\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0003\u0001W\b"+ - "\u0001\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001"+ - "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0003\u0001"+ - "\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001"+ - "\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u00a3\b\u0005\u0001\u0006\u0001"+ - "\u0006\u0003\u0006\u00a7\b\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001"+ - "\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001"+ - "\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ - "\b\u0001\b\u0003\b\u00be\b\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+ - "\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0003\n\u00cc\b\n\u0001"+ - "\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0001\u000b\u0003\u000b\u00e3\b\u000b\u0001\f\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0003\f\u0112"+ - "\b\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+ - "\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+ - "\r\u0001\r\u0003\r\u0127\b\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0003\u000e\u015f\b\u000e\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+ - "\u000f\u0003\u000f\u0169\b\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ - "\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001"+ - "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ - "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ - "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0003\u0015\u01cf\b\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0003"+ - "\u0016\u01f8\b\u0016\u0001\u0017\u0001\u0017\u0003\u0017\u01fc\b\u0017"+ - "\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018"+ - "\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018"+ - "\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019"+ - "\u0001\u0019\u0001\u001a\u0004\u001a\u0212\b\u001a\u000b\u001a\f\u001a"+ - "\u0213\u0001\u001a\u0001\u001a\u0001\u001b\u0004\u001b\u0219\b\u001b\u000b"+ - "\u001b\f\u001b\u021a\u0001\u001b\u0001\u001b\u0001\u001c\u0004\u001c\u0220"+ - "\b\u001c\u000b\u001c\f\u001c\u0221\u0001\u001c\u0001\u001c\u0001\u001d"+ - "\u0001\u001d\u0001\u001e\u0004\u001e\u0229\b\u001e\u000b\u001e\f\u001e"+ - "\u022a\u0001\u001f\u0001\u001f\u0001\u001f\u0003\u001f\u0230\b\u001f\u0001"+ - " \u0004 \u0233\b \u000b \f \u0234\u0001 \u0004 \u0238\b \u000b \f \u0239"+ - "\u0001 \u0001 \u0001!\u0004!\u023f\b!\u000b!\f!\u0240\u0001!\u0004!\u0244"+ - "\b!\u000b!\f!\u0245\u0001!\u0001!\u0001\"\u0004\"\u024b\b\"\u000b\"\f"+ - "\"\u024c\u0001\"\u0004\"\u0250\b\"\u000b\"\f\"\u0251\u0000\u0000#\u0001"+ - "\u0001\u0003\u0002\u0005\u0003\u0007\u0000\t\u0000\u000b\u0004\r\u0005"+ - "\u000f\u0000\u0011\u0000\u0013\u0006\u0015\u0007\u0017\u0000\u0019\u0000"+ - "\u001b\u0000\u001d\u0000\u001f\u0000!\b#\t%\n\'\u000b)\f+\r-\u000e/\u000f"+ - "1\u00103\u00115\u00127\u00139\u0014;\u0015=\u0000?\u0016A\u0000C\u0000"+ - "E\u0000\u0001\u0000\u0005\u0003\u0000\t\n\r\r \u0002\u0000++--\u0001"+ - "\u000009\u0002\u0000AZaz\u0001\u0000az\u0287\u0000\u0001\u0001\u0000\u0000"+ - "\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000\u0000"+ - "\u0000\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000"+ - "\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000"+ - "\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001\u0000\u0000\u0000\u0000%"+ - "\u0001\u0000\u0000\u0000\u0000\'\u0001\u0000\u0000\u0000\u0000)\u0001"+ - "\u0000\u0000\u0000\u0000+\u0001\u0000\u0000\u0000\u0000-\u0001\u0000\u0000"+ - "\u0000\u0000/\u0001\u0000\u0000\u0000\u00001\u0001\u0000\u0000\u0000\u0000"+ - "3\u0001\u0000\u0000\u0000\u00005\u0001\u0000\u0000\u0000\u00007\u0001"+ - "\u0000\u0000\u0000\u00009\u0001\u0000\u0000\u0000\u0000;\u0001\u0000\u0000"+ - "\u0000\u0000?\u0001\u0000\u0000\u0000\u0001L\u0001\u0000\u0000\u0000\u0003"+ - "V\u0001\u0000\u0000\u0000\u0005X\u0001\u0000\u0000\u0000\u0007b\u0001"+ - "\u0000\u0000\u0000\ti\u0001\u0000\u0000\u0000\u000b\u00a2\u0001\u0000"+ - "\u0000\u0000\r\u00a6\u0001\u0000\u0000\u0000\u000f\u00a8\u0001\u0000\u0000"+ - "\u0000\u0011\u00bd\u0001\u0000\u0000\u0000\u0013\u00bf\u0001\u0000\u0000"+ - "\u0000\u0015\u00cb\u0001\u0000\u0000\u0000\u0017\u00e2\u0001\u0000\u0000"+ - "\u0000\u0019\u0111\u0001\u0000\u0000\u0000\u001b\u0126\u0001\u0000\u0000"+ - "\u0000\u001d\u015e\u0001\u0000\u0000\u0000\u001f\u0168\u0001\u0000\u0000"+ - "\u0000!\u016a\u0001\u0000\u0000\u0000#\u0170\u0001\u0000\u0000\u0000%"+ - "\u017e\u0001\u0000\u0000\u0000\'\u0190\u0001\u0000\u0000\u0000)\u019e"+ - "\u0001\u0000\u0000\u0000+\u01ce\u0001\u0000\u0000\u0000-\u01f7\u0001\u0000"+ - "\u0000\u0000/\u01fb\u0001\u0000\u0000\u00001\u01fd\u0001\u0000\u0000\u0000"+ - "3\u020a\u0001\u0000\u0000\u00005\u0211\u0001\u0000\u0000\u00007\u0218"+ - "\u0001\u0000\u0000\u00009\u021f\u0001\u0000\u0000\u0000;\u0225\u0001\u0000"+ - "\u0000\u0000=\u0228\u0001\u0000\u0000\u0000?\u022f\u0001\u0000\u0000\u0000"+ - "A\u0232\u0001\u0000\u0000\u0000C\u023e\u0001\u0000\u0000\u0000E\u024a"+ - "\u0001\u0000\u0000\u0000GI\u0005\r\u0000\u0000HG\u0001\u0000\u0000\u0000"+ - "HI\u0001\u0000\u0000\u0000IJ\u0001\u0000\u0000\u0000JM\u0005\n\u0000\u0000"+ - "KM\u0005\r\u0000\u0000LH\u0001\u0000\u0000\u0000LK\u0001\u0000\u0000\u0000"+ - "MN\u0001\u0000\u0000\u0000NO\u0006\u0000\u0000\u0000O\u0002\u0001\u0000"+ - "\u0000\u0000PW\u0003\'\u0013\u0000QW\u0003!\u0010\u0000RW\u0003%\u0012"+ - "\u0000SW\u0003)\u0014\u0000TW\u0003\u0015\n\u0000UW\u0003\u0005\u0002"+ - "\u0000VP\u0001\u0000\u0000\u0000VQ\u0001\u0000\u0000\u0000VR\u0001\u0000"+ - "\u0000\u0000VS\u0001\u0000\u0000\u0000VT\u0001\u0000\u0000\u0000VU\u0001"+ - "\u0000\u0000\u0000W\u0004\u0001\u0000\u0000\u0000XY\u0003\u0007\u0003"+ - "\u0000YZ\u0005 \u0000\u0000Z[\u0003\t\u0004\u0000[\\\u0005 \u0000\u0000"+ - "\\]\u0005B\u0000\u0000]^\u0005o\u0000\u0000^_\u0005o\u0000\u0000_`\u0005"+ - "s\u0000\u0000`a\u0005t\u0000\u0000a\u0006\u0001\u0000\u0000\u0000bc\u0005"+ - "M\u0000\u0000cd\u0005y\u0000\u0000de\u0005t\u0000\u0000ef\u0005h\u0000"+ - "\u0000fg\u0005i\u0000\u0000gh\u0005c\u0000\u0000h\b\u0001\u0000\u0000"+ - "\u0000ij\u0003\u000b\u0005\u0000j\n\u0001\u0000\u0000\u0000kl\u0005A\u0000"+ - "\u0000lm\u0005r\u0000\u0000mn\u0005m\u0000\u0000no\u0005o\u0000\u0000"+ - "o\u00a3\u0005r\u0000\u0000pq\u0005B\u0000\u0000qr\u0005e\u0000\u0000r"+ - "s\u0005l\u0000\u0000s\u00a3\u0005t\u0000\u0000tu\u0005B\u0000\u0000uv"+ - "\u0005o\u0000\u0000vw\u0005o\u0000\u0000w\u00a3\u0005t\u0000\u0000xy\u0005"+ - "C\u0000\u0000yz\u0005l\u0000\u0000z{\u0005o\u0000\u0000{|\u0005a\u0000"+ - "\u0000|\u00a3\u0005k\u0000\u0000}~\u0005G\u0000\u0000~\u007f\u0005o\u0000"+ - "\u0000\u007f\u0080\u0005o\u0000\u0000\u0080\u0081\u0005g\u0000\u0000\u0081"+ - "\u0082\u0005l\u0000\u0000\u0082\u00a3\u0005e\u0000\u0000\u0083\u0084\u0005"+ - "H\u0000\u0000\u0084\u0085\u0005a\u0000\u0000\u0085\u0086\u0005n\u0000"+ - "\u0000\u0086\u0087\u0005d\u0000\u0000\u0087\u00a3\u0005s\u0000\u0000\u0088"+ - "\u0089\u0005H\u0000\u0000\u0089\u008a\u0005e\u0000\u0000\u008a\u008b\u0005"+ - "a\u0000\u0000\u008b\u00a3\u0005d\u0000\u0000\u008c\u008d\u0005N\u0000"+ - "\u0000\u008d\u008e\u0005e\u0000\u0000\u008e\u008f\u0005c\u0000\u0000\u008f"+ - "\u00a3\u0005k\u0000\u0000\u0090\u0091\u0005R\u0000\u0000\u0091\u0092\u0005"+ - "i\u0000\u0000\u0092\u0093\u0005n\u0000\u0000\u0093\u00a3\u0005g\u0000"+ - "\u0000\u0094\u0095\u0005T\u0000\u0000\u0095\u0096\u0005r\u0000\u0000\u0096"+ - "\u0097\u0005i\u0000\u0000\u0097\u0098\u0005n\u0000\u0000\u0098\u0099\u0005"+ - "k\u0000\u0000\u0099\u009a\u0005e\u0000\u0000\u009a\u00a3\u0005t\u0000"+ - "\u0000\u009b\u009c\u0005W\u0000\u0000\u009c\u009d\u0005r\u0000\u0000\u009d"+ - "\u009e\u0005i\u0000\u0000\u009e\u009f\u0005s\u0000\u0000\u009f\u00a3\u0005"+ - "t\u0000\u0000\u00a0\u00a3\u0003\u000f\u0007\u0000\u00a1\u00a3\u0003\u0011"+ - "\b\u0000\u00a2k\u0001\u0000\u0000\u0000\u00a2p\u0001\u0000\u0000\u0000"+ - "\u00a2t\u0001\u0000\u0000\u0000\u00a2x\u0001\u0000\u0000\u0000\u00a2}"+ - "\u0001\u0000\u0000\u0000\u00a2\u0083\u0001\u0000\u0000\u0000\u00a2\u0088"+ - "\u0001\u0000\u0000\u0000\u00a2\u008c\u0001\u0000\u0000\u0000\u00a2\u0090"+ - "\u0001\u0000\u0000\u0000\u00a2\u0094\u0001\u0000\u0000\u0000\u00a2\u009b"+ - "\u0001\u0000\u0000\u0000\u00a2\u00a0\u0001\u0000\u0000\u0000\u00a2\u00a1"+ - "\u0001\u0000\u0000\u0000\u00a3\f\u0001\u0000\u0000\u0000\u00a4\u00a7\u0003"+ - "\u000f\u0007\u0000\u00a5\u00a7\u0003\u0011\b\u0000\u00a6\u00a4\u0001\u0000"+ - "\u0000\u0000\u00a6\u00a5\u0001\u0000\u0000\u0000\u00a7\u000e\u0001\u0000"+ - "\u0000\u0000\u00a8\u00a9\u0005W\u0000\u0000\u00a9\u00aa\u0005e\u0000\u0000"+ - "\u00aa\u00ab\u0005a\u0000\u0000\u00ab\u00ac\u0005p\u0000\u0000\u00ac\u00ad"+ - "\u0005o\u0000\u0000\u00ad\u00ae\u0005n\u0000\u0000\u00ae\u0010\u0001\u0000"+ - "\u0000\u0000\u00af\u00b0\u0005S\u0000\u0000\u00b0\u00b1\u0005h\u0000\u0000"+ - "\u00b1\u00b2\u0005i\u0000\u0000\u00b2\u00b3\u0005e\u0000\u0000\u00b3\u00b4"+ - "\u0005l\u0000\u0000\u00b4\u00be\u0005d\u0000\u0000\u00b5\u00b6\u0005O"+ - "\u0000\u0000\u00b6\u00b7\u0005f\u0000\u0000\u00b7\u00b8\u0005f\u0000\u0000"+ - "\u00b8\u00b9\u0005-\u0000\u0000\u00b9\u00ba\u0005h\u0000\u0000\u00ba\u00bb"+ - "\u0005a\u0000\u0000\u00bb\u00bc\u0005n\u0000\u0000\u00bc\u00be\u0005d"+ - "\u0000\u0000\u00bd\u00af\u0001\u0000\u0000\u0000\u00bd\u00b5\u0001\u0000"+ - "\u0000\u0000\u00be\u0012\u0001\u0000\u0000\u0000\u00bf\u00c0\u0005Q\u0000"+ - "\u0000\u00c0\u00c1\u0005u\u0000\u0000\u00c1\u00c2\u0005i\u0000\u0000\u00c2"+ - "\u00c3\u0005v\u0000\u0000\u00c3\u00c4\u0005e\u0000\u0000\u00c4\u00c5\u0005"+ - "r\u0000\u0000\u00c5\u0014\u0001\u0000\u0000\u0000\u00c6\u00cc\u0003\u0017"+ - "\u000b\u0000\u00c7\u00cc\u0003\u0019\f\u0000\u00c8\u00cc\u0003\u001b\r"+ - "\u0000\u00c9\u00cc\u0003\u001d\u000e\u0000\u00ca\u00cc\u0003\u001f\u000f"+ - "\u0000\u00cb\u00c6\u0001\u0000\u0000\u0000\u00cb\u00c7\u0001\u0000\u0000"+ - "\u0000\u00cb\u00c8\u0001\u0000\u0000\u0000\u00cb\u00c9\u0001\u0000\u0000"+ - "\u0000\u00cb\u00ca\u0001\u0000\u0000\u0000\u00cc\u0016\u0001\u0000\u0000"+ - "\u0000\u00cd\u00ce\u0005C\u0000\u0000\u00ce\u00cf\u0005h\u0000\u0000\u00cf"+ - "\u00d0\u0005a\u0000\u0000\u00d0\u00d1\u0005o\u0000\u0000\u00d1\u00d2\u0005"+ - "t\u0000\u0000\u00d2\u00d3\u0005i\u0000\u0000\u00d3\u00e3\u0005c\u0000"+ - "\u0000\u00d4\u00d5\u0005E\u0000\u0000\u00d5\u00d6\u0005v\u0000\u0000\u00d6"+ - "\u00d7\u0005i\u0000\u0000\u00d7\u00e3\u0005l\u0000\u0000\u00d8\u00d9\u0005"+ - "G\u0000\u0000\u00d9\u00da\u0005o\u0000\u0000\u00da\u00db\u0005o\u0000"+ - "\u0000\u00db\u00e3\u0005d\u0000\u0000\u00dc\u00dd\u0005L\u0000\u0000\u00dd"+ - "\u00de\u0005a\u0000\u0000\u00de\u00df\u0005w\u0000\u0000\u00df\u00e0\u0005"+ - "f\u0000\u0000\u00e0\u00e1\u0005u\u0000\u0000\u00e1\u00e3\u0005l\u0000"+ - "\u0000\u00e2\u00cd\u0001\u0000\u0000\u0000\u00e2\u00d4\u0001\u0000\u0000"+ - "\u0000\u00e2\u00d8\u0001\u0000\u0000\u0000\u00e2\u00dc\u0001\u0000\u0000"+ - "\u0000\u00e3\u0018\u0001\u0000\u0000\u0000\u00e4\u00e5\u0005S\u0000\u0000"+ - "\u00e5\u00e6\u0005i\u0000\u0000\u00e6\u00e7\u0005l\u0000\u0000\u00e7\u00e8"+ - "\u0005v\u0000\u0000\u00e8\u00e9\u0005e\u0000\u0000\u00e9\u0112\u0005r"+ - "\u0000\u0000\u00ea\u00eb\u0005B\u0000\u0000\u00eb\u00ec\u0005y\u0000\u0000"+ - "\u00ec\u00ed\u0005s\u0000\u0000\u00ed\u00ee\u0005h\u0000\u0000\u00ee\u00ef"+ - "\u0005e\u0000\u0000\u00ef\u0112\u0005k\u0000\u0000\u00f0\u00f1\u0005A"+ - "\u0000\u0000\u00f1\u00f2\u0005d\u0000\u0000\u00f2\u00f3\u0005a\u0000\u0000"+ - "\u00f3\u00f4\u0005m\u0000\u0000\u00f4\u00f5\u0005a\u0000\u0000\u00f5\u00f6"+ - "\u0005n\u0000\u0000\u00f6\u00f7\u0005t\u0000\u0000\u00f7\u00f8\u0005i"+ - "\u0000\u0000\u00f8\u00f9\u0005n\u0000\u0000\u00f9\u0112\u0005e\u0000\u0000"+ - "\u00fa\u00fb\u0005C\u0000\u0000\u00fb\u00fc\u0005o\u0000\u0000\u00fc\u00fd"+ - "\u0005l\u0000\u0000\u00fd\u00fe\u0005d\u0000\u0000\u00fe\u00ff\u0005 "+ - "\u0000\u0000\u00ff\u0100\u0005i\u0000\u0000\u0100\u0101\u0005r\u0000\u0000"+ - "\u0101\u0102\u0005o\u0000\u0000\u0102\u0112\u0005n\u0000\u0000\u0103\u0104"+ - "\u0005C\u0000\u0000\u0104\u0105\u0005r\u0000\u0000\u0105\u0106\u0005y"+ - "\u0000\u0000\u0106\u0107\u0005s\u0000\u0000\u0107\u0108\u0005t\u0000\u0000"+ - "\u0108\u0109\u0005a\u0000\u0000\u0109\u0112\u0005l\u0000\u0000\u010a\u010b"+ - "\u0005M\u0000\u0000\u010b\u010c\u0005i\u0000\u0000\u010c\u010d\u0005t"+ - "\u0000\u0000\u010d\u010e\u0005h\u0000\u0000\u010e\u010f\u0005r\u0000\u0000"+ - "\u010f\u0110\u0005a\u0000\u0000\u0110\u0112\u0005l\u0000\u0000\u0111\u00e4"+ - "\u0001\u0000\u0000\u0000\u0111\u00ea\u0001\u0000\u0000\u0000\u0111\u00f0"+ - "\u0001\u0000\u0000\u0000\u0111\u00fa\u0001\u0000\u0000\u0000\u0111\u0103"+ - "\u0001\u0000\u0000\u0000\u0111\u010a\u0001\u0000\u0000\u0000\u0112\u001a"+ - "\u0001\u0000\u0000\u0000\u0113\u0114\u0005S\u0000\u0000\u0114\u0115\u0005"+ - "l\u0000\u0000\u0115\u0116\u0005a\u0000\u0000\u0116\u0117\u0005s\u0000"+ - "\u0000\u0117\u0127\u0005h\u0000\u0000\u0118\u0119\u0005P\u0000\u0000\u0119"+ - "\u011a\u0005i\u0000\u0000\u011a\u011b\u0005e\u0000\u0000\u011b\u011c\u0005"+ - "r\u0000\u0000\u011c\u011d\u0005c\u0000\u0000\u011d\u0127\u0005e\u0000"+ - "\u0000\u011e\u011f\u0005B\u0000\u0000\u011f\u0120\u0005l\u0000\u0000\u0120"+ - "\u0121\u0005u\u0000\u0000\u0121\u0122\u0005d\u0000\u0000\u0122\u0123\u0005"+ - "g\u0000\u0000\u0123\u0124\u0005e\u0000\u0000\u0124\u0125\u0005o\u0000"+ - "\u0000\u0125\u0127\u0005n\u0000\u0000\u0126\u0113\u0001\u0000\u0000\u0000"+ - "\u0126\u0118\u0001\u0000\u0000\u0000\u0126\u011e\u0001\u0000\u0000\u0000"+ - "\u0127\u001c\u0001\u0000\u0000\u0000\u0128\u0129\u0005A\u0000\u0000\u0129"+ - "\u012a\u0005i\u0000\u0000\u012a\u015f\u0005r\u0000\u0000\u012b\u012c\u0005"+ - "E\u0000\u0000\u012c\u012d\u0005a\u0000\u0000\u012d\u012e\u0005r\u0000"+ - "\u0000\u012e\u012f\u0005t\u0000\u0000\u012f\u015f\u0005h\u0000\u0000\u0130"+ - "\u0131\u0005F\u0000\u0000\u0131\u0132\u0005i\u0000\u0000\u0132\u0133\u0005"+ - "r\u0000\u0000\u0133\u015f\u0005e\u0000\u0000\u0134\u0135\u0005F\u0000"+ - "\u0000\u0135\u0136\u0005o\u0000\u0000\u0136\u0137\u0005r\u0000\u0000\u0137"+ - "\u0138\u0005c\u0000\u0000\u0138\u015f\u0005e\u0000\u0000\u0139\u013a\u0005"+ - "L\u0000\u0000\u013a\u013b\u0005i\u0000\u0000\u013b\u013c\u0005g\u0000"+ - "\u0000\u013c\u013d\u0005h\u0000\u0000\u013d\u015f\u0005t\u0000\u0000\u013e"+ - "\u013f\u0005P\u0000\u0000\u013f\u0140\u0005o\u0000\u0000\u0140\u0141\u0005"+ - "i\u0000\u0000\u0141\u0142\u0005s\u0000\u0000\u0142\u0143\u0005o\u0000"+ - "\u0000\u0143\u015f\u0005n\u0000\u0000\u0144\u0145\u0005S\u0000\u0000\u0145"+ - "\u0146\u0005o\u0000\u0000\u0146\u0147\u0005n\u0000\u0000\u0147\u0148\u0005"+ - "i\u0000\u0000\u0148\u015f\u0005c\u0000\u0000\u0149\u014a\u0005W\u0000"+ - "\u0000\u014a\u014b\u0005a\u0000\u0000\u014b\u014c\u0005t\u0000\u0000\u014c"+ - "\u014d\u0005e\u0000\u0000\u014d\u015f\u0005r\u0000\u0000\u014e\u014f\u0005"+ - "N\u0000\u0000\u014f\u0150\u0005e\u0000\u0000\u0150\u0151\u0005g\u0000"+ - "\u0000\u0151\u0152\u0005a\u0000\u0000\u0152\u0153\u0005t\u0000\u0000\u0153"+ - "\u0154\u0005i\u0000\u0000\u0154\u0155\u0005v\u0000\u0000\u0155\u015f\u0005"+ - "e\u0000\u0000\u0156\u0157\u0005P\u0000\u0000\u0157\u0158\u0005o\u0000"+ - "\u0000\u0158\u0159\u0005s\u0000\u0000\u0159\u015a\u0005i\u0000\u0000\u015a"+ - "\u015b\u0005t\u0000\u0000\u015b\u015c\u0005i\u0000\u0000\u015c\u015d\u0005"+ - "v\u0000\u0000\u015d\u015f\u0005e\u0000\u0000\u015e\u0128\u0001\u0000\u0000"+ - "\u0000\u015e\u012b\u0001\u0000\u0000\u0000\u015e\u0130\u0001\u0000\u0000"+ - "\u0000\u015e\u0134\u0001\u0000\u0000\u0000\u015e\u0139\u0001\u0000\u0000"+ - "\u0000\u015e\u013e\u0001\u0000\u0000\u0000\u015e\u0144\u0001\u0000\u0000"+ - "\u0000\u015e\u0149\u0001\u0000\u0000\u0000\u015e\u014e\u0001\u0000\u0000"+ - "\u0000\u015e\u0156\u0001\u0000\u0000\u0000\u015f\u001e\u0001\u0000\u0000"+ - "\u0000\u0160\u0161\u0005A\u0000\u0000\u0161\u0162\u0005c\u0000\u0000\u0162"+ - "\u0163\u0005i\u0000\u0000\u0163\u0169\u0005d\u0000\u0000\u0164\u0165\u0005"+ - "C\u0000\u0000\u0165\u0166\u0005o\u0000\u0000\u0166\u0167\u0005l\u0000"+ - "\u0000\u0167\u0169\u0005d\u0000\u0000\u0168\u0160\u0001\u0000\u0000\u0000"+ - "\u0168\u0164\u0001\u0000\u0000\u0000\u0169 \u0001\u0000\u0000\u0000\u016a"+ - "\u016b\u0003-\u0016\u0000\u016b\u016c\u0005 \u0000\u0000\u016c\u016d\u0003"+ - "#\u0011\u0000\u016d\u016e\u0005 \u0000\u0000\u016e\u016f\u0003/\u0017"+ - "\u0000\u016f\"\u0001\u0000\u0000\u0000\u0170\u0171\u0005A\u0000\u0000"+ - "\u0171\u0172\u0005u\u0000\u0000\u0172\u0173\u0005g\u0000\u0000\u0173\u0174"+ - "\u0005m\u0000\u0000\u0174\u0175\u0005e\u0000\u0000\u0175\u0176\u0005n"+ - "\u0000\u0000\u0176\u0177\u0005t\u0000\u0000\u0177\u0178\u0005 \u0000\u0000"+ - "\u0178\u0179\u0005S\u0000\u0000\u0179\u017a\u0005l\u0000\u0000\u017a\u017b"+ - "\u0005o\u0000\u0000\u017b\u017c\u0005t\u0000\u0000\u017c\u017d\u0005:"+ - "\u0000\u0000\u017d$\u0001\u0000\u0000\u0000\u017e\u017f\u0005E\u0000\u0000"+ - "\u017f\u0180\u0005n\u0000\u0000\u0180\u0181\u0005h\u0000\u0000\u0181\u0182"+ - "\u0005a\u0000\u0000\u0182\u0183\u0005n\u0000\u0000\u0183\u0184\u0005c"+ - "\u0000\u0000\u0184\u0185\u0005e\u0000\u0000\u0185\u0186\u0005m\u0000\u0000"+ - "\u0186\u0187\u0005e\u0000\u0000\u0187\u0188\u0005n\u0000\u0000\u0188\u0189"+ - "\u0005t\u0000\u0000\u0189\u018a\u0005 \u0000\u0000\u018a\u018b\u0005B"+ - "\u0000\u0000\u018b\u018c\u0005o\u0000\u0000\u018c\u018d\u0005n\u0000\u0000"+ - "\u018d\u018e\u0005u\u0000\u0000\u018e\u018f\u0005s\u0000\u0000\u018f&"+ - "\u0001\u0000\u0000\u0000\u0190\u0191\u0005F\u0000\u0000\u0191\u0192\u0005"+ - "o\u0000\u0000\u0192\u0193\u0005r\u0000\u0000\u0193\u0194\u0005t\u0000"+ - "\u0000\u0194\u0195\u0005i\u0000\u0000\u0195\u0196\u0005f\u0000\u0000\u0196"+ - "\u0197\u0005i\u0000\u0000\u0197\u0198\u0005c\u0000\u0000\u0198\u0199\u0005"+ - "a\u0000\u0000\u0199\u019a\u0005t\u0000\u0000\u019a\u019b\u0005i\u0000"+ - "\u0000\u019b\u019c\u0005o\u0000\u0000\u019c\u019d\u0005n\u0000\u0000\u019d"+ - "(\u0001\u0000\u0000\u0000\u019e\u019f\u0003+\u0015\u0000\u019f\u01a0\u0005"+ - " \u0000\u0000\u01a0\u01a1\u0005S\u0000\u0000\u01a1\u01a2\u0005h\u0000"+ - "\u0000\u01a2\u01a3\u0005e\u0000\u0000\u01a3\u01a4\u0005l\u0000\u0000\u01a4"+ - "\u01a5\u0005t\u0000\u0000\u01a5\u01a6\u0005e\u0000\u0000\u01a6\u01a7\u0005"+ - "r\u0000\u0000\u01a7\u01a8\u0005i\u0000\u0000\u01a8\u01a9\u0005n\u0000"+ - "\u0000\u01a9\u01aa\u0005g\u0000\u0000\u01aa*\u0001\u0000\u0000\u0000\u01ab"+ - "\u01ac\u0005P\u0000\u0000\u01ac\u01ad\u0005h\u0000\u0000\u01ad\u01ae\u0005"+ - "y\u0000\u0000\u01ae\u01af\u0005s\u0000\u0000\u01af\u01b0\u0005i\u0000"+ - "\u0000\u01b0\u01b1\u0005c\u0000\u0000\u01b1\u01b2\u0005a\u0000\u0000\u01b2"+ - "\u01b3\u0005l\u0000\u0000\u01b3\u01b4\u0005 \u0000\u0000\u01b4\u01b5\u0005"+ - "a\u0000\u0000\u01b5\u01b6\u0005n\u0000\u0000\u01b6\u01b7\u0005d\u0000"+ - "\u0000\u01b7\u01b8\u0005 \u0000\u0000\u01b8\u01b9\u0005M\u0000\u0000\u01b9"+ - "\u01ba\u0005a\u0000\u0000\u01ba\u01bb\u0005g\u0000\u0000\u01bb\u01bc\u0005"+ - "i\u0000\u0000\u01bc\u01bd\u0005c\u0000\u0000\u01bd\u01be\u0005a\u0000"+ - "\u0000\u01be\u01cf\u0005l\u0000\u0000\u01bf\u01c0\u0005P\u0000\u0000\u01c0"+ - "\u01c1\u0005h\u0000\u0000\u01c1\u01c2\u0005y\u0000\u0000\u01c2\u01c3\u0005"+ - "s\u0000\u0000\u01c3\u01c4\u0005i\u0000\u0000\u01c4\u01c5\u0005c\u0000"+ - "\u0000\u01c5\u01c6\u0005a\u0000\u0000\u01c6\u01cf\u0005l\u0000\u0000\u01c7"+ - "\u01c8\u0005M\u0000\u0000\u01c8\u01c9\u0005a\u0000\u0000\u01c9\u01ca\u0005"+ - "g\u0000\u0000\u01ca\u01cb\u0005i\u0000\u0000\u01cb\u01cc\u0005c\u0000"+ - "\u0000\u01cc\u01cd\u0005a\u0000\u0000\u01cd\u01cf\u0005l\u0000\u0000\u01ce"+ - "\u01ab\u0001\u0000\u0000\u0000\u01ce\u01bf\u0001\u0000\u0000\u0000\u01ce"+ - "\u01c7\u0001\u0000\u0000\u0000\u01cf,\u0001\u0000\u0000\u0000\u01d0\u01d1"+ - "\u0005B\u0000\u0000\u01d1\u01d2\u0005l\u0000\u0000\u01d2\u01d3\u0005u"+ - "\u0000\u0000\u01d3\u01f8\u0005e\u0000\u0000\u01d4\u01d5\u0005O\u0000\u0000"+ - "\u01d5\u01d6\u0005r\u0000\u0000\u01d6\u01d7\u0005a\u0000\u0000\u01d7\u01d8"+ - "\u0005n\u0000\u0000\u01d8\u01d9\u0005g\u0000\u0000\u01d9\u01f8\u0005e"+ - "\u0000\u0000\u01da\u01db\u0005Y\u0000\u0000\u01db\u01dc\u0005e\u0000\u0000"+ - "\u01dc\u01dd\u0005l\u0000\u0000\u01dd\u01de\u0005l\u0000\u0000\u01de\u01df"+ - "\u0005o\u0000\u0000\u01df\u01f8\u0005w\u0000\u0000\u01e0\u01e1\u0005R"+ - "\u0000\u0000\u01e1\u01e2\u0005e\u0000\u0000\u01e2\u01f8\u0005d\u0000\u0000"+ - "\u01e3\u01e4\u0005G\u0000\u0000\u01e4\u01e5\u0005r\u0000\u0000\u01e5\u01e6"+ - "\u0005e\u0000\u0000\u01e6\u01e7\u0005e\u0000\u0000\u01e7\u01f8\u0005n"+ - "\u0000\u0000\u01e8\u01e9\u0005P\u0000\u0000\u01e9\u01ea\u0005u\u0000\u0000"+ - "\u01ea\u01eb\u0005r\u0000\u0000\u01eb\u01ec\u0005p\u0000\u0000\u01ec\u01ed"+ - "\u0005l\u0000\u0000\u01ed\u01f8\u0005e\u0000\u0000\u01ee\u01ef\u0005C"+ - "\u0000\u0000\u01ef\u01f0\u0005o\u0000\u0000\u01f0\u01f1\u0005l\u0000\u0000"+ - "\u01f1\u01f2\u0005o\u0000\u0000\u01f2\u01f3\u0005r\u0000\u0000\u01f3\u01f4"+ - "\u0005l\u0000\u0000\u01f4\u01f5\u0005e\u0000\u0000\u01f5\u01f6\u0005s"+ - "\u0000\u0000\u01f6\u01f8\u0005s\u0000\u0000\u01f7\u01d0\u0001\u0000\u0000"+ - "\u0000\u01f7\u01d4\u0001\u0000\u0000\u0000\u01f7\u01da\u0001\u0000\u0000"+ - "\u0000\u01f7\u01e0\u0001\u0000\u0000\u0000\u01f7\u01e3\u0001\u0000\u0000"+ - "\u0000\u01f7\u01e8\u0001\u0000\u0000\u0000\u01f7\u01ee\u0001\u0000\u0000"+ - "\u0000\u01f8.\u0001\u0000\u0000\u0000\u01f9\u01fc\u00033\u0019\u0000\u01fa"+ - "\u01fc\u00031\u0018\u0000\u01fb\u01f9\u0001\u0000\u0000\u0000\u01fb\u01fa"+ - "\u0001\u0000\u0000\u0000\u01fc0\u0001\u0000\u0000\u0000\u01fd\u01fe\u0005"+ - "t\u0000\u0000\u01fe\u01ff\u0005o\u0000\u0000\u01ff\u0200\u0005d\u0000"+ - "\u0000\u0200\u0201\u0005o\u0000\u0000\u0201\u0202\u0005:\u0000\u0000\u0202"+ - "\u0203\u0005M\u0000\u0000\u0203\u0204\u0005A\u0000\u0000\u0204\u0205\u0005"+ - "R\u0000\u0000\u0205\u0206\u0005K\u0000\u0000\u0206\u0207\u0005E\u0000"+ - "\u0000\u0207\u0208\u0005R\u0000\u0000\u0208\u0209\u0005 \u0000\u0000\u0209"+ - "2\u0001\u0000\u0000\u0000\u020a\u020b\u0005E\u0000\u0000\u020b\u020c\u0005"+ - "m\u0000\u0000\u020c\u020d\u0005p\u0000\u0000\u020d\u020e\u0005t\u0000"+ - "\u0000\u020e\u020f\u0005y\u0000\u0000\u020f4\u0001\u0000\u0000\u0000\u0210"+ - "\u0212\u0007\u0000\u0000\u0000\u0211\u0210\u0001\u0000\u0000\u0000\u0212"+ - "\u0213\u0001\u0000\u0000\u0000\u0213\u0211\u0001\u0000\u0000\u0000\u0213"+ - "\u0214\u0001\u0000\u0000\u0000\u0214\u0215\u0001\u0000\u0000\u0000\u0215"+ - "\u0216\u0006\u001a\u0001\u0000\u02166\u0001\u0000\u0000\u0000\u0217\u0219"+ - "\u00039\u001c\u0000\u0218\u0217\u0001\u0000\u0000\u0000\u0219\u021a\u0001"+ - "\u0000\u0000\u0000\u021a\u0218\u0001\u0000\u0000\u0000\u021a\u021b\u0001"+ - "\u0000\u0000\u0000\u021b\u021c\u0001\u0000\u0000\u0000\u021c\u021d\u0005"+ - "%\u0000\u0000\u021d8\u0001\u0000\u0000\u0000\u021e\u0220\u0003;\u001d"+ - "\u0000\u021f\u021e\u0001\u0000\u0000\u0000\u0220\u0221\u0001\u0000\u0000"+ - "\u0000\u0221\u021f\u0001\u0000\u0000\u0000\u0221\u0222\u0001\u0000\u0000"+ - "\u0000\u0222\u0223\u0001\u0000\u0000\u0000\u0223\u0224\u0003=\u001e\u0000"+ - "\u0224:\u0001\u0000\u0000\u0000\u0225\u0226\u0007\u0001\u0000\u0000\u0226"+ - "<\u0001\u0000\u0000\u0000\u0227\u0229\u0007\u0002\u0000\u0000\u0228\u0227"+ - "\u0001\u0000\u0000\u0000\u0229\u022a\u0001\u0000\u0000\u0000\u022a\u0228"+ - "\u0001\u0000\u0000\u0000\u022a\u022b\u0001\u0000\u0000\u0000\u022b>\u0001"+ - "\u0000\u0000\u0000\u022c\u0230\u0003A \u0000\u022d\u0230\u0003E\"\u0000"+ - "\u022e\u0230\u0003C!\u0000\u022f\u022c\u0001\u0000\u0000\u0000\u022f\u022d"+ - "\u0001\u0000\u0000\u0000\u022f\u022e\u0001\u0000\u0000\u0000\u0230@\u0001"+ - "\u0000\u0000\u0000\u0231\u0233\u0003C!\u0000\u0232\u0231\u0001\u0000\u0000"+ - "\u0000\u0233\u0234\u0001\u0000\u0000\u0000\u0234\u0232\u0001\u0000\u0000"+ - "\u0000\u0234\u0235\u0001\u0000\u0000\u0000\u0235\u0237\u0001\u0000\u0000"+ - "\u0000\u0236\u0238\u0005 \u0000\u0000\u0237\u0236\u0001\u0000\u0000\u0000"+ - "\u0238\u0239\u0001\u0000\u0000\u0000\u0239\u0237\u0001\u0000\u0000\u0000"+ - "\u0239\u023a\u0001\u0000\u0000\u0000\u023a\u023b\u0001\u0000\u0000\u0000"+ - "\u023b\u023c\u0003E\"\u0000\u023cB\u0001\u0000\u0000\u0000\u023d\u023f"+ - "\u0003E\"\u0000\u023e\u023d\u0001\u0000\u0000\u0000\u023f\u0240\u0001"+ - "\u0000\u0000\u0000\u0240\u023e\u0001\u0000\u0000\u0000\u0240\u0241\u0001"+ - "\u0000\u0000\u0000\u0241\u0243\u0001\u0000\u0000\u0000\u0242\u0244\u0005"+ - " \u0000\u0000\u0243\u0242\u0001\u0000\u0000\u0000\u0244\u0245\u0001\u0000"+ - "\u0000\u0000\u0245\u0243\u0001\u0000\u0000\u0000\u0245\u0246\u0001\u0000"+ - "\u0000\u0000\u0246\u0247\u0001\u0000\u0000\u0000\u0247\u0248\u0003E\""+ - "\u0000\u0248D\u0001\u0000\u0000\u0000\u0249\u024b\u0007\u0003\u0000\u0000"+ - "\u024a\u0249\u0001\u0000\u0000\u0000\u024b\u024c\u0001\u0000\u0000\u0000"+ - "\u024c\u024a\u0001\u0000\u0000\u0000\u024c\u024d\u0001\u0000\u0000\u0000"+ - "\u024d\u024f\u0001\u0000\u0000\u0000\u024e\u0250\u0007\u0004\u0000\u0000"+ - "\u024f\u024e\u0001\u0000\u0000\u0000\u0250\u0251\u0001\u0000\u0000\u0000"+ - "\u0251\u024f\u0001\u0000\u0000\u0000\u0251\u0252\u0001\u0000\u0000\u0000"+ - "\u0252F\u0001\u0000\u0000\u0000\u001b\u0000HLV\u00a2\u00a6\u00bd\u00cb"+ - "\u00e2\u0111\u0126\u015e\u0168\u01ce\u01f7\u01fb\u0213\u021a\u0221\u022a"+ - "\u022f\u0234\u0239\u0240\u0245\u024c\u0251\u0002\u0006\u0000\u0000\u0000"+ - "\u0001\u0000"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.tokens b/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.tokens deleted file mode 100644 index 6923c500..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.tokens +++ /dev/null @@ -1,28 +0,0 @@ -LineBreak=1 -ENCHANTMENT=2 -MYTHIC_BOOST=3 -CORE_BODY_SLOT=4 -HAND_SLOT=5 -AUXILLARY_BODY_SLOT=6 -DAMAGE_TYPE=7 -AUGMENTSLOT=8 -LBL_AUGMENT_SLOT=9 -ENHANCEMENT_BONUS=10 -FORT=11 -SHELTERING=12 -SHELTERTYPE=13 -AUGMENTCOLOR=14 -AUGMENTOPTION=15 -FilledAugmentSlot=16 -EmptyAugmentSlot=17 -WS=18 -PCT=19 -NUM=20 -SIGN=21 -UNKNOWN_ID=22 -'Quiver'=6 -'Augment Slot:'=9 -'Enhancement Bonus'=10 -'Fortification'=11 -'todo:MARKER '=16 -'Empty'=17 diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.interp b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.interp deleted file mode 100644 index 02ac6422..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.interp +++ /dev/null @@ -1,74 +0,0 @@ -token literal names: -null -'M' -'CD' -'D' -'CM' -'C' -'CC' -'CCC' -'XL' -'L' -'XC' -'X' -'XX' -'XXX' -'IV' -'V' -'IX' -'I' -'II' -'III' - -token symbolic names: -null -M -CD -D -CM -C -CC -CCC -XL -L -XC -X -XX -XXX -IV -V -IX -I -II -III - -rule names: -M -CD -D -CM -C -CC -CCC -XL -L -XC -X -XX -XXX -IV -V -IX -I -II -III - -channel names: -DEFAULT_TOKEN_CHANNEL -HIDDEN - -mode names: -DEFAULT_MODE - -atn: -[4, 0, 19, 92, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 0, 0, 19, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 1, 0, 0, 91, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 1, 39, 1, 0, 0, 0, 3, 41, 1, 0, 0, 0, 5, 44, 1, 0, 0, 0, 7, 46, 1, 0, 0, 0, 9, 49, 1, 0, 0, 0, 11, 51, 1, 0, 0, 0, 13, 54, 1, 0, 0, 0, 15, 58, 1, 0, 0, 0, 17, 61, 1, 0, 0, 0, 19, 63, 1, 0, 0, 0, 21, 66, 1, 0, 0, 0, 23, 68, 1, 0, 0, 0, 25, 71, 1, 0, 0, 0, 27, 75, 1, 0, 0, 0, 29, 78, 1, 0, 0, 0, 31, 80, 1, 0, 0, 0, 33, 83, 1, 0, 0, 0, 35, 85, 1, 0, 0, 0, 37, 88, 1, 0, 0, 0, 39, 40, 5, 77, 0, 0, 40, 2, 1, 0, 0, 0, 41, 42, 5, 67, 0, 0, 42, 43, 5, 68, 0, 0, 43, 4, 1, 0, 0, 0, 44, 45, 5, 68, 0, 0, 45, 6, 1, 0, 0, 0, 46, 47, 5, 67, 0, 0, 47, 48, 5, 77, 0, 0, 48, 8, 1, 0, 0, 0, 49, 50, 5, 67, 0, 0, 50, 10, 1, 0, 0, 0, 51, 52, 5, 67, 0, 0, 52, 53, 5, 67, 0, 0, 53, 12, 1, 0, 0, 0, 54, 55, 5, 67, 0, 0, 55, 56, 5, 67, 0, 0, 56, 57, 5, 67, 0, 0, 57, 14, 1, 0, 0, 0, 58, 59, 5, 88, 0, 0, 59, 60, 5, 76, 0, 0, 60, 16, 1, 0, 0, 0, 61, 62, 5, 76, 0, 0, 62, 18, 1, 0, 0, 0, 63, 64, 5, 88, 0, 0, 64, 65, 5, 67, 0, 0, 65, 20, 1, 0, 0, 0, 66, 67, 5, 88, 0, 0, 67, 22, 1, 0, 0, 0, 68, 69, 5, 88, 0, 0, 69, 70, 5, 88, 0, 0, 70, 24, 1, 0, 0, 0, 71, 72, 5, 88, 0, 0, 72, 73, 5, 88, 0, 0, 73, 74, 5, 88, 0, 0, 74, 26, 1, 0, 0, 0, 75, 76, 5, 73, 0, 0, 76, 77, 5, 86, 0, 0, 77, 28, 1, 0, 0, 0, 78, 79, 5, 86, 0, 0, 79, 30, 1, 0, 0, 0, 80, 81, 5, 73, 0, 0, 81, 82, 5, 88, 0, 0, 82, 32, 1, 0, 0, 0, 83, 84, 5, 73, 0, 0, 84, 34, 1, 0, 0, 0, 85, 86, 5, 73, 0, 0, 86, 87, 5, 73, 0, 0, 87, 36, 1, 0, 0, 0, 88, 89, 5, 73, 0, 0, 89, 90, 5, 73, 0, 0, 90, 91, 5, 73, 0, 0, 91, 38, 1, 0, 0, 0, 1, 0, 0] \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.java b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.java deleted file mode 100644 index b3d2a985..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.java +++ /dev/null @@ -1,171 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/RomanNumeralsLexer.g4 by ANTLR 4.13.1 -import org.antlr.v4.runtime.Lexer; -import org.antlr.v4.runtime.CharStream; -import org.antlr.v4.runtime.Token; -import org.antlr.v4.runtime.TokenStream; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.misc.*; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"}) -public class RomanNumeralsLexer extends Lexer { - static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - M=1, CD=2, D=3, CM=4, C=5, CC=6, CCC=7, XL=8, L=9, XC=10, X=11, XX=12, - XXX=13, IV=14, V=15, IX=16, I=17, II=18, III=19; - public static String[] channelNames = { - "DEFAULT_TOKEN_CHANNEL", "HIDDEN" - }; - - public static String[] modeNames = { - "DEFAULT_MODE" - }; - - private static String[] makeRuleNames() { - return new String[] { - "M", "CD", "D", "CM", "C", "CC", "CCC", "XL", "L", "XC", "X", "XX", "XXX", - "IV", "V", "IX", "I", "II", "III" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - null, "'M'", "'CD'", "'D'", "'CM'", "'C'", "'CC'", "'CCC'", "'XL'", "'L'", - "'XC'", "'X'", "'XX'", "'XXX'", "'IV'", "'V'", "'IX'", "'I'", "'II'", - "'III'" - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "M", "CD", "D", "CM", "C", "CC", "CCC", "XL", "L", "XC", "X", "XX", - "XXX", "IV", "V", "IX", "I", "II", "III" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - - public RomanNumeralsLexer(CharStream input) { - super(input); - _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - @Override - public String getGrammarFileName() { return "RomanNumeralsLexer.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public String[] getChannelNames() { return channelNames; } - - @Override - public String[] getModeNames() { return modeNames; } - - @Override - public ATN getATN() { return _ATN; } - - public static final String _serializedATN = - "\u0004\u0000\u0013\\\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+ - "\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+ - "\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+ - "\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+ - "\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002"+ - "\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002"+ - "\u0012\u0007\u0012\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001"+ - "\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001"+ - "\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001"+ - "\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\u000b\u0001\u000b"+ - "\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001"+ - "\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001"+ - "\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001"+ - "\u0012\u0001\u0012\u0000\u0000\u0013\u0001\u0001\u0003\u0002\u0005\u0003"+ - "\u0007\u0004\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015"+ - "\u000b\u0017\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011#\u0012"+ - "%\u0013\u0001\u0000\u0000[\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0003"+ - "\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000\u0000\u0000\u0000\u0007"+ - "\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000\u0000\u000b\u0001"+ - "\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000\u000f\u0001\u0000"+ - "\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000\u0000\u0013\u0001\u0000"+ - "\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000\u0000\u0017\u0001\u0000"+ - "\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000\u0000\u001b\u0001\u0000"+ - "\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000\u0000\u001f\u0001\u0000"+ - "\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001\u0000\u0000\u0000"+ - "\u0000%\u0001\u0000\u0000\u0000\u0001\'\u0001\u0000\u0000\u0000\u0003"+ - ")\u0001\u0000\u0000\u0000\u0005,\u0001\u0000\u0000\u0000\u0007.\u0001"+ - "\u0000\u0000\u0000\t1\u0001\u0000\u0000\u0000\u000b3\u0001\u0000\u0000"+ - "\u0000\r6\u0001\u0000\u0000\u0000\u000f:\u0001\u0000\u0000\u0000\u0011"+ - "=\u0001\u0000\u0000\u0000\u0013?\u0001\u0000\u0000\u0000\u0015B\u0001"+ - "\u0000\u0000\u0000\u0017D\u0001\u0000\u0000\u0000\u0019G\u0001\u0000\u0000"+ - "\u0000\u001bK\u0001\u0000\u0000\u0000\u001dN\u0001\u0000\u0000\u0000\u001f"+ - "P\u0001\u0000\u0000\u0000!S\u0001\u0000\u0000\u0000#U\u0001\u0000\u0000"+ - "\u0000%X\u0001\u0000\u0000\u0000\'(\u0005M\u0000\u0000(\u0002\u0001\u0000"+ - "\u0000\u0000)*\u0005C\u0000\u0000*+\u0005D\u0000\u0000+\u0004\u0001\u0000"+ - "\u0000\u0000,-\u0005D\u0000\u0000-\u0006\u0001\u0000\u0000\u0000./\u0005"+ - "C\u0000\u0000/0\u0005M\u0000\u00000\b\u0001\u0000\u0000\u000012\u0005"+ - "C\u0000\u00002\n\u0001\u0000\u0000\u000034\u0005C\u0000\u000045\u0005"+ - "C\u0000\u00005\f\u0001\u0000\u0000\u000067\u0005C\u0000\u000078\u0005"+ - "C\u0000\u000089\u0005C\u0000\u00009\u000e\u0001\u0000\u0000\u0000:;\u0005"+ - "X\u0000\u0000;<\u0005L\u0000\u0000<\u0010\u0001\u0000\u0000\u0000=>\u0005"+ - "L\u0000\u0000>\u0012\u0001\u0000\u0000\u0000?@\u0005X\u0000\u0000@A\u0005"+ - "C\u0000\u0000A\u0014\u0001\u0000\u0000\u0000BC\u0005X\u0000\u0000C\u0016"+ - "\u0001\u0000\u0000\u0000DE\u0005X\u0000\u0000EF\u0005X\u0000\u0000F\u0018"+ - "\u0001\u0000\u0000\u0000GH\u0005X\u0000\u0000HI\u0005X\u0000\u0000IJ\u0005"+ - "X\u0000\u0000J\u001a\u0001\u0000\u0000\u0000KL\u0005I\u0000\u0000LM\u0005"+ - "V\u0000\u0000M\u001c\u0001\u0000\u0000\u0000NO\u0005V\u0000\u0000O\u001e"+ - "\u0001\u0000\u0000\u0000PQ\u0005I\u0000\u0000QR\u0005X\u0000\u0000R \u0001"+ - "\u0000\u0000\u0000ST\u0005I\u0000\u0000T\"\u0001\u0000\u0000\u0000UV\u0005"+ - "I\u0000\u0000VW\u0005I\u0000\u0000W$\u0001\u0000\u0000\u0000XY\u0005I"+ - "\u0000\u0000YZ\u0005I\u0000\u0000Z[\u0005I\u0000\u0000[&\u0001\u0000\u0000"+ - "\u0000\u0001\u0000\u0000"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.tokens b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.tokens deleted file mode 100644 index 5b16f225..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.tokens +++ /dev/null @@ -1,38 +0,0 @@ -M=1 -CD=2 -D=3 -CM=4 -C=5 -CC=6 -CCC=7 -XL=8 -L=9 -XC=10 -X=11 -XX=12 -XXX=13 -IV=14 -V=15 -IX=16 -I=17 -II=18 -III=19 -'M'=1 -'CD'=2 -'D'=3 -'CM'=4 -'C'=5 -'CC'=6 -'CCC'=7 -'XL'=8 -'L'=9 -'XC'=10 -'X'=11 -'XX'=12 -'XXX'=13 -'IV'=14 -'V'=15 -'IX'=16 -'I'=17 -'II'=18 -'III'=19 diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.interp b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.interp deleted file mode 100644 index efd747cb..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.interp +++ /dev/null @@ -1,57 +0,0 @@ -token literal names: -null -null -null -null -null -null -null -null -null -null -null -null -null -null -null -null -null -null -null - -token symbolic names: -null -M -CM -CD -D -C -CC -CCC -XC -XL -L -X -XX -XXX -IV -V -IX -I -III - -rule names: -numeral -thous_part -hundreds -hun_part -hun_rep -tens -tens_part -tens_rep -ones -ones_rep - - -atn: -[4, 1, 18, 86, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 26, 8, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 33, 8, 1, 10, 1, 12, 1, 36, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 43, 8, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 51, 8, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 60, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 68, 8, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 78, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 84, 8, 9, 1, 9, 0, 1, 2, 10, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 0, 2, 1, 0, 5, 7, 1, 0, 11, 13, 96, 0, 25, 1, 0, 0, 0, 2, 27, 1, 0, 0, 0, 4, 42, 1, 0, 0, 0, 6, 50, 1, 0, 0, 0, 8, 52, 1, 0, 0, 0, 10, 59, 1, 0, 0, 0, 12, 67, 1, 0, 0, 0, 14, 69, 1, 0, 0, 0, 16, 77, 1, 0, 0, 0, 18, 83, 1, 0, 0, 0, 20, 21, 3, 2, 1, 0, 21, 22, 3, 4, 2, 0, 22, 26, 1, 0, 0, 0, 23, 26, 3, 2, 1, 0, 24, 26, 3, 4, 2, 0, 25, 20, 1, 0, 0, 0, 25, 23, 1, 0, 0, 0, 25, 24, 1, 0, 0, 0, 26, 1, 1, 0, 0, 0, 27, 28, 6, 1, -1, 0, 28, 29, 5, 1, 0, 0, 29, 34, 1, 0, 0, 0, 30, 31, 10, 2, 0, 0, 31, 33, 5, 1, 0, 0, 32, 30, 1, 0, 0, 0, 33, 36, 1, 0, 0, 0, 34, 32, 1, 0, 0, 0, 34, 35, 1, 0, 0, 0, 35, 3, 1, 0, 0, 0, 36, 34, 1, 0, 0, 0, 37, 38, 3, 6, 3, 0, 38, 39, 3, 10, 5, 0, 39, 43, 1, 0, 0, 0, 40, 43, 3, 6, 3, 0, 41, 43, 3, 10, 5, 0, 42, 37, 1, 0, 0, 0, 42, 40, 1, 0, 0, 0, 42, 41, 1, 0, 0, 0, 43, 5, 1, 0, 0, 0, 44, 51, 5, 2, 0, 0, 45, 51, 5, 3, 0, 0, 46, 47, 5, 4, 0, 0, 47, 51, 3, 8, 4, 0, 48, 51, 5, 4, 0, 0, 49, 51, 3, 8, 4, 0, 50, 44, 1, 0, 0, 0, 50, 45, 1, 0, 0, 0, 50, 46, 1, 0, 0, 0, 50, 48, 1, 0, 0, 0, 50, 49, 1, 0, 0, 0, 51, 7, 1, 0, 0, 0, 52, 53, 7, 0, 0, 0, 53, 9, 1, 0, 0, 0, 54, 55, 3, 12, 6, 0, 55, 56, 3, 16, 8, 0, 56, 60, 1, 0, 0, 0, 57, 60, 3, 12, 6, 0, 58, 60, 3, 16, 8, 0, 59, 54, 1, 0, 0, 0, 59, 57, 1, 0, 0, 0, 59, 58, 1, 0, 0, 0, 60, 11, 1, 0, 0, 0, 61, 68, 5, 8, 0, 0, 62, 68, 5, 9, 0, 0, 63, 64, 5, 10, 0, 0, 64, 68, 3, 14, 7, 0, 65, 68, 5, 10, 0, 0, 66, 68, 3, 14, 7, 0, 67, 61, 1, 0, 0, 0, 67, 62, 1, 0, 0, 0, 67, 63, 1, 0, 0, 0, 67, 65, 1, 0, 0, 0, 67, 66, 1, 0, 0, 0, 68, 13, 1, 0, 0, 0, 69, 70, 7, 1, 0, 0, 70, 15, 1, 0, 0, 0, 71, 78, 3, 18, 9, 0, 72, 78, 5, 14, 0, 0, 73, 74, 5, 15, 0, 0, 74, 78, 3, 18, 9, 0, 75, 78, 5, 15, 0, 0, 76, 78, 5, 16, 0, 0, 77, 71, 1, 0, 0, 0, 77, 72, 1, 0, 0, 0, 77, 73, 1, 0, 0, 0, 77, 75, 1, 0, 0, 0, 77, 76, 1, 0, 0, 0, 78, 17, 1, 0, 0, 0, 79, 84, 5, 17, 0, 0, 80, 81, 5, 17, 0, 0, 81, 84, 5, 17, 0, 0, 82, 84, 5, 18, 0, 0, 83, 79, 1, 0, 0, 0, 83, 80, 1, 0, 0, 0, 83, 82, 1, 0, 0, 0, 84, 19, 1, 0, 0, 0, 8, 25, 34, 42, 50, 59, 67, 77, 83] \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.java b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.java deleted file mode 100644 index 8074d644..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.java +++ /dev/null @@ -1,891 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/RomanNumeralsParser.g4 by ANTLR 4.13.1 -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.misc.*; -import org.antlr.v4.runtime.tree.*; -import java.util.List; -import java.util.Iterator; -import java.util.ArrayList; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"}) -public class RomanNumeralsParser extends Parser { - static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - M=1, CM=2, CD=3, D=4, C=5, CC=6, CCC=7, XC=8, XL=9, L=10, X=11, XX=12, - XXX=13, IV=14, V=15, IX=16, I=17, III=18; - public static final int - RULE_numeral = 0, RULE_thous_part = 1, RULE_hundreds = 2, RULE_hun_part = 3, - RULE_hun_rep = 4, RULE_tens = 5, RULE_tens_part = 6, RULE_tens_rep = 7, - RULE_ones = 8, RULE_ones_rep = 9; - private static String[] makeRuleNames() { - return new String[] { - "numeral", "thous_part", "hundreds", "hun_part", "hun_rep", "tens", "tens_part", - "tens_rep", "ones", "ones_rep" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "M", "CM", "CD", "D", "C", "CC", "CCC", "XC", "XL", "L", "X", "XX", - "XXX", "IV", "V", "IX", "I", "III" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - @Override - public String getGrammarFileName() { return "RomanNumeralsParser.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public ATN getATN() { return _ATN; } - - public RomanNumeralsParser(TokenStream input) { - super(input); - _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - @SuppressWarnings("CheckReturnValue") - public static class NumeralContext extends ParserRuleContext { - public Thous_partContext thous_part() { - return getRuleContext(Thous_partContext.class,0); - } - public HundredsContext hundreds() { - return getRuleContext(HundredsContext.class,0); - } - public NumeralContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_numeral; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterNumeral(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitNumeral(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitNumeral(this); - else return visitor.visitChildren(this); - } - } - - public final NumeralContext numeral() throws RecognitionException { - NumeralContext _localctx = new NumeralContext(_ctx, getState()); - enterRule(_localctx, 0, RULE_numeral); - try { - setState(25); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,0,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(20); - thous_part(0); - setState(21); - hundreds(); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(23); - thous_part(0); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(24); - hundreds(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class Thous_partContext extends ParserRuleContext { - public TerminalNode M() { return getToken(RomanNumeralsParser.M, 0); } - public Thous_partContext thous_part() { - return getRuleContext(Thous_partContext.class,0); - } - public Thous_partContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_thous_part; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterThous_part(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitThous_part(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitThous_part(this); - else return visitor.visitChildren(this); - } - } - - public final Thous_partContext thous_part() throws RecognitionException { - return thous_part(0); - } - - private Thous_partContext thous_part(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - Thous_partContext _localctx = new Thous_partContext(_ctx, _parentState); - Thous_partContext _prevctx = _localctx; - int _startState = 2; - enterRecursionRule(_localctx, 2, RULE_thous_part, _p); - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - { - setState(28); - match(M); - } - _ctx.stop = _input.LT(-1); - setState(34); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,1,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - { - _localctx = new Thous_partContext(_parentctx, _parentState); - pushNewRecursionContext(_localctx, _startState, RULE_thous_part); - setState(30); - if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(31); - match(M); - } - } - } - setState(36); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,1,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class HundredsContext extends ParserRuleContext { - public Hun_partContext hun_part() { - return getRuleContext(Hun_partContext.class,0); - } - public TensContext tens() { - return getRuleContext(TensContext.class,0); - } - public HundredsContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_hundreds; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterHundreds(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitHundreds(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitHundreds(this); - else return visitor.visitChildren(this); - } - } - - public final HundredsContext hundreds() throws RecognitionException { - HundredsContext _localctx = new HundredsContext(_ctx, getState()); - enterRule(_localctx, 4, RULE_hundreds); - try { - setState(42); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(37); - hun_part(); - setState(38); - tens(); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(40); - hun_part(); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(41); - tens(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class Hun_partContext extends ParserRuleContext { - public TerminalNode CM() { return getToken(RomanNumeralsParser.CM, 0); } - public TerminalNode CD() { return getToken(RomanNumeralsParser.CD, 0); } - public TerminalNode D() { return getToken(RomanNumeralsParser.D, 0); } - public Hun_repContext hun_rep() { - return getRuleContext(Hun_repContext.class,0); - } - public Hun_partContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_hun_part; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterHun_part(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitHun_part(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitHun_part(this); - else return visitor.visitChildren(this); - } - } - - public final Hun_partContext hun_part() throws RecognitionException { - Hun_partContext _localctx = new Hun_partContext(_ctx, getState()); - enterRule(_localctx, 6, RULE_hun_part); - try { - setState(50); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(44); - match(CM); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(45); - match(CD); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(46); - match(D); - setState(47); - hun_rep(); - } - break; - case 4: - enterOuterAlt(_localctx, 4); - { - setState(48); - match(D); - } - break; - case 5: - enterOuterAlt(_localctx, 5); - { - setState(49); - hun_rep(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class Hun_repContext extends ParserRuleContext { - public TerminalNode C() { return getToken(RomanNumeralsParser.C, 0); } - public TerminalNode CC() { return getToken(RomanNumeralsParser.CC, 0); } - public TerminalNode CCC() { return getToken(RomanNumeralsParser.CCC, 0); } - public Hun_repContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_hun_rep; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterHun_rep(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitHun_rep(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitHun_rep(this); - else return visitor.visitChildren(this); - } - } - - public final Hun_repContext hun_rep() throws RecognitionException { - Hun_repContext _localctx = new Hun_repContext(_ctx, getState()); - enterRule(_localctx, 8, RULE_hun_rep); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(52); - _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 224L) != 0)) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class TensContext extends ParserRuleContext { - public Tens_partContext tens_part() { - return getRuleContext(Tens_partContext.class,0); - } - public OnesContext ones() { - return getRuleContext(OnesContext.class,0); - } - public TensContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_tens; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterTens(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitTens(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitTens(this); - else return visitor.visitChildren(this); - } - } - - public final TensContext tens() throws RecognitionException { - TensContext _localctx = new TensContext(_ctx, getState()); - enterRule(_localctx, 10, RULE_tens); - try { - setState(59); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(54); - tens_part(); - setState(55); - ones(); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(57); - tens_part(); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(58); - ones(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class Tens_partContext extends ParserRuleContext { - public TerminalNode XC() { return getToken(RomanNumeralsParser.XC, 0); } - public TerminalNode XL() { return getToken(RomanNumeralsParser.XL, 0); } - public TerminalNode L() { return getToken(RomanNumeralsParser.L, 0); } - public Tens_repContext tens_rep() { - return getRuleContext(Tens_repContext.class,0); - } - public Tens_partContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_tens_part; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterTens_part(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitTens_part(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitTens_part(this); - else return visitor.visitChildren(this); - } - } - - public final Tens_partContext tens_part() throws RecognitionException { - Tens_partContext _localctx = new Tens_partContext(_ctx, getState()); - enterRule(_localctx, 12, RULE_tens_part); - try { - setState(67); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(61); - match(XC); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(62); - match(XL); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(63); - match(L); - setState(64); - tens_rep(); - } - break; - case 4: - enterOuterAlt(_localctx, 4); - { - setState(65); - match(L); - } - break; - case 5: - enterOuterAlt(_localctx, 5); - { - setState(66); - tens_rep(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class Tens_repContext extends ParserRuleContext { - public TerminalNode X() { return getToken(RomanNumeralsParser.X, 0); } - public TerminalNode XX() { return getToken(RomanNumeralsParser.XX, 0); } - public TerminalNode XXX() { return getToken(RomanNumeralsParser.XXX, 0); } - public Tens_repContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_tens_rep; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterTens_rep(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitTens_rep(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitTens_rep(this); - else return visitor.visitChildren(this); - } - } - - public final Tens_repContext tens_rep() throws RecognitionException { - Tens_repContext _localctx = new Tens_repContext(_ctx, getState()); - enterRule(_localctx, 14, RULE_tens_rep); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(69); - _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 14336L) != 0)) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class OnesContext extends ParserRuleContext { - public Ones_repContext ones_rep() { - return getRuleContext(Ones_repContext.class,0); - } - public TerminalNode IV() { return getToken(RomanNumeralsParser.IV, 0); } - public TerminalNode V() { return getToken(RomanNumeralsParser.V, 0); } - public TerminalNode IX() { return getToken(RomanNumeralsParser.IX, 0); } - public OnesContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_ones; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterOnes(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitOnes(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitOnes(this); - else return visitor.visitChildren(this); - } - } - - public final OnesContext ones() throws RecognitionException { - OnesContext _localctx = new OnesContext(_ctx, getState()); - enterRule(_localctx, 16, RULE_ones); - try { - setState(77); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(71); - ones_rep(); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(72); - match(IV); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(73); - match(V); - setState(74); - ones_rep(); - } - break; - case 4: - enterOuterAlt(_localctx, 4); - { - setState(75); - match(V); - } - break; - case 5: - enterOuterAlt(_localctx, 5); - { - setState(76); - match(IX); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class Ones_repContext extends ParserRuleContext { - public List I() { return getTokens(RomanNumeralsParser.I); } - public TerminalNode I(int i) { - return getToken(RomanNumeralsParser.I, i); - } - public TerminalNode III() { return getToken(RomanNumeralsParser.III, 0); } - public Ones_repContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_ones_rep; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).enterOnes_rep(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof RomanNumeralsParserListener ) ((RomanNumeralsParserListener)listener).exitOnes_rep(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof RomanNumeralsParserVisitor ) return ((RomanNumeralsParserVisitor)visitor).visitOnes_rep(this); - else return visitor.visitChildren(this); - } - } - - public final Ones_repContext ones_rep() throws RecognitionException { - Ones_repContext _localctx = new Ones_repContext(_ctx, getState()); - enterRule(_localctx, 18, RULE_ones_rep); - try { - setState(83); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(79); - match(I); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(80); - match(I); - setState(81); - match(I); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(82); - match(III); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { - switch (ruleIndex) { - case 1: - return thous_part_sempred((Thous_partContext)_localctx, predIndex); - } - return true; - } - private boolean thous_part_sempred(Thous_partContext _localctx, int predIndex) { - switch (predIndex) { - case 0: - return precpred(_ctx, 2); - } - return true; - } - - public static final String _serializedATN = - "\u0004\u0001\u0012V\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+ - "\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+ - "\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007\u0002"+ - "\b\u0007\b\u0002\t\u0007\t\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+ - "\u0001\u0000\u0003\u0000\u001a\b\u0000\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0005\u0001!\b\u0001\n\u0001\f\u0001$\t\u0001"+ - "\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0003\u0002"+ - "+\b\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0003\u00033\b\u0003\u0001\u0004\u0001\u0004\u0001\u0005"+ - "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005<\b\u0005"+ - "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ - "\u0003\u0006D\b\u0006\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b"+ - "\u0001\b\u0001\b\u0001\b\u0003\bN\b\b\u0001\t\u0001\t\u0001\t\u0001\t"+ - "\u0003\tT\b\t\u0001\t\u0000\u0001\u0002\n\u0000\u0002\u0004\u0006\b\n"+ - "\f\u000e\u0010\u0012\u0000\u0002\u0001\u0000\u0005\u0007\u0001\u0000\u000b"+ - "\r`\u0000\u0019\u0001\u0000\u0000\u0000\u0002\u001b\u0001\u0000\u0000"+ - "\u0000\u0004*\u0001\u0000\u0000\u0000\u00062\u0001\u0000\u0000\u0000\b"+ - "4\u0001\u0000\u0000\u0000\n;\u0001\u0000\u0000\u0000\fC\u0001\u0000\u0000"+ - "\u0000\u000eE\u0001\u0000\u0000\u0000\u0010M\u0001\u0000\u0000\u0000\u0012"+ - "S\u0001\u0000\u0000\u0000\u0014\u0015\u0003\u0002\u0001\u0000\u0015\u0016"+ - "\u0003\u0004\u0002\u0000\u0016\u001a\u0001\u0000\u0000\u0000\u0017\u001a"+ - "\u0003\u0002\u0001\u0000\u0018\u001a\u0003\u0004\u0002\u0000\u0019\u0014"+ - "\u0001\u0000\u0000\u0000\u0019\u0017\u0001\u0000\u0000\u0000\u0019\u0018"+ - "\u0001\u0000\u0000\u0000\u001a\u0001\u0001\u0000\u0000\u0000\u001b\u001c"+ - "\u0006\u0001\uffff\uffff\u0000\u001c\u001d\u0005\u0001\u0000\u0000\u001d"+ - "\"\u0001\u0000\u0000\u0000\u001e\u001f\n\u0002\u0000\u0000\u001f!\u0005"+ - "\u0001\u0000\u0000 \u001e\u0001\u0000\u0000\u0000!$\u0001\u0000\u0000"+ - "\u0000\" \u0001\u0000\u0000\u0000\"#\u0001\u0000\u0000\u0000#\u0003\u0001"+ - "\u0000\u0000\u0000$\"\u0001\u0000\u0000\u0000%&\u0003\u0006\u0003\u0000"+ - "&\'\u0003\n\u0005\u0000\'+\u0001\u0000\u0000\u0000(+\u0003\u0006\u0003"+ - "\u0000)+\u0003\n\u0005\u0000*%\u0001\u0000\u0000\u0000*(\u0001\u0000\u0000"+ - "\u0000*)\u0001\u0000\u0000\u0000+\u0005\u0001\u0000\u0000\u0000,3\u0005"+ - "\u0002\u0000\u0000-3\u0005\u0003\u0000\u0000./\u0005\u0004\u0000\u0000"+ - "/3\u0003\b\u0004\u000003\u0005\u0004\u0000\u000013\u0003\b\u0004\u0000"+ - "2,\u0001\u0000\u0000\u00002-\u0001\u0000\u0000\u00002.\u0001\u0000\u0000"+ - "\u000020\u0001\u0000\u0000\u000021\u0001\u0000\u0000\u00003\u0007\u0001"+ - "\u0000\u0000\u000045\u0007\u0000\u0000\u00005\t\u0001\u0000\u0000\u0000"+ - "67\u0003\f\u0006\u000078\u0003\u0010\b\u00008<\u0001\u0000\u0000\u0000"+ - "9<\u0003\f\u0006\u0000:<\u0003\u0010\b\u0000;6\u0001\u0000\u0000\u0000"+ - ";9\u0001\u0000\u0000\u0000;:\u0001\u0000\u0000\u0000<\u000b\u0001\u0000"+ - "\u0000\u0000=D\u0005\b\u0000\u0000>D\u0005\t\u0000\u0000?@\u0005\n\u0000"+ - "\u0000@D\u0003\u000e\u0007\u0000AD\u0005\n\u0000\u0000BD\u0003\u000e\u0007"+ - "\u0000C=\u0001\u0000\u0000\u0000C>\u0001\u0000\u0000\u0000C?\u0001\u0000"+ - "\u0000\u0000CA\u0001\u0000\u0000\u0000CB\u0001\u0000\u0000\u0000D\r\u0001"+ - "\u0000\u0000\u0000EF\u0007\u0001\u0000\u0000F\u000f\u0001\u0000\u0000"+ - "\u0000GN\u0003\u0012\t\u0000HN\u0005\u000e\u0000\u0000IJ\u0005\u000f\u0000"+ - "\u0000JN\u0003\u0012\t\u0000KN\u0005\u000f\u0000\u0000LN\u0005\u0010\u0000"+ - "\u0000MG\u0001\u0000\u0000\u0000MH\u0001\u0000\u0000\u0000MI\u0001\u0000"+ - "\u0000\u0000MK\u0001\u0000\u0000\u0000ML\u0001\u0000\u0000\u0000N\u0011"+ - "\u0001\u0000\u0000\u0000OT\u0005\u0011\u0000\u0000PQ\u0005\u0011\u0000"+ - "\u0000QT\u0005\u0011\u0000\u0000RT\u0005\u0012\u0000\u0000SO\u0001\u0000"+ - "\u0000\u0000SP\u0001\u0000\u0000\u0000SR\u0001\u0000\u0000\u0000T\u0013"+ - "\u0001\u0000\u0000\u0000\b\u0019\"*2;CMS"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.tokens b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.tokens deleted file mode 100644 index ec02b493..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParser.tokens +++ /dev/null @@ -1,18 +0,0 @@ -M=1 -CM=2 -CD=3 -D=4 -C=5 -CC=6 -CCC=7 -XC=8 -XL=9 -L=10 -X=11 -XX=12 -XXX=13 -IV=14 -V=15 -IX=16 -I=17 -III=18 diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserBaseListener.java b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserBaseListener.java deleted file mode 100644 index 7ff2ee8a..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserBaseListener.java +++ /dev/null @@ -1,159 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/RomanNumeralsParser.g4 by ANTLR 4.13.1 - -import org.antlr.v4.runtime.ParserRuleContext; -import org.antlr.v4.runtime.tree.ErrorNode; -import org.antlr.v4.runtime.tree.TerminalNode; - -/** - * This class provides an empty implementation of {@link RomanNumeralsParserListener}, - * which can be extended to create a listener which only needs to handle a subset - * of the available methods. - */ -@SuppressWarnings("CheckReturnValue") -public class RomanNumeralsParserBaseListener implements RomanNumeralsParserListener { - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNumeral(RomanNumeralsParser.NumeralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNumeral(RomanNumeralsParser.NumeralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterThous_part(RomanNumeralsParser.Thous_partContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitThous_part(RomanNumeralsParser.Thous_partContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterHundreds(RomanNumeralsParser.HundredsContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitHundreds(RomanNumeralsParser.HundredsContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterHun_part(RomanNumeralsParser.Hun_partContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitHun_part(RomanNumeralsParser.Hun_partContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterHun_rep(RomanNumeralsParser.Hun_repContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitHun_rep(RomanNumeralsParser.Hun_repContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTens(RomanNumeralsParser.TensContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTens(RomanNumeralsParser.TensContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTens_part(RomanNumeralsParser.Tens_partContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTens_part(RomanNumeralsParser.Tens_partContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTens_rep(RomanNumeralsParser.Tens_repContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTens_rep(RomanNumeralsParser.Tens_repContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterOnes(RomanNumeralsParser.OnesContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitOnes(RomanNumeralsParser.OnesContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterOnes_rep(RomanNumeralsParser.Ones_repContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitOnes_rep(RomanNumeralsParser.Ones_repContext ctx) { } - - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterEveryRule(ParserRuleContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitEveryRule(ParserRuleContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void visitTerminal(TerminalNode node) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void visitErrorNode(ErrorNode node) { } -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserBaseVisitor.java b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserBaseVisitor.java deleted file mode 100644 index de9a5ffd..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserBaseVisitor.java +++ /dev/null @@ -1,84 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/RomanNumeralsParser.g4 by ANTLR 4.13.1 -import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; - -/** - * This class provides an empty implementation of {@link RomanNumeralsParserVisitor}, - * which can be extended to create a visitor which only needs to handle a subset - * of the available methods. - * - * @param The return type of the visit operation. Use {@link Void} for - * operations with no return type. - */ -@SuppressWarnings("CheckReturnValue") -public class RomanNumeralsParserBaseVisitor extends AbstractParseTreeVisitor implements RomanNumeralsParserVisitor { - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitNumeral(RomanNumeralsParser.NumeralContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitThous_part(RomanNumeralsParser.Thous_partContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitHundreds(RomanNumeralsParser.HundredsContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitHun_part(RomanNumeralsParser.Hun_partContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitHun_rep(RomanNumeralsParser.Hun_repContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitTens(RomanNumeralsParser.TensContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitTens_part(RomanNumeralsParser.Tens_partContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitTens_rep(RomanNumeralsParser.Tens_repContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitOnes(RomanNumeralsParser.OnesContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitOnes_rep(RomanNumeralsParser.Ones_repContext ctx) { return visitChildren(ctx); } -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserListener.java b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserListener.java deleted file mode 100644 index cfdafb1f..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserListener.java +++ /dev/null @@ -1,109 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/RomanNumeralsParser.g4 by ANTLR 4.13.1 -import org.antlr.v4.runtime.tree.ParseTreeListener; - -/** - * This interface defines a complete listener for a parse tree produced by - * {@link RomanNumeralsParser}. - */ -public interface RomanNumeralsParserListener extends ParseTreeListener { - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#numeral}. - * @param ctx the parse tree - */ - void enterNumeral(RomanNumeralsParser.NumeralContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#numeral}. - * @param ctx the parse tree - */ - void exitNumeral(RomanNumeralsParser.NumeralContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#thous_part}. - * @param ctx the parse tree - */ - void enterThous_part(RomanNumeralsParser.Thous_partContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#thous_part}. - * @param ctx the parse tree - */ - void exitThous_part(RomanNumeralsParser.Thous_partContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#hundreds}. - * @param ctx the parse tree - */ - void enterHundreds(RomanNumeralsParser.HundredsContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#hundreds}. - * @param ctx the parse tree - */ - void exitHundreds(RomanNumeralsParser.HundredsContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#hun_part}. - * @param ctx the parse tree - */ - void enterHun_part(RomanNumeralsParser.Hun_partContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#hun_part}. - * @param ctx the parse tree - */ - void exitHun_part(RomanNumeralsParser.Hun_partContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#hun_rep}. - * @param ctx the parse tree - */ - void enterHun_rep(RomanNumeralsParser.Hun_repContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#hun_rep}. - * @param ctx the parse tree - */ - void exitHun_rep(RomanNumeralsParser.Hun_repContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#tens}. - * @param ctx the parse tree - */ - void enterTens(RomanNumeralsParser.TensContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#tens}. - * @param ctx the parse tree - */ - void exitTens(RomanNumeralsParser.TensContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#tens_part}. - * @param ctx the parse tree - */ - void enterTens_part(RomanNumeralsParser.Tens_partContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#tens_part}. - * @param ctx the parse tree - */ - void exitTens_part(RomanNumeralsParser.Tens_partContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#tens_rep}. - * @param ctx the parse tree - */ - void enterTens_rep(RomanNumeralsParser.Tens_repContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#tens_rep}. - * @param ctx the parse tree - */ - void exitTens_rep(RomanNumeralsParser.Tens_repContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#ones}. - * @param ctx the parse tree - */ - void enterOnes(RomanNumeralsParser.OnesContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#ones}. - * @param ctx the parse tree - */ - void exitOnes(RomanNumeralsParser.OnesContext ctx); - /** - * Enter a parse tree produced by {@link RomanNumeralsParser#ones_rep}. - * @param ctx the parse tree - */ - void enterOnes_rep(RomanNumeralsParser.Ones_repContext ctx); - /** - * Exit a parse tree produced by {@link RomanNumeralsParser#ones_rep}. - * @param ctx the parse tree - */ - void exitOnes_rep(RomanNumeralsParser.Ones_repContext ctx); -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserVisitor.java b/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserVisitor.java deleted file mode 100644 index dbfdbc2e..00000000 --- a/subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsParserVisitor.java +++ /dev/null @@ -1,72 +0,0 @@ -// Generated from /home/adarro/projects/ddo-calc/subprojects/common/ddo-antlr/src/main/antlr/RomanNumeralsParser.g4 by ANTLR 4.13.1 -import org.antlr.v4.runtime.tree.ParseTreeVisitor; - -/** - * This interface defines a complete generic visitor for a parse tree produced - * by {@link RomanNumeralsParser}. - * - * @param The return type of the visit operation. Use {@link Void} for - * operations with no return type. - */ -public interface RomanNumeralsParserVisitor extends ParseTreeVisitor { - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#numeral}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitNumeral(RomanNumeralsParser.NumeralContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#thous_part}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitThous_part(RomanNumeralsParser.Thous_partContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#hundreds}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitHundreds(RomanNumeralsParser.HundredsContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#hun_part}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitHun_part(RomanNumeralsParser.Hun_partContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#hun_rep}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitHun_rep(RomanNumeralsParser.Hun_repContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#tens}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitTens(RomanNumeralsParser.TensContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#tens_part}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitTens_part(RomanNumeralsParser.Tens_partContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#tens_rep}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitTens_rep(RomanNumeralsParser.Tens_repContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#ones}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitOnes(RomanNumeralsParser.OnesContext ctx); - /** - * Visit a parse tree produced by {@link RomanNumeralsParser#ones_rep}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitOnes_rep(RomanNumeralsParser.Ones_repContext ctx); -} \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/main/java/io/truthencode/ddo/visibla/javaClass/PojoDefaultJava.java b/subprojects/common/ddo-antlr/src/main/java/io/truthencode/ddo/visibla/javaClass/PojoDefaultJava.java deleted file mode 100644 index 767c46cd..00000000 --- a/subprojects/common/ddo-antlr/src/main/java/io/truthencode/ddo/visibla/javaClass/PojoDefaultJava.java +++ /dev/null @@ -1,3 +0,0 @@ -package io.truthencode.ddo.visibla.javaClass; -public class PojoDefaultJava { -} diff --git a/subprojects/common/ddo-antlr/src/main/java/io/truthencode/ddo/visibla/javaclass/PojoDefaultJava.java b/subprojects/common/ddo-antlr/src/main/java/io/truthencode/ddo/visibla/javaclass/PojoDefaultJava.java new file mode 100644 index 00000000..c58b3467 --- /dev/null +++ b/subprojects/common/ddo-antlr/src/main/java/io/truthencode/ddo/visibla/javaclass/PojoDefaultJava.java @@ -0,0 +1,7 @@ +package io.truthencode.ddo.visibla.javaclass; + +/** + * Temporary Placeholder to verify classpath compile conditions. + */ +public interface PojoDefaultJava { +} diff --git a/subprojects/common/ddo-antlr/src/main/kotlin/io/truthencode/ddo/visibla/kotlinClass/PojoDefaultKotlin.kt b/subprojects/common/ddo-antlr/src/main/kotlin/io/truthencode/ddo/visibla/kotlinClass/PojoDefaultKotlin.kt index 4c2ab6de..78919d06 100644 --- a/subprojects/common/ddo-antlr/src/main/kotlin/io/truthencode/ddo/visibla/kotlinClass/PojoDefaultKotlin.kt +++ b/subprojects/common/ddo-antlr/src/main/kotlin/io/truthencode/ddo/visibla/kotlinClass/PojoDefaultKotlin.kt @@ -1,3 +1,6 @@ package io.truthencode.ddo.visibla.kotlinClass +/** + * Temporary Placeholder to verify classpath compile conditions. + */ class PojoDefaultKotlin \ No newline at end of file diff --git a/subprojects/common/ddo-antlr/src/test/java/io/truthencode/ddo/grammar/antlr/DdoItemParserTest.java b/subprojects/common/ddo-antlr/src/test/java/io/truthencode/ddo/grammar/antlr/DdoItemParserTest.java index 7f6b4c02..962b970c 100644 --- a/subprojects/common/ddo-antlr/src/test/java/io/truthencode/ddo/grammar/antlr/DdoItemParserTest.java +++ b/subprojects/common/ddo-antlr/src/test/java/io/truthencode/ddo/grammar/antlr/DdoItemParserTest.java @@ -6,6 +6,7 @@ import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.tree.*; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -16,6 +17,8 @@ import java.util.Arrays; import java.util.stream.Collectors; +import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; + class DdoItemParserTest { private static final Logger LOG = @@ -39,7 +42,7 @@ void showTokenInfo(Token tok) { String sep = System.lineSeparator(); var msg = Arrays.stream(new String[]{ - String.format("%sToken: %s%s",sep,txt,sep), + String.format("%sToken: %s%s", sep, txt, sep), String.format("%s: %s %s", "dn", dn, sep), String.format("%s: %s %s", "sn", sn, sep), String.format("%s: %s %s", "ln", ln, sep)}).distinct().collect(Collectors.joining()); @@ -126,12 +129,17 @@ public void exitIdDecl(EnchantmentsParser.IdDeclContext ctx) { @Test void canReadPercent() { - walkText(SomeData); + // TODO: Refactor to inject tree listener + assertDoesNotThrow(() -> { + walkText(SomeData); + }); } @Test void canReadNumber() { - walkText(SomeData); + assertDoesNotThrow(() -> { + walkText(SomeData); + }); } void walkText(String data) { diff --git a/subprojects/common/ddo-antlr/src/test/kotlin/io/truthencode/ddo/grammar/antlr/BasicTestKotlin.kt b/subprojects/common/ddo-antlr/src/test/kotlin/io/truthencode/ddo/grammar/antlr/BasicTestKotlin.kt index 12981c67..0cea4d66 100644 --- a/subprojects/common/ddo-antlr/src/test/kotlin/io/truthencode/ddo/grammar/antlr/BasicTestKotlin.kt +++ b/subprojects/common/ddo-antlr/src/test/kotlin/io/truthencode/ddo/grammar/antlr/BasicTestKotlin.kt @@ -1,6 +1,7 @@ package io.truthencode.ddo.grammar.antlr -import io.truthencode.ddo.visibla.javaClass.PojoDefaultJava + +import io.truthencode.ddo.visibla.javaclass.PojoDefaultJava import io.truthencode.ddo.visibla.kotlinClass.PojoDefaultKotlin open class BasicTestKotlin {