From d79b20bb27ba61dce07a6cf471df53cc9bf344f7 Mon Sep 17 00:00:00 2001 From: "Marko K. S." Date: Mon, 2 Nov 2026 21:27:45 +0100 Subject: [PATCH 1/4] Add support for YINI Specification 1.0.0 RC.6x features Implement support for command-style multiline strings and expanded escape sequence options for strings. This update also enforces stricter validation for document structure and integer ranges to align with the latest specification requirements. --- CHANGELOG.md | 3 + README.md | 4 +- Taskfile.yml | 2 +- grammar/v1.0.0-rc.6x/YiniLexer.g4 | 482 +++++++++ grammar/v1.0.0-rc.6x/YiniParser.g4 | 342 ++++++ src/yini_parser/api/load.py | 58 +- src/yini_parser/core/section_headers.py | 14 +- src/yini_parser/core/validator.py | 35 +- src/yini_parser/core/value_decoders.py | 203 +++- src/yini_parser/core/yini_builder_visitor.py | 51 +- .../grammar/generated/YiniLexer.interp | 8 +- .../grammar/generated/YiniLexer.py | 688 ++++++------ .../grammar/generated/YiniParser.interp | 5 +- .../grammar/generated/YiniParser.py | 986 ++++++++++-------- .../grammar/generated/YiniParserVisitor.py | 17 +- src/yini_parser/utils/text.py | 5 +- tests/test_command_strings.py | 94 ++ tests/test_conflicts.py | 43 +- tests/test_keys.py | 44 + tests/test_load.py | 26 + tests/test_sections.py | 26 + tests/test_string_concatenation.py | 17 + tests/test_values.py | 85 +- 23 files changed, 2389 insertions(+), 849 deletions(-) create mode 100644 grammar/v1.0.0-rc.6x/YiniLexer.g4 create mode 100644 grammar/v1.0.0-rc.6x/YiniParser.g4 create mode 100644 tests/test_command_strings.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 7301cf2..dac079e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,11 @@ ## 1.0.0 release candidate 1 - 2026 October - **Changed:** Updated the package version to `1.0.0rc1` for release-candidate testing against YINI Specification 1.0.0 RC.6. +- **Added:** Support for `command"""` multiline strings, including structural indentation removal and preservation of content line endings. Command strings are parsed as text and are not executed. +- **Added:** Support for `E`/`e` escaped strings, including triple-quoted forms. `C`/`c` remain valid deprecated aliases. - **Added:** Added Dependabot configuration for monthly npm and GitHub Actions dependency updates. - **Fixed:** Backticked member keys, inline-object keys, and section names now decode `\\` to one backslash in both lenient and strict modes. Previously, parsed names retained both backslashes. +- **Fixed:** Single-line raw and escaped strings now preserve literal tabs in both lenient and strict modes, while continuing to reject other disallowed control characters. ## 1.0.0 beta 1 - 2026 August - **Changed:** Bumped the package version to `1.0.0b1` after the parser passed `yini-test-suite` `0.3.0b2`, the **shared conformance suite** with broad coverage of YINI Specification 1.0.0 Release Candidate 6. diff --git a/README.md b/README.md index 58238fe..09b23db 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,8 @@ mode = 'optional' - `TLS` is nested under `Server`. - The section markers `^` make the nesting explicit. Indentation is optional and not required for structure. - Strings can use either `'` or `"`. +- `E`/`e` strings interpret escapes; `C`/`c` remain valid aliases. +- `command"""` starts a multiline literal that removes structural indentation and preserves line breaks. ### JSON ```json @@ -304,7 +306,7 @@ The `tests/` directory contains a focused implementation-local test suite, inclu - The public loading API. - Values, numbers, strings, lists, and inline objects, including lenient `=` separators and strict `:` enforcement. - Sections, nested sections, section depth, and section marker separators. -- Backticked keys and section names, including escaped backslashes. +- Backticked keys and section names, including escaped backslashes and backticks. - Strict and lenient parser behavior. - `@yini strict` and `@yini lenient` mode declarations. - Duplicate keys, repeated sections, and key/section collisions. diff --git a/Taskfile.yml b/Taskfile.yml index ff26166..da3c440 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -7,7 +7,7 @@ version: '3' vars: - GRAMMAR_BASE: ./grammar/v1.0.0-rc.6 + GRAMMAR_BASE: ./grammar/v1.0.0-rc.6x PARSER_FILE: "{{.GRAMMAR_BASE}}/YiniParser.g4" LEXER_FILE: "{{.GRAMMAR_BASE}}/YiniLexer.g4" diff --git a/grammar/v1.0.0-rc.6x/YiniLexer.g4 b/grammar/v1.0.0-rc.6x/YiniLexer.g4 new file mode 100644 index 0000000..ab54f2f --- /dev/null +++ b/grammar/v1.0.0-rc.6x/YiniLexer.g4 @@ -0,0 +1,482 @@ +/* + YINI grammar in ANTLR 4. + + Apache License, Version 2.0, January 2004, + http://www.apache.org/licenses/ + Copyright 2024-2026 Gothenburg, Marko K. S. (Sweden via + Finland). +*/ + +/* + This LEXER grammar aims to follow, as closely as possible (*), + the latest released version of the YINI format specification 1.0.0. + Version: + 1.4.0-RC.1 - 2026 Nov (v1.0.0-rc.6x YINI Spec Package). + + *) NOTE: Some rules are intentionally more permissive than the specification + requires. This relaxation allows the host parser to detect syntax errors + easier and provide clearer, more meaningful error messages. In the end, it is + the responsibility of the implementing parser to fully enforce all rules of + the YINI specification. + + Feedback, bug reports, and improvements are welcome here: + + GitHub: https://github.com/YINI-lang + Homepage: http://yini-lang.org +*/ + +lexer grammar YiniLexer; + +/* ------------------------------------------------------------------ + * Fragments + * ------------------------------------------------------------------ */ + +fragment EBD: ('0' | '1') ('0' | '1') ('0' | '1'); +fragment HSPACE: [ \t]; +fragment DIGIT: [0-9]; +fragment SIGN: ('+' | '-'); + +fragment IDENT_SIMPLE_START: [a-zA-Z_]; +fragment IDENT_SIMPLE_CHAR : [a-zA-Z0-9_]; + +fragment BIN_DIGIT: '0' | '1'; +fragment OCT_DIGIT: [0-7]; +fragment DUO_DIGIT: DIGIT | [xXeEaAbB]; // x = A = 10, e = B = 11. +fragment HEX_DIGIT: DIGIT | [a-fA-F]; + +fragment SEP: '_'; + +/* + * Digit separators: + * - Allowed between digits. + * - Allowed immediately after a base prefix. + * - Not allowed at the end. + * - Not allowed adjacent to another underscore. + */ +fragment DEC_DIGITS + : DIGIT (SEP? DIGIT)* + ; + +fragment BIN_DIGITS + : SEP? BIN_DIGIT (SEP? BIN_DIGIT)* + ; + +fragment OCT_DIGITS + : SEP? OCT_DIGIT (SEP? OCT_DIGIT)* + ; + +fragment DUO_DIGITS + : SEP? DUO_DIGIT (SEP? DUO_DIGIT)* + ; + +fragment HEX_DIGITS + : SEP? HEX_DIGIT (SEP? HEX_DIGIT)* + ; + +fragment UNICODE16 + : 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT + ; + +fragment UNICODE32 + : 'U' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT + HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT + ; + +// Note: 0 or higher than 1, no leading 0s allowed (for ex: `01`) +fragment DECIMAL_INTEGER + : '0' + | [1-9] (SEP? DIGIT)* + ; + +fragment INTEGER + : DECIMAL_INTEGER + ; + +fragment FRACTION + : '.' DEC_DIGITS + ; + +fragment EXPONENT + : [eE] SIGN? DEC_DIGITS + ; + +fragment BIN_INTEGER + : '0' [bB] BIN_DIGITS + | '%' BIN_DIGITS + ; + +fragment OCT_INTEGER + : '0' [oO] OCT_DIGITS // Make sure to not clash with boolean ON | OFF. + ; + +fragment DUO_INTEGER + : '0' [zZ] DUO_DIGITS + ; + +fragment HEX_INTEGER + : '0' [xX] HEX_DIGITS // 0xFFAA00 + | [hH] [eE] [xX] ':' HEX_DIGITS // hex:ffaa00, HEX:FFAA00 + ; + +// NOTE: This lexer rule is intentionally relaxed to allow `.` as well. +// This makes it possible for the parser (or later validation step) to detect +// dotted compound names and report a more user-friendly error message, even +// though such names are invalid in the YINI specification. +// +// IMPORTANT: The parser/validator must still check identifiers for illegal +// characters and reject invalid dotted names accordingly. +// +// Examples of invalid dotted compound names: +// key.two +// main.`illegal key` +// another.key.2 +// `yet another`.illegal.key +fragment IDENT_SIMPLE_LX + : IDENT_SIMPLE_START (IDENT_SIMPLE_CHAR | '.')* + ; + +// IDENT_BACKTICKED: '`' ~[\u0000-\u001F`]* '`'; // No newlines, tabs, or C0 controls. +// fragment IDENT_BACKTICKED +// : '`' ~[\u0000-\u001F`]* '`' // No newlines, tabs, or C0 controls. +// ; +fragment IDENT_BACKTICKED +// : '`' ( '\\' ('`' | '\\') | ~[\u0000-\u001F`\\] )* '`' + : '`' ( '\\' ('`' | '\\') | ~[\u0000-\u001F\u007F-\u009F`\\] )* '`' + ; + +fragment SECTION_NAME_PART + : IDENT_SIMPLE_LX + | IDENT_BACKTICKED + ; + +// Section markers: '^', '§', '>', '<'. +// - Up to nine repeated markers are allowed. +// - For levels beyond 9, use the numeric shorthand form (e.g. ^10, §100, >12, <12). +// - Repeated/basic form supports optional '_' separators between same marker chars. +// - Numeric shorthand form does NOT support '_' separators. +// - The parser/visitor must enforce the maximum repeated-marker depth and maximum section depth. +// Keep the order as 1, 2, and 3. +// fragment SECTION_MARKER +// : SECTION_MARKER_SHORTHAND // (1) Numeric shorthand section headers (e.g. ^7 SectionName). +// | SECTION_MARKER_BASIC_REPEAT // (2) Classic/repeating marker section headers (e.g. ^^ SectionName). +// | SECTION_MARKER_INVALID // (3) Captures malformed section markers so the parser/validator can report a clearer error. +// ; + +// Repeated/basic marker form. +// Underscores may appear only between two identical section marker characters. +// Match one or more of the same marker. Parser must check "count ≤ 9", +// for level 10 and deeper, numeric shorthand is required. +// This check is deferred to the parser, which +// gives more control and enables better user feedback. +fragment SECTION_MARKER_BASIC_REPEAT + : CARET_MARKERS + | SS_MARKERS + | GT_MARKERS + | LT_MARKERS + ; + +fragment CARET_MARKERS + : CARET (SEP? CARET)* + ; + +fragment SS_MARKERS + : SS (SEP? SS)* + ; + +fragment GT_MARKERS + : GT (SEP? GT)* // > + ; + +fragment LT_MARKERS + : LT (SEP? LT)* // < + ; + +// Shorthand: a single marker followed by a positive integer (1 or larger). +// Examples: ^7, <12, §100 +fragment SECTION_MARKER_SHORTHAND + : (CARET | SS | GT | LT ) [1-9] DIGIT* + ; + +fragment SECTION_MARKER_INVALID + : (CARET | SS | GT | LT | SEP)+ DIGIT* + ; + +// For matching bad character. +fragment REST_CHAR + // : ~([@ \t\r\n'"`=,0123456789/-] | '[' | ']' | '{' | '}' | ':') + // :~([@#> \t\r\n'"`=,0123456789/-] | '[' | ']' | '{' | '}' | ':') + : ~([@#^§>< \t\r\n'"`=,0123456789/-] | '[' | ']' | '{' | '}' | ':') + ; + +/* ------------------------------------------------------------------ + * Structural / directive tokens + * ------------------------------------------------------------------ */ + +SHEBANG + : '#!' ~[\r\n]* (EOL | EOF) + ; + +YINI_TOKEN options { caseInsensitive = true; } + : '@yini' + ; + +// @note Experimental / for future / testing. +INCLUDE_TOKEN options { caseInsensitive = true; } + : '@include' + ; + +// @note Experimental / for future / testing. +DEPRECATED_TOKEN options { caseInsensitive = true; } + : '@deprecated' + ; + +TERMINAL_TOKEN options { caseInsensitive = true; } + : '/END' + ; + +// SECTION_HEAD: SECTION_MARKER HSPACE* WS* IDENT NL+; +SECTION_HEAD + // : SECTION_MARKER HSPACE* SECTION_NAME_PART HSPACE* EOL+ // Repeated/basic section headers do not require whitespace before the name. + : SECTION_MARKER_SHORTHAND HSPACE+ + (HSPACE | SECTION_SINGLE_LINE_BLOCK_COMMENT)* SECTION_NAME_PART + (HSPACE | SECTION_BLOCK_COMMENT)* (EOL+ | SECTION_TAIL_COMMENT* EOF) + | SECTION_MARKER_BASIC_REPEAT + (HSPACE | SECTION_SINGLE_LINE_BLOCK_COMMENT)* SECTION_NAME_PART + (HSPACE | SECTION_BLOCK_COMMENT)* (EOL+ | SECTION_TAIL_COMMENT* EOF) + ; + +INVALID_SECTION_HEAD + // : (CARET | SS | GT | LT | SEP)+ ~[\r\n]* EOL+ + // : (CARET | SS | GT | LT | SEP) ~[\r\n]* EOL+ + : (CARET | SS | GT | LT) ~[\r\n]* (EOL+ | EOF) + ; + +/* ------------------------------------------------------------------ + * Keywords / literals + * ------------------------------------------------------------------ */ + +BOOLEAN_FALSE options { caseInsensitive = true; } + : 'false' | 'off' | 'no' + ; + +BOOLEAN_TRUE options { caseInsensitive = true; } + : 'true' | 'on' | 'yes' + ; + +NULL options { caseInsensitive = true; } + : 'null' + ; + +EMPTY_OBJECT + : '{}' + ; + +EMPTY_LIST + : '[]' + ; + +// STRING +// : TRIPLE_QUOTED_STRING +// | SINGLE_OR_DOUBLE +// ; + +// TRIPLE_QUOTED_STRING +// : [RrCc]? '"""' .*? '"""' +// ; // Greedy-safe because of .*? (non-greedy). + +// SINGLE_OR_DOUBLE +// : R_AND_C_STRING +// ; + +/** + * Common rule for RAW, CLASSIC, and ESCAPED string literals. + * Illegal characters are deferred to the parser, which gives more control + * and enables better user feedback (e.g., pinpointing the exact location of + * invalid characters). Additionally, this simplifies the lexer rule. + * + * Rather than having the lexer reject on any "illegal" character, let the + * implemented parser catch it so you can give a more precise error message. + * + * @note If refactoring rule(s), make sure C-strings can include \' and \" as well. + */ +// R_AND_C_STRING +// : [RrCc]? '\'' ('\\\'' | ~['\r\n])* '\'' +// | [RrCc]? '"' ('\\"' | ~["\r\n])* '"' +// ; + +STRING + : CLASSIC_TRIPLE_QUOTED_STRING + | ESCAPED_TRIPLE_QUOTED_STRING + | RAW_TRIPLE_QUOTED_STRING + | CLASSIC_SINGLE_OR_DOUBLE_STRING + | ESCAPED_SINGLE_OR_DOUBLE_STRING + | RAW_SINGLE_OR_DOUBLE_STRING + | COMMAND_TRIPLE_QUOTED_STRING + ; + +fragment RAW_TRIPLE_QUOTED_STRING + : [Rr]? '"""' .*? '"""' + ; + +fragment CLASSIC_TRIPLE_QUOTED_STRING + // : [Cc] '"""' .*? '"""' + : [Cc] '"""' ( '\\' . | . )*? '"""' + ; + +fragment ESCAPED_TRIPLE_QUOTED_STRING + : [Ee] '"""' ( '\\' . | . )*? '"""' + ; + +fragment RAW_SINGLE_OR_DOUBLE_STRING + : [Rr]? '\'' ~['\r\n]* '\'' + | [Rr]? '"' ~["\r\n]* '"' + ; + +fragment CLASSIC_SINGLE_OR_DOUBLE_STRING + : [Cc] '\'' ('\\' ~[\r\n] | ~['\\\r\n])* '\'' + | [Cc] '"' ('\\' ~[\r\n] | ~["\\\r\n])* '"' + ; + +fragment ESCAPED_SINGLE_OR_DOUBLE_STRING + : [Ee] '\'' ('\\' ~[\r\n] | ~['\\\r\n])* '\'' + | [Ee] '"' ('\\' ~[\r\n] | ~["\\\r\n])* '"' + ; + +// Command Strings are line-oriented. The host validator checks the complete +// closing line, indentation, and the resulting value as specified in Section 6.4. +fragment COMMAND_TRIPLE_QUOTED_STRING + : 'command' '"""' COMMAND_LINE_BREAK + ( ~[\r\n]* COMMAND_LINE_BREAK )*? + [ ]* '"""' + ; + +fragment COMMAND_LINE_BREAK + : '\r' '\n'? | '\n' + ; + +// NOTE: This NUMBER rule must come before KEY, IDENT, etc. +NUMBER + : SIGN? INTEGER FRACTION? EXPONENT? + | SIGN? FRACTION EXPONENT? + | SIGN? (BIN_INTEGER | OCT_INTEGER | DUO_INTEGER | HEX_INTEGER) + ; + +/* ------------------------------------------------------------------ + * Punctuation / symbols + * ------------------------------------------------------------------ */ + +CARET: '^'; +SS: '\u00A7'; // Section sign §. +GT: '>'; // Greater Than. +LT: '<'; // Less Than. + +EQ: '='; +// NOTE: Do not include '#' here, because it would conflict with comment tokenization. +COMMA: ','; +COLON: ':'; +OB: '['; // Opening Bracket. +CB: ']'; // Closing Bracket. +OC: '{'; // Opening Curly Brace. +CC: '}'; // Closing Curly Brace. +PLUS: '+'; +DOLLAR: '$'; +// ASTERIX: '*'; +PC: '%'; // PerCent sign. +AT: '@'; +SEMICOLON: ';'; + +/* ------------------------------------------------------------------ + * Line structure / skipped trivia + * ------------------------------------------------------------------ */ + +fragment EOL + : SECTION_TAIL_COMMENT* NL + ; + +NL + : ('\r' '\n'? | '\n')+ + ; + +fragment SECTION_TAIL_COMMENT + : '//' ~[\r\n]* + | '#' ~[\r\n]* + ; + +// A section name must begin on the same line as its marker. +fragment SECTION_SINGLE_LINE_BLOCK_COMMENT + : '/*' ~[\r\n]*? '*/' + ; + +fragment SECTION_BLOCK_COMMENT + : '/*' .*? '*/' + ; + +WS + : HSPACE+ -> skip + ; + +/* + BLOCK_COMMENT: + Can appear anywhere, spanning multiple lines. + Remains in input, but hidden + (doesn't interfere with parsing). + */ +BLOCK_COMMENT + : '/*' .*? '*/' -> skip // Block AKA Multi-line comment. + ; + +fragment DISABLE_LINE_MARKER + : '--' + ; + +DISABLED_LINE + // STRING and backticked identifier rules retain '--' inside literal content. + // Host validation must check that this marker is the first non-space/tab + // content on its logical line. Keep the token visible for that check. + // : DISABLE_LINE_MARKER ~[\r\n]* + : DISABLE_LINE_MARKER ~[\r\n]* EOL? + ; + +/* + FULL_LINE_COMMENT: + This rule intentionally does not enforce "start of line" in the lexer. + The parser or later validation step must verify that FULL_LINE_COMMENT appears + only where a full-line comment is allowed. +*/ +FULL_LINE_COMMENT + //: ('\r\n' | '\r' | '\n') HSPACE* (DISABLE_LINE_MARKER | SEMICOLON) ~[\r\n]* -> skip + //: HSPACE* (DISABLE_LINE_MARKER | SEMICOLON) ~[\r\n]* -> skip // This (may?) accidentally allow invalid inline semicolon comments. + : ';' ~[\r\n]* + ; + +/* + INLINE_COMMENT: + Remains in input, but hidden (doesn't interfere with parsing). + */ +INLINE_COMMENT + : ('//' | '#') ~[\r\n]* -> skip + ; + +/* ------------------------------------------------------------------ + * Identifiers / invalid / catch-all + * ------------------------------------------------------------------ */ + +// KEY: IDENT; +KEY + : SECTION_NAME_PART + | IDENT_INVALID + ; + +IDENT_INVALID + : [0-9][a-zA-Z0-9_]* + ; + +// Catch-all for otherwise unclassified invalid content. +REST + : REST_CHAR+ + ; + +// Captures malformed @-prefixed directives/metadata. +META_INVALID + : AT REST+ + ; diff --git a/grammar/v1.0.0-rc.6x/YiniParser.g4 b/grammar/v1.0.0-rc.6x/YiniParser.g4 new file mode 100644 index 0000000..1ca34f5 --- /dev/null +++ b/grammar/v1.0.0-rc.6x/YiniParser.g4 @@ -0,0 +1,342 @@ +/* + YINI grammar in ANTLR 4. + + Apache License, Version 2.0, January 2004, + http://www.apache.org/licenses/ + Copyright 2024-2026 Gothenburg, Marko K. S. (Sweden via + Finland). +*/ + +/* + This PARSER grammar aims to follow, as closely as possible (*), + the latest released version of the YINI format specification 1.0.0. + Version: + 1.4.0-RC.1 - 2026 Nov (v1.0.0-rc.6x YINI Spec Package). + + *) NOTE: Some rules are intentionally more permissive than the specification + requires. This relaxation allows the host parser to detect syntax errors + easier and provide clearer, more meaningful error messages. In the end, it is + the responsibility of the implementing parser to fully enforce all rules of + the YINI specification. + + Feedback, bug reports, and improvements are welcome here: + + GitHub: https://github.com/YINI-lang + Homepage: http://yini-lang.org +*/ + +parser grammar YiniParser; + +options { + tokenVocab = YiniLexer; + caseInsensitive = false; +} + +/* + High-level idea: + - Parse a tolerant, flat stream of statements. + - SECTION_HEAD tokens signal section headers (with level encoded by the lexer). + - The host parser (visitor) maintains a section stack to build the final tree. + - Marker (@yini etc.) constraints are validated in host code, not here. +*/ + +yini + : prolog? stmt* terminal_stmt? EOF + ; + +/* ------------------------------------------------------------------ + * Prolog / terminal + * ------------------------------------------------------------------ */ + +prolog + : SHEBANG eol* + | eol+ + ; + +terminal_stmt + : TERMINAL_TOKEN terminal_trivia* + ; + +// Fulfills the spec rule that after /END, only whitespace and +// comments may appear. +terminal_trivia + : eol + | full_line_comment_stmt + ; + +/* ------------------------------------------------------------------ + * Statements (flat) + * ------------------------------------------------------------------ */ + +stmt + : eol // BlankOrComment + | full_line_comment_stmt + | disabled_line_stmt + | SECTION_HEAD // SectionHeader + | invalid_section_stmt + | assignment // key = value + | meta_stmt // Note: The implementing parser is responsible for enforcing YINI marker constraints. + | bad_member // BadMember + ; + +full_line_comment_stmt + : FULL_LINE_COMMENT eol? + ; + +disabled_line_stmt + // : DISABLED_LINE eol? + : DISABLED_LINE + ; + +invalid_section_stmt + : INVALID_SECTION_HEAD + ; + +// Any tokens and statements starting with an AT (@). +meta_stmt + : directive + | annotation + | bad_meta_text line_end + ; + +/* + * Directives (pragmas): parser hints that affect mode/behavior but + * don't change document content. Must appear at top before any + * sections or members. + */ +directive + : yini_directive + | INCLUDE_TOKEN string_literal? line_end + ; + +yini_directive + : YINI_TOKEN yini_mode_declaration? line_end + ; + +// IMPORTANT: Do not add lexer tokens like STRICT_MODE and LENIENT_MODE, +// because then strict = true or lenient = false could stop parsing +// as normal keys. +yini_mode_declaration + : KEY // Host validation checks for "strict" or "lenient" case-insensitively. + ; + +/* + * Metadata attached to a specific element (key, section, function, + * class, variable). Does not change source, but adds semantic + * meaning or tooling hints. + * + * @note Experimental / for future / testing. + */ +annotation + : DEPRECATED_TOKEN line_end + ; + +/* A single physical "end-of-line" unit. + Use this everywhere instead of sprinkling NL* in statement rules. */ +eol + : NL+ + ; + +// EOF may terminate an otherwise complete final logical line. +line_end + : eol + | EOF + ; + +/* ------------------------------------------------------------------ + * Members / assignments + * ------------------------------------------------------------------ */ + +// Previous wording: Assignment is always: KEY = value/literal. +/* Assignment is always: identifier = value/literal */ +assignment + : member line_end + ; + +/* + * Previous wording: KEY, EQ, and the first value token MUST be on the same logical line. + * @note The identifier, EQ, and the first value token MUST be on the same logical line. + * A concatenation expression may continue onto following lines only when + * the previous line ends with PLUS. + */ +// Boolean and null spellings are also valid names in identifier positions. +// Preserve the token's original text: identifiers remain case-sensitive. +identifier + : KEY + | BOOLEAN_TRUE + | BOOLEAN_FALSE + | NULL + ; + +member + // : KEY EQ value? // Missing value is validated by mode in host code. + : identifier EQ value? // Missing value is validated by mode in host code. + ; + +/* ------------------------------------------------------------------ + * Values + * ------------------------------------------------------------------ */ + +value + : concat_expression + | scalar_value + | list_literal + | object_literal + ; + +scalar_value + : null_literal + | string_literal + | number_literal + | boolean_literal + ; + +/* + * String concatenation. + * + * Spec behavior: + * - The + operator is exclusively string concatenation when accepted. + * - YINI does not define numeric addition. + * - A concatenation expression MUST begin with a string literal. + * - A newline MAY appear after +. + * - A newline MUST NOT appear before +. + * - Lists and inline objects are never valid operands. + * + * Strict-vs-lenient validation: + * - Strict mode: every concat operand MUST be STRING. + * - Lenient mode: the first operand MUST be STRING. + * Later operands MAY be STRING, NUMBER, BOOLEAN, or NULL. + */ +// This accepts: +// +// message = "hello " + "world" +// longText = "hello " + +// "world" +// +// label = "port-" + +// 5432 +// +// And rejects: +// +// message = "hello " +// + "world" +// +// txt1 = 8080 + " is the port" +// txt2 = 1 + 2 + "3" +// +// because concatenation must begin with a string literal. +concat_expression + : STRING concat_tail+ + ; + +concat_tail + // : PLUS NL* concat_operand + : PLUS multiline_trivia* concat_operand + ; + +concat_operand + : STRING + | NUMBER + | BOOLEAN_TRUE + | BOOLEAN_FALSE + | NULL + ; + +string_literal + : STRING + ; + +/* Object literal. + * Canonical object members use `key: value`. + * In lenient mode, `key = value` may also be accepted. + * In strict mode, `=` inside inline objects is invalid and must be rejected + * by semantic validation. + */ +object_literal + // : OC NL* object_members? NL* CC NL* + // | EMPTY_OBJECT NL* + : OC multiline_trivia* object_members? multiline_trivia* CC + | EMPTY_OBJECT + ; + +// Object members are one or more key/value entries separated by commas. +// Canonical syntax uses `key: value`. +// In lenient mode, `key = value` may also be accepted (in the host parser). +// In the host parser, strict mode validation must reject `=` inside inline objects. +object_members + // : object_member (COMMA NL* object_member)* COMMA? + : object_member + (multiline_trivia* COMMA multiline_trivia* object_member)* + (multiline_trivia* COMMA)? + ; + +object_member + // : KEY object_member_separator value + : identifier object_member_separator value + ; + +object_member_separator + : COLON // The canonical form. + | EQ // Optional ONLY in lenient mode. + ; + +/* [ value, ... ] with optional trailing comma and newlines tolerated */ +list_literal + // : OB NL* elements? NL* CB NL* + // | EMPTY_LIST NL* + : OB multiline_trivia* elements? multiline_trivia* CB + | EMPTY_LIST + ; + +/** Folded, comma-separated values (list elements), for bracketed lists. + * Elements are regular values only. + */ +elements + // : value (NL* COMMA NL* value)* COMMA? + : value + (multiline_trivia* COMMA multiline_trivia* value)* + (multiline_trivia* COMMA)? + ; + +// Tokens allowed where a construct permits continuation onto another line. +// Host validation must check that comment and disabled-line markers are the +// first non-space/tab content on their source line. A comma starting a list +// line must still be rejected under specification section 13.6. +// These tokens stay visible so their positions can be checked. +multiline_trivia + : NL + | DISABLED_LINE + | FULL_LINE_COMMENT + ; + +/* ------------------------------------------------------------------ + * Terminals forwarded from the lexer + * ------------------------------------------------------------------ */ + +number_literal + : NUMBER + ; + +null_literal + : NULL // NOTE: NULL is case-insensitive. + ; + +boolean_literal + : BOOLEAN_TRUE + | BOOLEAN_FALSE // NOTE: Booleans are case-insensitive. + ; + +/* ------------------------------------------------------------------ + * Error helpers + * ------------------------------------------------------------------ */ + +bad_meta_text + : META_INVALID + ; + +/* For catching bad member syntax. + * Keep a narrow error production, don't over-greedy-capture. + */ +bad_member + : (REST | value)? EQ (value | REST) eol? + ; diff --git a/src/yini_parser/api/load.py b/src/yini_parser/api/load.py index 05257d4..89e8ac2 100644 --- a/src/yini_parser/api/load.py +++ b/src/yini_parser/api/load.py @@ -3,6 +3,7 @@ from pathlib import Path from typing import Any +import re import warnings from antlr4 import CommonTokenStream, InputStream, Token @@ -22,6 +23,7 @@ def loads(text: str, strict: bool = False) -> dict[str, Any]: """ text = _normalize_leading_bom(text, strict=strict) + _validate_document_text(text, strict=strict) text = _ensure_final_newline(text) input_stream = InputStream(text) @@ -34,8 +36,10 @@ def load(path: str | Path, strict: bool = False) -> dict[str, Any]: """ file_path = Path(path) - text = file_path.read_text(encoding="utf-8") + with file_path.open("r", encoding="utf-8", newline="") as source: + text = source.read() text = _normalize_leading_bom(text, strict=strict) + _validate_document_text(text, strict=strict) text = _ensure_final_newline(text) input_stream = InputStream(text) @@ -50,6 +54,7 @@ def _parse_input_stream(input_stream: InputStream, strict: bool) -> dict[str, An stream = CommonTokenStream(lexer) _normalize_shebang_comment_tokens(stream) + _validate_command_closing_lines(stream, input_stream) parser = YiniParser(stream) parser_errors = _SyntaxErrorCollector() @@ -86,6 +91,33 @@ def _ensure_final_newline(text: str) -> str: return text +def _validate_document_text(text: str, *, strict: bool) -> None: + if not strict: + return + + if re.match(r"[ \t]+#!", text): + raise YiniParseError( + "A shebang must start at column 1; leading whitespace is invalid in strict mode.", + line=1, + column=1, + ) + + first_ending = None + for line_number, ending in enumerate(re.finditer(r"\r\n|\r|\n", text), start=1): + if first_ending is None: + first_ending = ending.group() + elif ending.group() != first_ending: + raise YiniParseError( + "Mixed line endings are not allowed in strict mode.", + line=line_number, + column=ending.start() + - max( + text.rfind("\r", 0, ending.start()), + text.rfind("\n", 0, ending.start()), + ), + ) + + def _normalize_leading_bom(text: str, *, strict: bool) -> str: if not text.startswith("\ufeff"): return text @@ -148,3 +180,27 @@ def _normalize_shebang_comment_tokens(stream: CommonTokenStream) -> None: seen_meaningful_token = True stream.seek(0) + + +def _validate_command_closing_lines( + stream: CommonTokenStream, input_stream: InputStream +) -> None: + source = input_stream.strdata + for token in stream.tokens: + if token.type != YiniLexer.STRING or not token.text.startswith('command"""'): + continue + + after_closing = token.stop + 1 + if after_closing >= len(source) or source[after_closing] in "\r\n": + continue + + token_text = token.text + line_breaks = ( + token_text.count("\r") + token_text.count("\n") - token_text.count("\r\n") + ) + last_break = max(token_text.rfind("\r"), token_text.rfind("\n")) + raise YiniParseError( + "Invalid command string: the closing delimiter must end its line.", + line=token.line + line_breaks, + column=len(token_text[last_break + 1 :]) + 1, + ) diff --git a/src/yini_parser/core/section_headers.py b/src/yini_parser/core/section_headers.py index 9784433..8f657e7 100644 --- a/src/yini_parser/core/section_headers.py +++ b/src/yini_parser/core/section_headers.py @@ -19,9 +19,8 @@ def parse_section_head( (level, name) """ - text = raw_text.strip() + text = _strip_section_tail_comment(raw_text.strip()) text = text.splitlines()[0].strip() - text = _strip_section_tail_comment(text) if not text: raise YiniParseError( @@ -119,6 +118,10 @@ def _strip_section_tail_comment(text: str) -> str: while i < len(text): ch = text[i] + if ch == "\\" and in_backtick and i + 1 < len(text): + i += 2 + continue + if ch == "`" and not in_single and not in_double: in_backtick = not in_backtick i += 1 @@ -135,6 +138,13 @@ def _strip_section_tail_comment(text: str) -> str: continue if not in_single and not in_double and not in_backtick: + if ch == "/" and i + 1 < len(text) and text[i + 1] == "*": + end = text.find("*/", i + 2) + if end == -1: + break + text = text[:i] + " " + text[end + 2 :] + continue + if ch == "#": return text[:i].rstrip() diff --git a/src/yini_parser/core/validator.py b/src/yini_parser/core/validator.py index 2087090..0697c5e 100644 --- a/src/yini_parser/core/validator.py +++ b/src/yini_parser/core/validator.py @@ -3,6 +3,7 @@ from __future__ import annotations import warnings +from typing import NoReturn from ..api.errors import YiniParseError from ..api.warnings import YiniParseWarning @@ -12,8 +13,8 @@ class YiniValidator: """ Handles validation policy for strict and lenient parsing. - In strict mode, conflicts are errors. - In lenient mode, conflicts are warnings and the first definition wins. + Duplicate keys and sections warn in lenient mode and fail in strict mode. + Member/section name collisions fail in both modes. """ def __init__(self, strict: bool = False) -> None: @@ -91,7 +92,7 @@ def handle_key_section_collision( *, line: int | None = None, column: int | None = None, - ) -> bool: + ) -> NoReturn: """ Handles name collisions between keys and sections. @@ -104,34 +105,16 @@ def handle_key_section_collision( ^ app app = "demo" - Returns: - True -> caller may accept the incoming definition - False -> caller should ignore the incoming definition + Member and section names share one namespace in both modes. """ - message = ( - f"Name collision for {name!r} ignored. " - f"A {existing_kind} with this name already exists, so the incoming " - f"{incoming_kind} was ignored." - ) - - if self.strict: - raise YiniParseError( - f"Name collision for {name!r}. " - f"A {existing_kind} with this name already exists, so it cannot " - f"also be used as a {incoming_kind} in strict mode.", - line=line, - column=column, - ) - - self._warn( - message, + raise YiniParseError( + f"Name collision for {name!r}. " + f"A {existing_kind} with this name already exists, so it cannot " + f"also be used as a {incoming_kind}.", line=line, column=column, - code="key-section-collision", ) - return False - def _warn( self, message: str, diff --git a/src/yini_parser/core/value_decoders.py b/src/yini_parser/core/value_decoders.py index 7fae74c..cacfa06 100644 --- a/src/yini_parser/core/value_decoders.py +++ b/src/yini_parser/core/value_decoders.py @@ -1,4 +1,6 @@ # src/yini_parser/core/value_decoders.py +import re +import math from typing import NoReturn from ..api.errors import YiniParseError @@ -12,6 +14,10 @@ "\\": "\\", '"': '"', "'": "'", + "`": "`", + "/": "/", + "0": "\0", + "?": "?", "a": "\a", "b": "\b", "f": "\f", @@ -29,28 +35,19 @@ def decode_string_token( column: int | None = None, ) -> str: """ - Minimal first-pass string decoding. - - Handles: - - Optional prefixes: R/r and C/c. - - Single/double quoted strings. - - Triple-quoted strings. - - Simple quote stripping. - - Unprefixed strings are treated as raw strings. - C-prefixed strings decode escape sequences. + Decode raw, escaped, and command string tokens. """ text = token_text if not text: return "" + if text.startswith('command"""'): + return _decode_command_string(text, line=line, column=column) + prefix = "" - if len(text) >= 2 and text[0] in "RrCc" and text[1] in {'"', "'"}: - prefix = text[0] - text = text[1:] - elif len(text) >= 4 and text[0] in "RrCc" and text[1:4] == '"""': + if len(text) >= 2 and text[0] in "RrCcEe" and text[1] in {'"', "'"}: prefix = text[0] text = text[1:] @@ -58,7 +55,7 @@ def decode_string_token( if text.startswith('"""') and text.endswith('"""') and len(text) >= 6: inner = text[3:-3] - if prefix in {"C", "c"}: + if prefix in {"C", "c", "E", "e"}: return _decode_classic_string( inner, allow_line_breaks=True, @@ -89,7 +86,7 @@ def decode_string_token( return inner # Classic strings: decode escapes. - if prefix in {"C", "c"}: + if prefix in {"C", "c", "E", "e"}: return _decode_classic_string( inner, allow_line_breaks=False, @@ -106,6 +103,100 @@ def decode_string_token( ) +def _decode_command_string( + text: str, + *, + line: int | None = None, + column: int | None = None, +) -> str: + opening = re.match(r'command"""(?:\r\n|\r|\n)', text) + if opening is None: + raise YiniParseError( + "Invalid command string: the opening delimiter must end its line.", + line=line, + column=column, + ) + + remainder = text[opening.end() :] + closing_breaks = list(re.finditer(r"\r\n|\r|\n", remainder)) + if not closing_breaks: + content = "" + closing_line = remainder + else: + last_break = closing_breaks[-1] + content = remainder[: last_break.start()] + closing_line = remainder[last_break.end() :] + + if re.fullmatch(r' *"""', closing_line) is None: + raise YiniParseError( + "Invalid command string: the closing delimiter must be alone on its line.", + line=line, + column=column, + ) + + _validate_string_content(content, allow_line_breaks=True, line=line, column=column) + if not content: + return "" + + parts = re.split(r"(\r\n|\r|\n)", content) + lines = parts[::2] + content_breaks = parts[1::2] + first_nonempty_index = next( + (index for index, part in enumerate(lines) if part.strip(" ")), None + ) + indentation = ( + len(lines[first_nonempty_index]) - len(lines[first_nonempty_index].lstrip(" ")) + if first_nonempty_index is not None + else max(len(part) for part in lines) + ) + + decoded_lines = [] + for index, part in enumerate(lines): + leading_spaces = len(part) - len(part.lstrip(" ")) + if part.strip(" ") and leading_spaces < indentation: + raise YiniParseError( + "Invalid command string: a content line has less than the structural indentation.", + line=line, + column=column, + ) + if ( + first_nonempty_index is not None + and index < first_nonempty_index + and leading_spaces > indentation + ): + raise YiniParseError( + "Invalid command string: a space-only line exceeds the structural indentation.", + line=line, + column=column, + ) + decoded_lines.append(part[min(leading_spaces, indentation) :]) + + return "".join( + part + (content_breaks[index] if index < len(content_breaks) else "") + for index, part in enumerate(decoded_lines) + ) + + +def normalize_number_literal( + text: str, + *, + line: int | None = None, + column: int | None = None, +) -> str: + """Normalize from source spelling, then validate the numeric value.""" + unsigned = text.lstrip("+-") + if unsigned.lower().startswith(("0x", "0b", "0o", "0z", "hex:", "%")): + parsed_value = parse_number_literal(text, line=line, column=column) + if parsed_value == 0 and text.startswith("-"): + return "-0" + return str(parsed_value) + + normalized = text.replace("_", "").lstrip("+").replace("E", "e") + normalized = normalized.replace("e+", "e") + parse_number_literal(text, line=line, column=column) + return normalized + + def parse_number_literal(text, line=None, column=None): # text = ctx.getText().strip() # line, column = self._ctx_location(ctx) @@ -128,33 +219,56 @@ def parse_number_literal(text, line=None, column=None): """ if lowered.startswith("hex:"): cleaned = body.split(":", 1)[1].strip().replace("_", "") - return sign * int(cleaned, 16) + return _check_integer_range(sign * int(cleaned, 16), text, line, column) if lowered.startswith("0x"): - return sign * int(body[2:].replace("_", ""), 16) + return _check_integer_range( + sign * int(body[2:].replace("_", ""), 16), text, line, column + ) if lowered.startswith("0b"): - return sign * int(body[2:].replace("_", ""), 2) + return _check_integer_range( + sign * int(body[2:].replace("_", ""), 2), text, line, column + ) if lowered.startswith("%"): - return sign * int(body[1:].replace("_", ""), 2) + return _check_integer_range( + sign * int(body[1:].replace("_", ""), 2), text, line, column + ) if lowered.startswith("0o"): - return sign * int(body[2:].replace("_", ""), 8) + return _check_integer_range( + sign * int(body[2:].replace("_", ""), 8), text, line, column + ) if lowered.startswith("0z"): - return sign * _parse_duodecimal( + value = sign * _parse_duodecimal( body[2:].replace("_", ""), line=line, column=column, ) + return _check_integer_range(value, text, line, column) decimal_text = text.replace("_", "") if any(ch in decimal_text for ch in ".eE"): - return float(decimal_text) + value = float(decimal_text) + if not math.isfinite(value): + raise YiniParseError( + f"Floating-point literal overflows binary64: {text!r}", + line=line, + column=column, + ) + significand = re.split("[eE]", decimal_text, maxsplit=1)[0] + if value == 0.0 and any(char in "123456789" for char in significand): + raise YiniParseError( + f"Floating-point literal underflows to zero: {text!r}", + line=line, + column=column, + ) + return value - return int(decimal_text, 10) + return _check_integer_range(int(decimal_text, 10), text, line, column) except YiniParseError: raise @@ -167,6 +281,18 @@ def parse_number_literal(text, line=None, column=None): ) from None +def _check_integer_range( + value: int, text: str, line: int | None, column: int | None +) -> int: + if not -(1 << 63) <= value < (1 << 63): + raise YiniParseError( + f"Integer literal is outside the signed 64-bit range: {text!r}", + line=line, + column=column, + ) + return value + + def _decode_classic_string( inner: str, *, @@ -206,18 +332,22 @@ def _decode_classic_string( continue if escape == "o": - result.append( - _decode_digits_escape( - inner, - start=index + 2, - length=3, - base=8, - prefix="\\o", + digits = re.match(r"[0-7]{1,3}", inner[index + 2 :]) + if digits is None or int(digits.group(), 8) > 0o377: + _raise_invalid_escape( + "Invalid string escape sequence: \\o requires 1 to 3 octal digits in the range 0 to 377.", line=line, column=column, ) - ) - index += 5 + next_index = index + 2 + len(digits.group()) + if next_index < len(inner) and inner[next_index] in "89": + _raise_invalid_escape( + "Invalid string escape sequence: octal digits must be in the range 0 to 7.", + line=line, + column=column, + ) + result.append(chr(int(digits.group(), 8))) + index = next_index continue if escape == "x": @@ -285,7 +415,7 @@ def _validate_string_content( if ord(char) >= 0x20: continue - if allow_line_breaks and char in {"\n", "\r", "\t"}: + if char == "\t" or (allow_line_breaks and char in {"\n", "\r"}): continue raise YiniParseError( @@ -316,7 +446,10 @@ def _decode_digits_escape( ) try: - return chr(int(digits, base)) + value = int(digits, base) + if 0xD800 <= value <= 0xDFFF: + raise ValueError("Unicode surrogate escape") + return chr(value) except ValueError: _raise_invalid_escape( f"Invalid string escape sequence: {prefix}{digits}.", diff --git a/src/yini_parser/core/yini_builder_visitor.py b/src/yini_parser/core/yini_builder_visitor.py index f992f9d..4e04233 100644 --- a/src/yini_parser/core/yini_builder_visitor.py +++ b/src/yini_parser/core/yini_builder_visitor.py @@ -17,7 +17,11 @@ from ..utils.text import strip_backticks from .section_headers import parse_section_head -from .value_decoders import decode_string_token, parse_number_literal +from .value_decoders import ( + decode_string_token, + normalize_number_literal, + parse_number_literal, +) from .validator import YiniValidator @@ -286,14 +290,13 @@ def visit_assignment(self, ctx: YiniParser.AssignmentContext) -> None: # if an earlier section already exists with this name, the first definition wins. existing = target.get(key) if isinstance(existing, dict): - if not self._validator.handle_key_section_collision( + self._validator.handle_key_section_collision( name=key, existing_kind="section", incoming_kind="key", line=line, column=column, - ): - return None + ) # Duplicate key: if key in target: @@ -308,7 +311,7 @@ def visit_assignment(self, ctx: YiniParser.AssignmentContext) -> None: return None def visit_member(self, ctx: YiniParser.MemberContext) -> tuple[str, Any]: - key = self._decode_key_token(ctx.KEY(), description="key") + key = self._decode_key_token(ctx.identifier().getChild(0), description="key") value_ctx = ctx.value() if value_ctx is None: @@ -427,12 +430,9 @@ def visit_concat_operand(self, ctx: YiniParser.Concat_operandContext) -> str: number_token = ctx.NUMBER() if number_token is not None: - value = parse_number_literal( - number_token.getText(), - line=line, - column=column, + return normalize_number_literal( + number_token.getText(), line=line, column=column ) - return self._number_to_canonical_string(value) true_token = ctx.BOOLEAN_TRUE() if true_token is not None: @@ -552,7 +552,9 @@ def visit_object_member( - The canonical inline object member separator remains `:`. """ - key = self._decode_key_token(ctx.KEY(), description="inline object key") + key = self._decode_key_token( + ctx.identifier().getChild(0), description="inline object key" + ) value = self.visit(ctx.value()) separator_ctx = ctx.object_member_separator() @@ -678,29 +680,20 @@ def _enter_section_with_parsed( return # Existing scalar/other value, incoming section -> collision. - if not self._validator.handle_key_section_collision( + if parent is self._root: + raise YiniParseError( + f"Orphan member and top-level section share the name {name!r}.", + line=line, + column=column, + ) + + self._validator.handle_key_section_collision( name=name, existing_kind="key", incoming_kind="section", line=line, column=column, - ): - self._ignored_section_level = level - return - - def _number_to_canonical_string(self, value: int | float) -> str: - if isinstance(value, bool): - # Defensive only; bool is a subclass of int in Python. - return "true" if value else "false" - - if isinstance(value, int): - return str(value) - - if isinstance(value, float): - # Reasonable first version. You can refine later if needed. - return str(value) - - return str(value) + ) # def _has_trailing_comma(self, ctx: Any) -> bool: # """ diff --git a/src/yini_parser/grammar/generated/YiniLexer.interp b/src/yini_parser/grammar/generated/YiniLexer.interp index f3bfc0b..2c4a196 100644 --- a/src/yini_parser/grammar/generated/YiniLexer.interp +++ b/src/yini_parser/grammar/generated/YiniLexer.interp @@ -137,8 +137,12 @@ EMPTY_LIST STRING RAW_TRIPLE_QUOTED_STRING CLASSIC_TRIPLE_QUOTED_STRING +ESCAPED_TRIPLE_QUOTED_STRING RAW_SINGLE_OR_DOUBLE_STRING CLASSIC_SINGLE_OR_DOUBLE_STRING +ESCAPED_SINGLE_OR_DOUBLE_STRING +COMMAND_TRIPLE_QUOTED_STRING +COMMAND_LINE_BREAK NUMBER CARET SS @@ -159,6 +163,8 @@ SEMICOLON EOL NL SECTION_TAIL_COMMENT +SECTION_SINGLE_LINE_BLOCK_COMMENT +SECTION_BLOCK_COMMENT WS BLOCK_COMMENT DISABLE_LINE_MARKER @@ -178,4 +184,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 40, 813, 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, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 3, 8, 190, 8, 8, 1, 9, 1, 9, 3, 9, 194, 8, 9, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 200, 8, 11, 1, 11, 5, 11, 203, 8, 11, 10, 11, 12, 11, 206, 9, 11, 1, 12, 3, 12, 209, 8, 12, 1, 12, 1, 12, 3, 12, 213, 8, 12, 1, 12, 5, 12, 216, 8, 12, 10, 12, 12, 12, 219, 9, 12, 1, 13, 3, 13, 222, 8, 13, 1, 13, 1, 13, 3, 13, 226, 8, 13, 1, 13, 5, 13, 229, 8, 13, 10, 13, 12, 13, 232, 9, 13, 1, 14, 3, 14, 235, 8, 14, 1, 14, 1, 14, 3, 14, 239, 8, 14, 1, 14, 5, 14, 242, 8, 14, 10, 14, 12, 14, 245, 9, 14, 1, 15, 3, 15, 248, 8, 15, 1, 15, 1, 15, 3, 15, 252, 8, 15, 1, 15, 5, 15, 255, 8, 15, 10, 15, 12, 15, 258, 9, 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, 18, 1, 18, 1, 18, 3, 18, 279, 8, 18, 1, 18, 5, 18, 282, 8, 18, 10, 18, 12, 18, 285, 9, 18, 3, 18, 287, 8, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 296, 8, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 305, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 323, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 328, 8, 26, 10, 26, 12, 26, 331, 9, 26, 1, 27, 1, 27, 5, 27, 335, 8, 27, 10, 27, 12, 27, 338, 9, 27, 1, 27, 1, 27, 1, 28, 1, 28, 3, 28, 344, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 350, 8, 29, 1, 30, 1, 30, 3, 30, 354, 8, 30, 1, 30, 5, 30, 357, 8, 30, 10, 30, 12, 30, 360, 9, 30, 1, 31, 1, 31, 3, 31, 364, 8, 31, 1, 31, 5, 31, 367, 8, 31, 10, 31, 12, 31, 370, 9, 31, 1, 32, 1, 32, 3, 32, 374, 8, 32, 1, 32, 5, 32, 377, 8, 32, 10, 32, 12, 32, 380, 9, 32, 1, 33, 1, 33, 3, 33, 384, 8, 33, 1, 33, 5, 33, 387, 8, 33, 10, 33, 12, 33, 390, 9, 33, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 396, 8, 34, 1, 34, 1, 34, 5, 34, 400, 8, 34, 10, 34, 12, 34, 403, 9, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 4, 35, 410, 8, 35, 11, 35, 12, 35, 411, 1, 35, 5, 35, 415, 8, 35, 10, 35, 12, 35, 418, 9, 35, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 426, 8, 37, 10, 37, 12, 37, 429, 9, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 4, 42, 467, 8, 42, 11, 42, 12, 42, 468, 1, 42, 1, 42, 5, 42, 473, 8, 42, 10, 42, 12, 42, 476, 9, 42, 1, 42, 4, 42, 479, 8, 42, 11, 42, 12, 42, 480, 1, 42, 1, 42, 5, 42, 485, 8, 42, 10, 42, 12, 42, 488, 9, 42, 1, 42, 1, 42, 5, 42, 492, 8, 42, 10, 42, 12, 42, 495, 9, 42, 1, 42, 4, 42, 498, 8, 42, 11, 42, 12, 42, 499, 3, 42, 502, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 508, 8, 43, 1, 43, 5, 43, 511, 8, 43, 10, 43, 12, 43, 514, 9, 43, 1, 43, 4, 43, 517, 8, 43, 11, 43, 12, 43, 518, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 531, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 542, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 559, 8, 49, 1, 50, 3, 50, 562, 8, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 569, 8, 50, 10, 50, 12, 50, 572, 9, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 586, 8, 51, 10, 51, 12, 51, 589, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 3, 52, 596, 8, 52, 1, 52, 1, 52, 5, 52, 600, 8, 52, 10, 52, 12, 52, 603, 9, 52, 1, 52, 1, 52, 3, 52, 607, 8, 52, 1, 52, 1, 52, 5, 52, 611, 8, 52, 10, 52, 12, 52, 614, 9, 52, 1, 52, 3, 52, 617, 8, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 624, 8, 53, 10, 53, 12, 53, 627, 9, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 635, 8, 53, 10, 53, 12, 53, 638, 9, 53, 1, 53, 3, 53, 641, 8, 53, 1, 54, 3, 54, 644, 8, 54, 1, 54, 1, 54, 3, 54, 648, 8, 54, 1, 54, 3, 54, 651, 8, 54, 1, 54, 3, 54, 654, 8, 54, 1, 54, 1, 54, 3, 54, 658, 8, 54, 1, 54, 3, 54, 661, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 667, 8, 54, 3, 54, 669, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 5, 71, 704, 8, 71, 10, 71, 12, 71, 707, 9, 71, 1, 71, 1, 71, 1, 72, 1, 72, 3, 72, 713, 8, 72, 1, 72, 4, 72, 716, 8, 72, 11, 72, 12, 72, 717, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 724, 8, 73, 10, 73, 12, 73, 727, 9, 73, 1, 73, 1, 73, 5, 73, 731, 8, 73, 10, 73, 12, 73, 734, 9, 73, 3, 73, 736, 8, 73, 1, 74, 4, 74, 739, 8, 74, 11, 74, 12, 74, 740, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 749, 8, 75, 10, 75, 12, 75, 752, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 5, 77, 764, 8, 77, 10, 77, 12, 77, 767, 9, 77, 1, 77, 3, 77, 770, 8, 77, 1, 78, 1, 78, 5, 78, 774, 8, 78, 10, 78, 12, 78, 777, 9, 78, 1, 79, 1, 79, 1, 79, 3, 79, 782, 8, 79, 1, 79, 5, 79, 785, 8, 79, 10, 79, 12, 79, 788, 9, 79, 1, 79, 1, 79, 1, 80, 1, 80, 3, 80, 794, 8, 80, 1, 81, 1, 81, 5, 81, 798, 8, 81, 10, 81, 12, 81, 801, 9, 81, 1, 82, 4, 82, 804, 8, 82, 11, 82, 12, 82, 805, 1, 83, 1, 83, 4, 83, 810, 8, 83, 11, 83, 12, 83, 811, 3, 570, 587, 750, 0, 84, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 0, 15, 0, 17, 0, 19, 0, 21, 0, 23, 0, 25, 0, 27, 0, 29, 0, 31, 0, 33, 0, 35, 0, 37, 0, 39, 0, 41, 0, 43, 0, 45, 0, 47, 0, 49, 0, 51, 0, 53, 0, 55, 0, 57, 0, 59, 0, 61, 0, 63, 0, 65, 0, 67, 0, 69, 0, 71, 0, 73, 0, 75, 1, 77, 2, 79, 3, 81, 4, 83, 5, 85, 6, 87, 7, 89, 8, 91, 9, 93, 10, 95, 11, 97, 12, 99, 13, 101, 0, 103, 0, 105, 0, 107, 0, 109, 14, 111, 15, 113, 16, 115, 17, 117, 18, 119, 19, 121, 20, 123, 21, 125, 22, 127, 23, 129, 24, 131, 25, 133, 26, 135, 27, 137, 28, 139, 29, 141, 30, 143, 0, 145, 31, 147, 0, 149, 32, 151, 33, 153, 0, 155, 34, 157, 35, 159, 36, 161, 37, 163, 38, 165, 39, 167, 40, 1, 0, 35, 2, 0, 9, 9, 32, 32, 1, 0, 48, 57, 2, 0, 43, 43, 45, 45, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 1, 0, 48, 55, 6, 0, 65, 66, 69, 69, 88, 88, 97, 98, 101, 101, 120, 120, 2, 0, 65, 70, 97, 102, 1, 0, 49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 66, 66, 98, 98, 2, 0, 79, 79, 111, 111, 2, 0, 90, 90, 122, 122, 2, 0, 88, 88, 120, 120, 2, 0, 72, 72, 104, 104, 2, 0, 0, 31, 96, 96, 15, 0, 9, 10, 13, 13, 32, 32, 34, 35, 39, 39, 44, 45, 47, 58, 60, 62, 64, 64, 91, 91, 93, 94, 96, 96, 123, 123, 125, 125, 167, 167, 2, 0, 10, 10, 13, 13, 2, 0, 89, 89, 121, 121, 2, 0, 73, 73, 105, 105, 2, 0, 78, 78, 110, 110, 2, 0, 67, 67, 99, 99, 2, 0, 76, 76, 108, 108, 2, 0, 85, 85, 117, 117, 2, 0, 68, 68, 100, 100, 2, 0, 80, 80, 112, 112, 2, 0, 82, 82, 114, 114, 2, 0, 65, 65, 97, 97, 2, 0, 84, 84, 116, 116, 2, 0, 70, 70, 102, 102, 2, 0, 83, 83, 115, 115, 3, 0, 10, 10, 13, 13, 39, 39, 3, 0, 10, 10, 13, 13, 34, 34, 4, 0, 10, 10, 13, 13, 39, 39, 92, 92, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 878, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 1, 169, 1, 0, 0, 0, 3, 173, 1, 0, 0, 0, 5, 175, 1, 0, 0, 0, 7, 177, 1, 0, 0, 0, 9, 179, 1, 0, 0, 0, 11, 181, 1, 0, 0, 0, 13, 183, 1, 0, 0, 0, 15, 185, 1, 0, 0, 0, 17, 189, 1, 0, 0, 0, 19, 193, 1, 0, 0, 0, 21, 195, 1, 0, 0, 0, 23, 197, 1, 0, 0, 0, 25, 208, 1, 0, 0, 0, 27, 221, 1, 0, 0, 0, 29, 234, 1, 0, 0, 0, 31, 247, 1, 0, 0, 0, 33, 259, 1, 0, 0, 0, 35, 265, 1, 0, 0, 0, 37, 286, 1, 0, 0, 0, 39, 288, 1, 0, 0, 0, 41, 290, 1, 0, 0, 0, 43, 293, 1, 0, 0, 0, 45, 304, 1, 0, 0, 0, 47, 306, 1, 0, 0, 0, 49, 310, 1, 0, 0, 0, 51, 322, 1, 0, 0, 0, 53, 324, 1, 0, 0, 0, 55, 332, 1, 0, 0, 0, 57, 343, 1, 0, 0, 0, 59, 349, 1, 0, 0, 0, 61, 351, 1, 0, 0, 0, 63, 361, 1, 0, 0, 0, 65, 371, 1, 0, 0, 0, 67, 381, 1, 0, 0, 0, 69, 395, 1, 0, 0, 0, 71, 409, 1, 0, 0, 0, 73, 419, 1, 0, 0, 0, 75, 421, 1, 0, 0, 0, 77, 432, 1, 0, 0, 0, 79, 438, 1, 0, 0, 0, 81, 447, 1, 0, 0, 0, 83, 459, 1, 0, 0, 0, 85, 501, 1, 0, 0, 0, 87, 507, 1, 0, 0, 0, 89, 530, 1, 0, 0, 0, 91, 541, 1, 0, 0, 0, 93, 543, 1, 0, 0, 0, 95, 548, 1, 0, 0, 0, 97, 551, 1, 0, 0, 0, 99, 558, 1, 0, 0, 0, 101, 561, 1, 0, 0, 0, 103, 577, 1, 0, 0, 0, 105, 616, 1, 0, 0, 0, 107, 640, 1, 0, 0, 0, 109, 668, 1, 0, 0, 0, 111, 670, 1, 0, 0, 0, 113, 672, 1, 0, 0, 0, 115, 674, 1, 0, 0, 0, 117, 676, 1, 0, 0, 0, 119, 678, 1, 0, 0, 0, 121, 680, 1, 0, 0, 0, 123, 682, 1, 0, 0, 0, 125, 684, 1, 0, 0, 0, 127, 686, 1, 0, 0, 0, 129, 688, 1, 0, 0, 0, 131, 690, 1, 0, 0, 0, 133, 692, 1, 0, 0, 0, 135, 694, 1, 0, 0, 0, 137, 696, 1, 0, 0, 0, 139, 698, 1, 0, 0, 0, 141, 700, 1, 0, 0, 0, 143, 705, 1, 0, 0, 0, 145, 715, 1, 0, 0, 0, 147, 735, 1, 0, 0, 0, 149, 738, 1, 0, 0, 0, 151, 744, 1, 0, 0, 0, 153, 758, 1, 0, 0, 0, 155, 761, 1, 0, 0, 0, 157, 771, 1, 0, 0, 0, 159, 781, 1, 0, 0, 0, 161, 793, 1, 0, 0, 0, 163, 795, 1, 0, 0, 0, 165, 803, 1, 0, 0, 0, 167, 807, 1, 0, 0, 0, 169, 170, 2, 48, 49, 0, 170, 171, 2, 48, 49, 0, 171, 172, 2, 48, 49, 0, 172, 2, 1, 0, 0, 0, 173, 174, 7, 0, 0, 0, 174, 4, 1, 0, 0, 0, 175, 176, 7, 1, 0, 0, 176, 6, 1, 0, 0, 0, 177, 178, 7, 2, 0, 0, 178, 8, 1, 0, 0, 0, 179, 180, 7, 3, 0, 0, 180, 10, 1, 0, 0, 0, 181, 182, 7, 4, 0, 0, 182, 12, 1, 0, 0, 0, 183, 184, 2, 48, 49, 0, 184, 14, 1, 0, 0, 0, 185, 186, 7, 5, 0, 0, 186, 16, 1, 0, 0, 0, 187, 190, 3, 5, 2, 0, 188, 190, 7, 6, 0, 0, 189, 187, 1, 0, 0, 0, 189, 188, 1, 0, 0, 0, 190, 18, 1, 0, 0, 0, 191, 194, 3, 5, 2, 0, 192, 194, 7, 7, 0, 0, 193, 191, 1, 0, 0, 0, 193, 192, 1, 0, 0, 0, 194, 20, 1, 0, 0, 0, 195, 196, 5, 95, 0, 0, 196, 22, 1, 0, 0, 0, 197, 204, 3, 5, 2, 0, 198, 200, 3, 21, 10, 0, 199, 198, 1, 0, 0, 0, 199, 200, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 203, 3, 5, 2, 0, 202, 199, 1, 0, 0, 0, 203, 206, 1, 0, 0, 0, 204, 202, 1, 0, 0, 0, 204, 205, 1, 0, 0, 0, 205, 24, 1, 0, 0, 0, 206, 204, 1, 0, 0, 0, 207, 209, 3, 21, 10, 0, 208, 207, 1, 0, 0, 0, 208, 209, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 217, 3, 13, 6, 0, 211, 213, 3, 21, 10, 0, 212, 211, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 216, 3, 13, 6, 0, 215, 212, 1, 0, 0, 0, 216, 219, 1, 0, 0, 0, 217, 215, 1, 0, 0, 0, 217, 218, 1, 0, 0, 0, 218, 26, 1, 0, 0, 0, 219, 217, 1, 0, 0, 0, 220, 222, 3, 21, 10, 0, 221, 220, 1, 0, 0, 0, 221, 222, 1, 0, 0, 0, 222, 223, 1, 0, 0, 0, 223, 230, 3, 15, 7, 0, 224, 226, 3, 21, 10, 0, 225, 224, 1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 227, 1, 0, 0, 0, 227, 229, 3, 15, 7, 0, 228, 225, 1, 0, 0, 0, 229, 232, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 230, 231, 1, 0, 0, 0, 231, 28, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 233, 235, 3, 21, 10, 0, 234, 233, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 236, 1, 0, 0, 0, 236, 243, 3, 17, 8, 0, 237, 239, 3, 21, 10, 0, 238, 237, 1, 0, 0, 0, 238, 239, 1, 0, 0, 0, 239, 240, 1, 0, 0, 0, 240, 242, 3, 17, 8, 0, 241, 238, 1, 0, 0, 0, 242, 245, 1, 0, 0, 0, 243, 241, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 30, 1, 0, 0, 0, 245, 243, 1, 0, 0, 0, 246, 248, 3, 21, 10, 0, 247, 246, 1, 0, 0, 0, 247, 248, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 256, 3, 19, 9, 0, 250, 252, 3, 21, 10, 0, 251, 250, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 255, 3, 19, 9, 0, 254, 251, 1, 0, 0, 0, 255, 258, 1, 0, 0, 0, 256, 254, 1, 0, 0, 0, 256, 257, 1, 0, 0, 0, 257, 32, 1, 0, 0, 0, 258, 256, 1, 0, 0, 0, 259, 260, 5, 117, 0, 0, 260, 261, 3, 19, 9, 0, 261, 262, 3, 19, 9, 0, 262, 263, 3, 19, 9, 0, 263, 264, 3, 19, 9, 0, 264, 34, 1, 0, 0, 0, 265, 266, 5, 85, 0, 0, 266, 267, 3, 19, 9, 0, 267, 268, 3, 19, 9, 0, 268, 269, 3, 19, 9, 0, 269, 270, 3, 19, 9, 0, 270, 271, 3, 19, 9, 0, 271, 272, 3, 19, 9, 0, 272, 273, 3, 19, 9, 0, 273, 274, 3, 19, 9, 0, 274, 36, 1, 0, 0, 0, 275, 287, 5, 48, 0, 0, 276, 283, 7, 8, 0, 0, 277, 279, 3, 21, 10, 0, 278, 277, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 282, 3, 5, 2, 0, 281, 278, 1, 0, 0, 0, 282, 285, 1, 0, 0, 0, 283, 281, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 287, 1, 0, 0, 0, 285, 283, 1, 0, 0, 0, 286, 275, 1, 0, 0, 0, 286, 276, 1, 0, 0, 0, 287, 38, 1, 0, 0, 0, 288, 289, 3, 37, 18, 0, 289, 40, 1, 0, 0, 0, 290, 291, 5, 46, 0, 0, 291, 292, 3, 23, 11, 0, 292, 42, 1, 0, 0, 0, 293, 295, 7, 9, 0, 0, 294, 296, 3, 7, 3, 0, 295, 294, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 298, 3, 23, 11, 0, 298, 44, 1, 0, 0, 0, 299, 300, 5, 48, 0, 0, 300, 301, 7, 10, 0, 0, 301, 305, 3, 25, 12, 0, 302, 303, 5, 37, 0, 0, 303, 305, 3, 25, 12, 0, 304, 299, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 46, 1, 0, 0, 0, 306, 307, 5, 48, 0, 0, 307, 308, 7, 11, 0, 0, 308, 309, 3, 27, 13, 0, 309, 48, 1, 0, 0, 0, 310, 311, 5, 48, 0, 0, 311, 312, 7, 12, 0, 0, 312, 313, 3, 29, 14, 0, 313, 50, 1, 0, 0, 0, 314, 315, 5, 48, 0, 0, 315, 316, 7, 13, 0, 0, 316, 323, 3, 31, 15, 0, 317, 318, 7, 14, 0, 0, 318, 319, 7, 9, 0, 0, 319, 320, 7, 13, 0, 0, 320, 321, 5, 58, 0, 0, 321, 323, 3, 31, 15, 0, 322, 314, 1, 0, 0, 0, 322, 317, 1, 0, 0, 0, 323, 52, 1, 0, 0, 0, 324, 329, 3, 9, 4, 0, 325, 328, 3, 11, 5, 0, 326, 328, 5, 46, 0, 0, 327, 325, 1, 0, 0, 0, 327, 326, 1, 0, 0, 0, 328, 331, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 54, 1, 0, 0, 0, 331, 329, 1, 0, 0, 0, 332, 336, 5, 96, 0, 0, 333, 335, 8, 15, 0, 0, 334, 333, 1, 0, 0, 0, 335, 338, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 339, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 339, 340, 5, 96, 0, 0, 340, 56, 1, 0, 0, 0, 341, 344, 3, 53, 26, 0, 342, 344, 3, 55, 27, 0, 343, 341, 1, 0, 0, 0, 343, 342, 1, 0, 0, 0, 344, 58, 1, 0, 0, 0, 345, 350, 3, 61, 30, 0, 346, 350, 3, 63, 31, 0, 347, 350, 3, 65, 32, 0, 348, 350, 3, 67, 33, 0, 349, 345, 1, 0, 0, 0, 349, 346, 1, 0, 0, 0, 349, 347, 1, 0, 0, 0, 349, 348, 1, 0, 0, 0, 350, 60, 1, 0, 0, 0, 351, 358, 3, 111, 55, 0, 352, 354, 3, 21, 10, 0, 353, 352, 1, 0, 0, 0, 353, 354, 1, 0, 0, 0, 354, 355, 1, 0, 0, 0, 355, 357, 3, 111, 55, 0, 356, 353, 1, 0, 0, 0, 357, 360, 1, 0, 0, 0, 358, 356, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 62, 1, 0, 0, 0, 360, 358, 1, 0, 0, 0, 361, 368, 3, 113, 56, 0, 362, 364, 3, 21, 10, 0, 363, 362, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 365, 1, 0, 0, 0, 365, 367, 3, 113, 56, 0, 366, 363, 1, 0, 0, 0, 367, 370, 1, 0, 0, 0, 368, 366, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 64, 1, 0, 0, 0, 370, 368, 1, 0, 0, 0, 371, 378, 3, 115, 57, 0, 372, 374, 3, 21, 10, 0, 373, 372, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 377, 3, 115, 57, 0, 376, 373, 1, 0, 0, 0, 377, 380, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 66, 1, 0, 0, 0, 380, 378, 1, 0, 0, 0, 381, 388, 3, 117, 58, 0, 382, 384, 3, 21, 10, 0, 383, 382, 1, 0, 0, 0, 383, 384, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 387, 3, 117, 58, 0, 386, 383, 1, 0, 0, 0, 387, 390, 1, 0, 0, 0, 388, 386, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 68, 1, 0, 0, 0, 390, 388, 1, 0, 0, 0, 391, 396, 3, 111, 55, 0, 392, 396, 3, 113, 56, 0, 393, 396, 3, 115, 57, 0, 394, 396, 3, 117, 58, 0, 395, 391, 1, 0, 0, 0, 395, 392, 1, 0, 0, 0, 395, 393, 1, 0, 0, 0, 395, 394, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 401, 7, 8, 0, 0, 398, 400, 3, 5, 2, 0, 399, 398, 1, 0, 0, 0, 400, 403, 1, 0, 0, 0, 401, 399, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 70, 1, 0, 0, 0, 403, 401, 1, 0, 0, 0, 404, 410, 3, 111, 55, 0, 405, 410, 3, 113, 56, 0, 406, 410, 3, 115, 57, 0, 407, 410, 3, 117, 58, 0, 408, 410, 3, 21, 10, 0, 409, 404, 1, 0, 0, 0, 409, 405, 1, 0, 0, 0, 409, 406, 1, 0, 0, 0, 409, 407, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 416, 1, 0, 0, 0, 413, 415, 3, 5, 2, 0, 414, 413, 1, 0, 0, 0, 415, 418, 1, 0, 0, 0, 416, 414, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 72, 1, 0, 0, 0, 418, 416, 1, 0, 0, 0, 419, 420, 8, 16, 0, 0, 420, 74, 1, 0, 0, 0, 421, 422, 5, 35, 0, 0, 422, 423, 5, 33, 0, 0, 423, 427, 1, 0, 0, 0, 424, 426, 8, 17, 0, 0, 425, 424, 1, 0, 0, 0, 426, 429, 1, 0, 0, 0, 427, 425, 1, 0, 0, 0, 427, 428, 1, 0, 0, 0, 428, 430, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 430, 431, 3, 143, 71, 0, 431, 76, 1, 0, 0, 0, 432, 433, 5, 64, 0, 0, 433, 434, 7, 18, 0, 0, 434, 435, 7, 19, 0, 0, 435, 436, 7, 20, 0, 0, 436, 437, 7, 19, 0, 0, 437, 78, 1, 0, 0, 0, 438, 439, 5, 64, 0, 0, 439, 440, 7, 19, 0, 0, 440, 441, 7, 20, 0, 0, 441, 442, 7, 21, 0, 0, 442, 443, 7, 22, 0, 0, 443, 444, 7, 23, 0, 0, 444, 445, 7, 24, 0, 0, 445, 446, 7, 9, 0, 0, 446, 80, 1, 0, 0, 0, 447, 448, 5, 64, 0, 0, 448, 449, 7, 24, 0, 0, 449, 450, 7, 9, 0, 0, 450, 451, 7, 25, 0, 0, 451, 452, 7, 26, 0, 0, 452, 453, 7, 9, 0, 0, 453, 454, 7, 21, 0, 0, 454, 455, 7, 27, 0, 0, 455, 456, 7, 28, 0, 0, 456, 457, 7, 9, 0, 0, 457, 458, 7, 24, 0, 0, 458, 82, 1, 0, 0, 0, 459, 460, 5, 47, 0, 0, 460, 461, 7, 9, 0, 0, 461, 462, 7, 20, 0, 0, 462, 463, 7, 24, 0, 0, 463, 84, 1, 0, 0, 0, 464, 466, 3, 69, 34, 0, 465, 467, 3, 3, 1, 0, 466, 465, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 470, 1, 0, 0, 0, 470, 474, 3, 57, 28, 0, 471, 473, 3, 3, 1, 0, 472, 471, 1, 0, 0, 0, 473, 476, 1, 0, 0, 0, 474, 472, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 478, 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 477, 479, 3, 143, 71, 0, 478, 477, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 478, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 502, 1, 0, 0, 0, 482, 486, 3, 59, 29, 0, 483, 485, 3, 3, 1, 0, 484, 483, 1, 0, 0, 0, 485, 488, 1, 0, 0, 0, 486, 484, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 489, 1, 0, 0, 0, 488, 486, 1, 0, 0, 0, 489, 493, 3, 57, 28, 0, 490, 492, 3, 3, 1, 0, 491, 490, 1, 0, 0, 0, 492, 495, 1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 497, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 496, 498, 3, 143, 71, 0, 497, 496, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 497, 1, 0, 0, 0, 499, 500, 1, 0, 0, 0, 500, 502, 1, 0, 0, 0, 501, 464, 1, 0, 0, 0, 501, 482, 1, 0, 0, 0, 502, 86, 1, 0, 0, 0, 503, 508, 3, 111, 55, 0, 504, 508, 3, 113, 56, 0, 505, 508, 3, 115, 57, 0, 506, 508, 3, 117, 58, 0, 507, 503, 1, 0, 0, 0, 507, 504, 1, 0, 0, 0, 507, 505, 1, 0, 0, 0, 507, 506, 1, 0, 0, 0, 508, 512, 1, 0, 0, 0, 509, 511, 8, 17, 0, 0, 510, 509, 1, 0, 0, 0, 511, 514, 1, 0, 0, 0, 512, 510, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 516, 1, 0, 0, 0, 514, 512, 1, 0, 0, 0, 515, 517, 3, 143, 71, 0, 516, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 516, 1, 0, 0, 0, 518, 519, 1, 0, 0, 0, 519, 88, 1, 0, 0, 0, 520, 521, 7, 29, 0, 0, 521, 522, 7, 27, 0, 0, 522, 523, 7, 22, 0, 0, 523, 524, 7, 30, 0, 0, 524, 531, 7, 9, 0, 0, 525, 526, 7, 11, 0, 0, 526, 527, 7, 29, 0, 0, 527, 531, 7, 29, 0, 0, 528, 529, 7, 20, 0, 0, 529, 531, 7, 11, 0, 0, 530, 520, 1, 0, 0, 0, 530, 525, 1, 0, 0, 0, 530, 528, 1, 0, 0, 0, 531, 90, 1, 0, 0, 0, 532, 533, 7, 28, 0, 0, 533, 534, 7, 26, 0, 0, 534, 535, 7, 23, 0, 0, 535, 542, 7, 9, 0, 0, 536, 537, 7, 11, 0, 0, 537, 542, 7, 20, 0, 0, 538, 539, 7, 18, 0, 0, 539, 540, 7, 9, 0, 0, 540, 542, 7, 30, 0, 0, 541, 532, 1, 0, 0, 0, 541, 536, 1, 0, 0, 0, 541, 538, 1, 0, 0, 0, 542, 92, 1, 0, 0, 0, 543, 544, 7, 20, 0, 0, 544, 545, 7, 23, 0, 0, 545, 546, 7, 22, 0, 0, 546, 547, 7, 22, 0, 0, 547, 94, 1, 0, 0, 0, 548, 549, 5, 123, 0, 0, 549, 550, 5, 125, 0, 0, 550, 96, 1, 0, 0, 0, 551, 552, 5, 91, 0, 0, 552, 553, 5, 93, 0, 0, 553, 98, 1, 0, 0, 0, 554, 559, 3, 103, 51, 0, 555, 559, 3, 101, 50, 0, 556, 559, 3, 107, 53, 0, 557, 559, 3, 105, 52, 0, 558, 554, 1, 0, 0, 0, 558, 555, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 558, 557, 1, 0, 0, 0, 559, 100, 1, 0, 0, 0, 560, 562, 7, 26, 0, 0, 561, 560, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 5, 34, 0, 0, 564, 565, 5, 34, 0, 0, 565, 566, 5, 34, 0, 0, 566, 570, 1, 0, 0, 0, 567, 569, 9, 0, 0, 0, 568, 567, 1, 0, 0, 0, 569, 572, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 570, 568, 1, 0, 0, 0, 571, 573, 1, 0, 0, 0, 572, 570, 1, 0, 0, 0, 573, 574, 5, 34, 0, 0, 574, 575, 5, 34, 0, 0, 575, 576, 5, 34, 0, 0, 576, 102, 1, 0, 0, 0, 577, 578, 7, 21, 0, 0, 578, 579, 5, 34, 0, 0, 579, 580, 5, 34, 0, 0, 580, 581, 5, 34, 0, 0, 581, 587, 1, 0, 0, 0, 582, 583, 5, 92, 0, 0, 583, 586, 9, 0, 0, 0, 584, 586, 9, 0, 0, 0, 585, 582, 1, 0, 0, 0, 585, 584, 1, 0, 0, 0, 586, 589, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 587, 585, 1, 0, 0, 0, 588, 590, 1, 0, 0, 0, 589, 587, 1, 0, 0, 0, 590, 591, 5, 34, 0, 0, 591, 592, 5, 34, 0, 0, 592, 593, 5, 34, 0, 0, 593, 104, 1, 0, 0, 0, 594, 596, 7, 26, 0, 0, 595, 594, 1, 0, 0, 0, 595, 596, 1, 0, 0, 0, 596, 597, 1, 0, 0, 0, 597, 601, 5, 39, 0, 0, 598, 600, 8, 31, 0, 0, 599, 598, 1, 0, 0, 0, 600, 603, 1, 0, 0, 0, 601, 599, 1, 0, 0, 0, 601, 602, 1, 0, 0, 0, 602, 604, 1, 0, 0, 0, 603, 601, 1, 0, 0, 0, 604, 617, 5, 39, 0, 0, 605, 607, 7, 26, 0, 0, 606, 605, 1, 0, 0, 0, 606, 607, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 612, 5, 34, 0, 0, 609, 611, 8, 32, 0, 0, 610, 609, 1, 0, 0, 0, 611, 614, 1, 0, 0, 0, 612, 610, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 615, 1, 0, 0, 0, 614, 612, 1, 0, 0, 0, 615, 617, 5, 34, 0, 0, 616, 595, 1, 0, 0, 0, 616, 606, 1, 0, 0, 0, 617, 106, 1, 0, 0, 0, 618, 619, 7, 21, 0, 0, 619, 625, 5, 39, 0, 0, 620, 621, 5, 92, 0, 0, 621, 624, 8, 17, 0, 0, 622, 624, 8, 33, 0, 0, 623, 620, 1, 0, 0, 0, 623, 622, 1, 0, 0, 0, 624, 627, 1, 0, 0, 0, 625, 623, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 628, 1, 0, 0, 0, 627, 625, 1, 0, 0, 0, 628, 641, 5, 39, 0, 0, 629, 630, 7, 21, 0, 0, 630, 636, 5, 34, 0, 0, 631, 632, 5, 92, 0, 0, 632, 635, 8, 17, 0, 0, 633, 635, 8, 34, 0, 0, 634, 631, 1, 0, 0, 0, 634, 633, 1, 0, 0, 0, 635, 638, 1, 0, 0, 0, 636, 634, 1, 0, 0, 0, 636, 637, 1, 0, 0, 0, 637, 639, 1, 0, 0, 0, 638, 636, 1, 0, 0, 0, 639, 641, 5, 34, 0, 0, 640, 618, 1, 0, 0, 0, 640, 629, 1, 0, 0, 0, 641, 108, 1, 0, 0, 0, 642, 644, 3, 7, 3, 0, 643, 642, 1, 0, 0, 0, 643, 644, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 647, 3, 39, 19, 0, 646, 648, 3, 41, 20, 0, 647, 646, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 650, 1, 0, 0, 0, 649, 651, 3, 43, 21, 0, 650, 649, 1, 0, 0, 0, 650, 651, 1, 0, 0, 0, 651, 669, 1, 0, 0, 0, 652, 654, 3, 7, 3, 0, 653, 652, 1, 0, 0, 0, 653, 654, 1, 0, 0, 0, 654, 655, 1, 0, 0, 0, 655, 657, 3, 41, 20, 0, 656, 658, 3, 43, 21, 0, 657, 656, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 669, 1, 0, 0, 0, 659, 661, 3, 7, 3, 0, 660, 659, 1, 0, 0, 0, 660, 661, 1, 0, 0, 0, 661, 666, 1, 0, 0, 0, 662, 667, 3, 45, 22, 0, 663, 667, 3, 47, 23, 0, 664, 667, 3, 49, 24, 0, 665, 667, 3, 51, 25, 0, 666, 662, 1, 0, 0, 0, 666, 663, 1, 0, 0, 0, 666, 664, 1, 0, 0, 0, 666, 665, 1, 0, 0, 0, 667, 669, 1, 0, 0, 0, 668, 643, 1, 0, 0, 0, 668, 653, 1, 0, 0, 0, 668, 660, 1, 0, 0, 0, 669, 110, 1, 0, 0, 0, 670, 671, 5, 94, 0, 0, 671, 112, 1, 0, 0, 0, 672, 673, 5, 167, 0, 0, 673, 114, 1, 0, 0, 0, 674, 675, 5, 62, 0, 0, 675, 116, 1, 0, 0, 0, 676, 677, 5, 60, 0, 0, 677, 118, 1, 0, 0, 0, 678, 679, 5, 61, 0, 0, 679, 120, 1, 0, 0, 0, 680, 681, 5, 44, 0, 0, 681, 122, 1, 0, 0, 0, 682, 683, 5, 58, 0, 0, 683, 124, 1, 0, 0, 0, 684, 685, 5, 91, 0, 0, 685, 126, 1, 0, 0, 0, 686, 687, 5, 93, 0, 0, 687, 128, 1, 0, 0, 0, 688, 689, 5, 123, 0, 0, 689, 130, 1, 0, 0, 0, 690, 691, 5, 125, 0, 0, 691, 132, 1, 0, 0, 0, 692, 693, 5, 43, 0, 0, 693, 134, 1, 0, 0, 0, 694, 695, 5, 36, 0, 0, 695, 136, 1, 0, 0, 0, 696, 697, 5, 37, 0, 0, 697, 138, 1, 0, 0, 0, 698, 699, 5, 64, 0, 0, 699, 140, 1, 0, 0, 0, 700, 701, 5, 59, 0, 0, 701, 142, 1, 0, 0, 0, 702, 704, 3, 147, 73, 0, 703, 702, 1, 0, 0, 0, 704, 707, 1, 0, 0, 0, 705, 703, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 708, 1, 0, 0, 0, 707, 705, 1, 0, 0, 0, 708, 709, 3, 145, 72, 0, 709, 144, 1, 0, 0, 0, 710, 712, 5, 13, 0, 0, 711, 713, 5, 10, 0, 0, 712, 711, 1, 0, 0, 0, 712, 713, 1, 0, 0, 0, 713, 716, 1, 0, 0, 0, 714, 716, 5, 10, 0, 0, 715, 710, 1, 0, 0, 0, 715, 714, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 715, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 146, 1, 0, 0, 0, 719, 720, 5, 47, 0, 0, 720, 721, 5, 47, 0, 0, 721, 725, 1, 0, 0, 0, 722, 724, 8, 17, 0, 0, 723, 722, 1, 0, 0, 0, 724, 727, 1, 0, 0, 0, 725, 723, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 736, 1, 0, 0, 0, 727, 725, 1, 0, 0, 0, 728, 732, 5, 35, 0, 0, 729, 731, 8, 17, 0, 0, 730, 729, 1, 0, 0, 0, 731, 734, 1, 0, 0, 0, 732, 730, 1, 0, 0, 0, 732, 733, 1, 0, 0, 0, 733, 736, 1, 0, 0, 0, 734, 732, 1, 0, 0, 0, 735, 719, 1, 0, 0, 0, 735, 728, 1, 0, 0, 0, 736, 148, 1, 0, 0, 0, 737, 739, 3, 3, 1, 0, 738, 737, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 738, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 743, 6, 74, 0, 0, 743, 150, 1, 0, 0, 0, 744, 745, 5, 47, 0, 0, 745, 746, 5, 42, 0, 0, 746, 750, 1, 0, 0, 0, 747, 749, 9, 0, 0, 0, 748, 747, 1, 0, 0, 0, 749, 752, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 750, 748, 1, 0, 0, 0, 751, 753, 1, 0, 0, 0, 752, 750, 1, 0, 0, 0, 753, 754, 5, 42, 0, 0, 754, 755, 5, 47, 0, 0, 755, 756, 1, 0, 0, 0, 756, 757, 6, 75, 0, 0, 757, 152, 1, 0, 0, 0, 758, 759, 5, 45, 0, 0, 759, 760, 5, 45, 0, 0, 760, 154, 1, 0, 0, 0, 761, 765, 3, 153, 76, 0, 762, 764, 8, 17, 0, 0, 763, 762, 1, 0, 0, 0, 764, 767, 1, 0, 0, 0, 765, 763, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 769, 1, 0, 0, 0, 767, 765, 1, 0, 0, 0, 768, 770, 3, 143, 71, 0, 769, 768, 1, 0, 0, 0, 769, 770, 1, 0, 0, 0, 770, 156, 1, 0, 0, 0, 771, 775, 5, 59, 0, 0, 772, 774, 8, 17, 0, 0, 773, 772, 1, 0, 0, 0, 774, 777, 1, 0, 0, 0, 775, 773, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 158, 1, 0, 0, 0, 777, 775, 1, 0, 0, 0, 778, 779, 5, 47, 0, 0, 779, 782, 5, 47, 0, 0, 780, 782, 5, 35, 0, 0, 781, 778, 1, 0, 0, 0, 781, 780, 1, 0, 0, 0, 782, 786, 1, 0, 0, 0, 783, 785, 8, 17, 0, 0, 784, 783, 1, 0, 0, 0, 785, 788, 1, 0, 0, 0, 786, 784, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 789, 1, 0, 0, 0, 788, 786, 1, 0, 0, 0, 789, 790, 6, 79, 0, 0, 790, 160, 1, 0, 0, 0, 791, 794, 3, 57, 28, 0, 792, 794, 3, 163, 81, 0, 793, 791, 1, 0, 0, 0, 793, 792, 1, 0, 0, 0, 794, 162, 1, 0, 0, 0, 795, 799, 7, 1, 0, 0, 796, 798, 7, 4, 0, 0, 797, 796, 1, 0, 0, 0, 798, 801, 1, 0, 0, 0, 799, 797, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 164, 1, 0, 0, 0, 801, 799, 1, 0, 0, 0, 802, 804, 3, 73, 36, 0, 803, 802, 1, 0, 0, 0, 804, 805, 1, 0, 0, 0, 805, 803, 1, 0, 0, 0, 805, 806, 1, 0, 0, 0, 806, 166, 1, 0, 0, 0, 807, 809, 3, 139, 69, 0, 808, 810, 3, 165, 82, 0, 809, 808, 1, 0, 0, 0, 810, 811, 1, 0, 0, 0, 811, 809, 1, 0, 0, 0, 811, 812, 1, 0, 0, 0, 812, 168, 1, 0, 0, 0, 95, 0, 189, 193, 199, 204, 208, 212, 217, 221, 225, 230, 234, 238, 243, 247, 251, 256, 278, 283, 286, 295, 304, 322, 327, 329, 336, 343, 349, 353, 358, 363, 368, 373, 378, 383, 388, 395, 401, 409, 411, 416, 427, 468, 474, 480, 486, 493, 499, 501, 507, 512, 518, 530, 541, 558, 561, 570, 585, 587, 595, 601, 606, 612, 616, 623, 625, 634, 636, 640, 643, 647, 650, 653, 657, 660, 666, 668, 705, 712, 715, 717, 725, 732, 735, 740, 750, 765, 769, 775, 781, 786, 793, 799, 805, 811, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 40, 970, 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, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 3, 8, 202, 8, 8, 1, 9, 1, 9, 3, 9, 206, 8, 9, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 212, 8, 11, 1, 11, 5, 11, 215, 8, 11, 10, 11, 12, 11, 218, 9, 11, 1, 12, 3, 12, 221, 8, 12, 1, 12, 1, 12, 3, 12, 225, 8, 12, 1, 12, 5, 12, 228, 8, 12, 10, 12, 12, 12, 231, 9, 12, 1, 13, 3, 13, 234, 8, 13, 1, 13, 1, 13, 3, 13, 238, 8, 13, 1, 13, 5, 13, 241, 8, 13, 10, 13, 12, 13, 244, 9, 13, 1, 14, 3, 14, 247, 8, 14, 1, 14, 1, 14, 3, 14, 251, 8, 14, 1, 14, 5, 14, 254, 8, 14, 10, 14, 12, 14, 257, 9, 14, 1, 15, 3, 15, 260, 8, 15, 1, 15, 1, 15, 3, 15, 264, 8, 15, 1, 15, 5, 15, 267, 8, 15, 10, 15, 12, 15, 270, 9, 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, 18, 1, 18, 1, 18, 3, 18, 291, 8, 18, 1, 18, 5, 18, 294, 8, 18, 10, 18, 12, 18, 297, 9, 18, 3, 18, 299, 8, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 308, 8, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 317, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 335, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 340, 8, 26, 10, 26, 12, 26, 343, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 349, 8, 27, 10, 27, 12, 27, 352, 9, 27, 1, 27, 1, 27, 1, 28, 1, 28, 3, 28, 358, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 364, 8, 29, 1, 30, 1, 30, 3, 30, 368, 8, 30, 1, 30, 5, 30, 371, 8, 30, 10, 30, 12, 30, 374, 9, 30, 1, 31, 1, 31, 3, 31, 378, 8, 31, 1, 31, 5, 31, 381, 8, 31, 10, 31, 12, 31, 384, 9, 31, 1, 32, 1, 32, 3, 32, 388, 8, 32, 1, 32, 5, 32, 391, 8, 32, 10, 32, 12, 32, 394, 9, 32, 1, 33, 1, 33, 3, 33, 398, 8, 33, 1, 33, 5, 33, 401, 8, 33, 10, 33, 12, 33, 404, 9, 33, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 410, 8, 34, 1, 34, 1, 34, 5, 34, 414, 8, 34, 10, 34, 12, 34, 417, 9, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 4, 35, 424, 8, 35, 11, 35, 12, 35, 425, 1, 35, 5, 35, 429, 8, 35, 10, 35, 12, 35, 432, 9, 35, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 440, 8, 37, 10, 37, 12, 37, 443, 9, 37, 1, 37, 1, 37, 3, 37, 447, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 4, 42, 483, 8, 42, 11, 42, 12, 42, 484, 1, 42, 1, 42, 5, 42, 489, 8, 42, 10, 42, 12, 42, 492, 9, 42, 1, 42, 1, 42, 1, 42, 5, 42, 497, 8, 42, 10, 42, 12, 42, 500, 9, 42, 1, 42, 4, 42, 503, 8, 42, 11, 42, 12, 42, 504, 1, 42, 5, 42, 508, 8, 42, 10, 42, 12, 42, 511, 9, 42, 1, 42, 3, 42, 514, 8, 42, 1, 42, 1, 42, 1, 42, 5, 42, 519, 8, 42, 10, 42, 12, 42, 522, 9, 42, 1, 42, 1, 42, 1, 42, 5, 42, 527, 8, 42, 10, 42, 12, 42, 530, 9, 42, 1, 42, 4, 42, 533, 8, 42, 11, 42, 12, 42, 534, 1, 42, 5, 42, 538, 8, 42, 10, 42, 12, 42, 541, 9, 42, 1, 42, 3, 42, 544, 8, 42, 3, 42, 546, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 552, 8, 43, 1, 43, 5, 43, 555, 8, 43, 10, 43, 12, 43, 558, 9, 43, 1, 43, 4, 43, 561, 8, 43, 11, 43, 12, 43, 562, 1, 43, 3, 43, 566, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 578, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 589, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 609, 8, 49, 1, 50, 3, 50, 612, 8, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 619, 8, 50, 10, 50, 12, 50, 622, 9, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 636, 8, 51, 10, 51, 12, 51, 639, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 653, 8, 52, 10, 52, 12, 52, 656, 9, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 3, 53, 663, 8, 53, 1, 53, 1, 53, 5, 53, 667, 8, 53, 10, 53, 12, 53, 670, 9, 53, 1, 53, 1, 53, 3, 53, 674, 8, 53, 1, 53, 1, 53, 5, 53, 678, 8, 53, 10, 53, 12, 53, 681, 9, 53, 1, 53, 3, 53, 684, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 691, 8, 54, 10, 54, 12, 54, 694, 9, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 702, 8, 54, 10, 54, 12, 54, 705, 9, 54, 1, 54, 3, 54, 708, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 715, 8, 55, 10, 55, 12, 55, 718, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 726, 8, 55, 10, 55, 12, 55, 729, 9, 55, 1, 55, 3, 55, 732, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 748, 8, 56, 10, 56, 12, 56, 751, 9, 56, 1, 56, 5, 56, 754, 8, 56, 10, 56, 12, 56, 757, 9, 56, 1, 56, 5, 56, 760, 8, 56, 10, 56, 12, 56, 763, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 3, 57, 771, 8, 57, 1, 57, 3, 57, 774, 8, 57, 1, 58, 3, 58, 777, 8, 58, 1, 58, 1, 58, 3, 58, 781, 8, 58, 1, 58, 3, 58, 784, 8, 58, 1, 58, 3, 58, 787, 8, 58, 1, 58, 1, 58, 3, 58, 791, 8, 58, 1, 58, 3, 58, 794, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 800, 8, 58, 3, 58, 802, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 5, 75, 837, 8, 75, 10, 75, 12, 75, 840, 9, 75, 1, 75, 1, 75, 1, 76, 1, 76, 3, 76, 846, 8, 76, 1, 76, 4, 76, 849, 8, 76, 11, 76, 12, 76, 850, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 857, 8, 77, 10, 77, 12, 77, 860, 9, 77, 1, 77, 1, 77, 5, 77, 864, 8, 77, 10, 77, 12, 77, 867, 9, 77, 3, 77, 869, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 875, 8, 78, 10, 78, 12, 78, 878, 9, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 5, 79, 887, 8, 79, 10, 79, 12, 79, 890, 9, 79, 1, 79, 1, 79, 1, 79, 1, 80, 4, 80, 896, 8, 80, 11, 80, 12, 80, 897, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 906, 8, 81, 10, 81, 12, 81, 909, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 5, 83, 921, 8, 83, 10, 83, 12, 83, 924, 9, 83, 1, 83, 3, 83, 927, 8, 83, 1, 84, 1, 84, 5, 84, 931, 8, 84, 10, 84, 12, 84, 934, 9, 84, 1, 85, 1, 85, 1, 85, 3, 85, 939, 8, 85, 1, 85, 5, 85, 942, 8, 85, 10, 85, 12, 85, 945, 9, 85, 1, 85, 1, 85, 1, 86, 1, 86, 3, 86, 951, 8, 86, 1, 87, 1, 87, 5, 87, 955, 8, 87, 10, 87, 12, 87, 958, 9, 87, 1, 88, 4, 88, 961, 8, 88, 11, 88, 12, 88, 962, 1, 89, 1, 89, 4, 89, 967, 8, 89, 11, 89, 12, 89, 968, 7, 620, 637, 654, 755, 876, 888, 907, 0, 90, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 0, 15, 0, 17, 0, 19, 0, 21, 0, 23, 0, 25, 0, 27, 0, 29, 0, 31, 0, 33, 0, 35, 0, 37, 0, 39, 0, 41, 0, 43, 0, 45, 0, 47, 0, 49, 0, 51, 0, 53, 0, 55, 0, 57, 0, 59, 0, 61, 0, 63, 0, 65, 0, 67, 0, 69, 0, 71, 0, 73, 0, 75, 1, 77, 2, 79, 3, 81, 4, 83, 5, 85, 6, 87, 7, 89, 8, 91, 9, 93, 10, 95, 11, 97, 12, 99, 13, 101, 0, 103, 0, 105, 0, 107, 0, 109, 0, 111, 0, 113, 0, 115, 0, 117, 14, 119, 15, 121, 16, 123, 17, 125, 18, 127, 19, 129, 20, 131, 21, 133, 22, 135, 23, 137, 24, 139, 25, 141, 26, 143, 27, 145, 28, 147, 29, 149, 30, 151, 0, 153, 31, 155, 0, 157, 0, 159, 0, 161, 32, 163, 33, 165, 0, 167, 34, 169, 35, 171, 36, 173, 37, 175, 38, 177, 39, 179, 40, 1, 0, 37, 2, 0, 9, 9, 32, 32, 1, 0, 48, 57, 2, 0, 43, 43, 45, 45, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 1, 0, 48, 55, 6, 0, 65, 66, 69, 69, 88, 88, 97, 98, 101, 101, 120, 120, 2, 0, 65, 70, 97, 102, 1, 0, 49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 66, 66, 98, 98, 2, 0, 79, 79, 111, 111, 2, 0, 90, 90, 122, 122, 2, 0, 88, 88, 120, 120, 2, 0, 72, 72, 104, 104, 2, 0, 92, 92, 96, 96, 4, 0, 0, 31, 92, 92, 96, 96, 127, 159, 15, 0, 9, 10, 13, 13, 32, 32, 34, 35, 39, 39, 44, 45, 47, 58, 60, 62, 64, 64, 91, 91, 93, 94, 96, 96, 123, 123, 125, 125, 167, 167, 2, 0, 10, 10, 13, 13, 2, 0, 89, 89, 121, 121, 2, 0, 73, 73, 105, 105, 2, 0, 78, 78, 110, 110, 2, 0, 67, 67, 99, 99, 2, 0, 76, 76, 108, 108, 2, 0, 85, 85, 117, 117, 2, 0, 68, 68, 100, 100, 2, 0, 80, 80, 112, 112, 2, 0, 82, 82, 114, 114, 2, 0, 65, 65, 97, 97, 2, 0, 84, 84, 116, 116, 2, 0, 70, 70, 102, 102, 2, 0, 83, 83, 115, 115, 3, 0, 10, 10, 13, 13, 39, 39, 3, 0, 10, 10, 13, 13, 34, 34, 4, 0, 10, 10, 13, 13, 39, 39, 92, 92, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 1, 0, 32, 32, 1058, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 1, 181, 1, 0, 0, 0, 3, 185, 1, 0, 0, 0, 5, 187, 1, 0, 0, 0, 7, 189, 1, 0, 0, 0, 9, 191, 1, 0, 0, 0, 11, 193, 1, 0, 0, 0, 13, 195, 1, 0, 0, 0, 15, 197, 1, 0, 0, 0, 17, 201, 1, 0, 0, 0, 19, 205, 1, 0, 0, 0, 21, 207, 1, 0, 0, 0, 23, 209, 1, 0, 0, 0, 25, 220, 1, 0, 0, 0, 27, 233, 1, 0, 0, 0, 29, 246, 1, 0, 0, 0, 31, 259, 1, 0, 0, 0, 33, 271, 1, 0, 0, 0, 35, 277, 1, 0, 0, 0, 37, 298, 1, 0, 0, 0, 39, 300, 1, 0, 0, 0, 41, 302, 1, 0, 0, 0, 43, 305, 1, 0, 0, 0, 45, 316, 1, 0, 0, 0, 47, 318, 1, 0, 0, 0, 49, 322, 1, 0, 0, 0, 51, 334, 1, 0, 0, 0, 53, 336, 1, 0, 0, 0, 55, 344, 1, 0, 0, 0, 57, 357, 1, 0, 0, 0, 59, 363, 1, 0, 0, 0, 61, 365, 1, 0, 0, 0, 63, 375, 1, 0, 0, 0, 65, 385, 1, 0, 0, 0, 67, 395, 1, 0, 0, 0, 69, 409, 1, 0, 0, 0, 71, 423, 1, 0, 0, 0, 73, 433, 1, 0, 0, 0, 75, 435, 1, 0, 0, 0, 77, 448, 1, 0, 0, 0, 79, 454, 1, 0, 0, 0, 81, 463, 1, 0, 0, 0, 83, 475, 1, 0, 0, 0, 85, 545, 1, 0, 0, 0, 87, 551, 1, 0, 0, 0, 89, 577, 1, 0, 0, 0, 91, 588, 1, 0, 0, 0, 93, 590, 1, 0, 0, 0, 95, 595, 1, 0, 0, 0, 97, 598, 1, 0, 0, 0, 99, 608, 1, 0, 0, 0, 101, 611, 1, 0, 0, 0, 103, 627, 1, 0, 0, 0, 105, 644, 1, 0, 0, 0, 107, 683, 1, 0, 0, 0, 109, 707, 1, 0, 0, 0, 111, 731, 1, 0, 0, 0, 113, 733, 1, 0, 0, 0, 115, 773, 1, 0, 0, 0, 117, 801, 1, 0, 0, 0, 119, 803, 1, 0, 0, 0, 121, 805, 1, 0, 0, 0, 123, 807, 1, 0, 0, 0, 125, 809, 1, 0, 0, 0, 127, 811, 1, 0, 0, 0, 129, 813, 1, 0, 0, 0, 131, 815, 1, 0, 0, 0, 133, 817, 1, 0, 0, 0, 135, 819, 1, 0, 0, 0, 137, 821, 1, 0, 0, 0, 139, 823, 1, 0, 0, 0, 141, 825, 1, 0, 0, 0, 143, 827, 1, 0, 0, 0, 145, 829, 1, 0, 0, 0, 147, 831, 1, 0, 0, 0, 149, 833, 1, 0, 0, 0, 151, 838, 1, 0, 0, 0, 153, 848, 1, 0, 0, 0, 155, 868, 1, 0, 0, 0, 157, 870, 1, 0, 0, 0, 159, 882, 1, 0, 0, 0, 161, 895, 1, 0, 0, 0, 163, 901, 1, 0, 0, 0, 165, 915, 1, 0, 0, 0, 167, 918, 1, 0, 0, 0, 169, 928, 1, 0, 0, 0, 171, 938, 1, 0, 0, 0, 173, 950, 1, 0, 0, 0, 175, 952, 1, 0, 0, 0, 177, 960, 1, 0, 0, 0, 179, 964, 1, 0, 0, 0, 181, 182, 2, 48, 49, 0, 182, 183, 2, 48, 49, 0, 183, 184, 2, 48, 49, 0, 184, 2, 1, 0, 0, 0, 185, 186, 7, 0, 0, 0, 186, 4, 1, 0, 0, 0, 187, 188, 7, 1, 0, 0, 188, 6, 1, 0, 0, 0, 189, 190, 7, 2, 0, 0, 190, 8, 1, 0, 0, 0, 191, 192, 7, 3, 0, 0, 192, 10, 1, 0, 0, 0, 193, 194, 7, 4, 0, 0, 194, 12, 1, 0, 0, 0, 195, 196, 2, 48, 49, 0, 196, 14, 1, 0, 0, 0, 197, 198, 7, 5, 0, 0, 198, 16, 1, 0, 0, 0, 199, 202, 3, 5, 2, 0, 200, 202, 7, 6, 0, 0, 201, 199, 1, 0, 0, 0, 201, 200, 1, 0, 0, 0, 202, 18, 1, 0, 0, 0, 203, 206, 3, 5, 2, 0, 204, 206, 7, 7, 0, 0, 205, 203, 1, 0, 0, 0, 205, 204, 1, 0, 0, 0, 206, 20, 1, 0, 0, 0, 207, 208, 5, 95, 0, 0, 208, 22, 1, 0, 0, 0, 209, 216, 3, 5, 2, 0, 210, 212, 3, 21, 10, 0, 211, 210, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 215, 3, 5, 2, 0, 214, 211, 1, 0, 0, 0, 215, 218, 1, 0, 0, 0, 216, 214, 1, 0, 0, 0, 216, 217, 1, 0, 0, 0, 217, 24, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 219, 221, 3, 21, 10, 0, 220, 219, 1, 0, 0, 0, 220, 221, 1, 0, 0, 0, 221, 222, 1, 0, 0, 0, 222, 229, 3, 13, 6, 0, 223, 225, 3, 21, 10, 0, 224, 223, 1, 0, 0, 0, 224, 225, 1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 228, 3, 13, 6, 0, 227, 224, 1, 0, 0, 0, 228, 231, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 230, 1, 0, 0, 0, 230, 26, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 232, 234, 3, 21, 10, 0, 233, 232, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 242, 3, 15, 7, 0, 236, 238, 3, 21, 10, 0, 237, 236, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 239, 1, 0, 0, 0, 239, 241, 3, 15, 7, 0, 240, 237, 1, 0, 0, 0, 241, 244, 1, 0, 0, 0, 242, 240, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 28, 1, 0, 0, 0, 244, 242, 1, 0, 0, 0, 245, 247, 3, 21, 10, 0, 246, 245, 1, 0, 0, 0, 246, 247, 1, 0, 0, 0, 247, 248, 1, 0, 0, 0, 248, 255, 3, 17, 8, 0, 249, 251, 3, 21, 10, 0, 250, 249, 1, 0, 0, 0, 250, 251, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 254, 3, 17, 8, 0, 253, 250, 1, 0, 0, 0, 254, 257, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 255, 256, 1, 0, 0, 0, 256, 30, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 258, 260, 3, 21, 10, 0, 259, 258, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 268, 3, 19, 9, 0, 262, 264, 3, 21, 10, 0, 263, 262, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 267, 3, 19, 9, 0, 266, 263, 1, 0, 0, 0, 267, 270, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 32, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 271, 272, 5, 117, 0, 0, 272, 273, 3, 19, 9, 0, 273, 274, 3, 19, 9, 0, 274, 275, 3, 19, 9, 0, 275, 276, 3, 19, 9, 0, 276, 34, 1, 0, 0, 0, 277, 278, 5, 85, 0, 0, 278, 279, 3, 19, 9, 0, 279, 280, 3, 19, 9, 0, 280, 281, 3, 19, 9, 0, 281, 282, 3, 19, 9, 0, 282, 283, 3, 19, 9, 0, 283, 284, 3, 19, 9, 0, 284, 285, 3, 19, 9, 0, 285, 286, 3, 19, 9, 0, 286, 36, 1, 0, 0, 0, 287, 299, 5, 48, 0, 0, 288, 295, 7, 8, 0, 0, 289, 291, 3, 21, 10, 0, 290, 289, 1, 0, 0, 0, 290, 291, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 294, 3, 5, 2, 0, 293, 290, 1, 0, 0, 0, 294, 297, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 298, 287, 1, 0, 0, 0, 298, 288, 1, 0, 0, 0, 299, 38, 1, 0, 0, 0, 300, 301, 3, 37, 18, 0, 301, 40, 1, 0, 0, 0, 302, 303, 5, 46, 0, 0, 303, 304, 3, 23, 11, 0, 304, 42, 1, 0, 0, 0, 305, 307, 7, 9, 0, 0, 306, 308, 3, 7, 3, 0, 307, 306, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 310, 3, 23, 11, 0, 310, 44, 1, 0, 0, 0, 311, 312, 5, 48, 0, 0, 312, 313, 7, 10, 0, 0, 313, 317, 3, 25, 12, 0, 314, 315, 5, 37, 0, 0, 315, 317, 3, 25, 12, 0, 316, 311, 1, 0, 0, 0, 316, 314, 1, 0, 0, 0, 317, 46, 1, 0, 0, 0, 318, 319, 5, 48, 0, 0, 319, 320, 7, 11, 0, 0, 320, 321, 3, 27, 13, 0, 321, 48, 1, 0, 0, 0, 322, 323, 5, 48, 0, 0, 323, 324, 7, 12, 0, 0, 324, 325, 3, 29, 14, 0, 325, 50, 1, 0, 0, 0, 326, 327, 5, 48, 0, 0, 327, 328, 7, 13, 0, 0, 328, 335, 3, 31, 15, 0, 329, 330, 7, 14, 0, 0, 330, 331, 7, 9, 0, 0, 331, 332, 7, 13, 0, 0, 332, 333, 5, 58, 0, 0, 333, 335, 3, 31, 15, 0, 334, 326, 1, 0, 0, 0, 334, 329, 1, 0, 0, 0, 335, 52, 1, 0, 0, 0, 336, 341, 3, 9, 4, 0, 337, 340, 3, 11, 5, 0, 338, 340, 5, 46, 0, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 343, 1, 0, 0, 0, 341, 339, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 54, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 344, 350, 5, 96, 0, 0, 345, 346, 5, 92, 0, 0, 346, 349, 7, 15, 0, 0, 347, 349, 8, 16, 0, 0, 348, 345, 1, 0, 0, 0, 348, 347, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 353, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 353, 354, 5, 96, 0, 0, 354, 56, 1, 0, 0, 0, 355, 358, 3, 53, 26, 0, 356, 358, 3, 55, 27, 0, 357, 355, 1, 0, 0, 0, 357, 356, 1, 0, 0, 0, 358, 58, 1, 0, 0, 0, 359, 364, 3, 61, 30, 0, 360, 364, 3, 63, 31, 0, 361, 364, 3, 65, 32, 0, 362, 364, 3, 67, 33, 0, 363, 359, 1, 0, 0, 0, 363, 360, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 362, 1, 0, 0, 0, 364, 60, 1, 0, 0, 0, 365, 372, 3, 119, 59, 0, 366, 368, 3, 21, 10, 0, 367, 366, 1, 0, 0, 0, 367, 368, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 371, 3, 119, 59, 0, 370, 367, 1, 0, 0, 0, 371, 374, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 62, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 375, 382, 3, 121, 60, 0, 376, 378, 3, 21, 10, 0, 377, 376, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 381, 3, 121, 60, 0, 380, 377, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 64, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 385, 392, 3, 123, 61, 0, 386, 388, 3, 21, 10, 0, 387, 386, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 391, 3, 123, 61, 0, 390, 387, 1, 0, 0, 0, 391, 394, 1, 0, 0, 0, 392, 390, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 66, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 395, 402, 3, 125, 62, 0, 396, 398, 3, 21, 10, 0, 397, 396, 1, 0, 0, 0, 397, 398, 1, 0, 0, 0, 398, 399, 1, 0, 0, 0, 399, 401, 3, 125, 62, 0, 400, 397, 1, 0, 0, 0, 401, 404, 1, 0, 0, 0, 402, 400, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 68, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 405, 410, 3, 119, 59, 0, 406, 410, 3, 121, 60, 0, 407, 410, 3, 123, 61, 0, 408, 410, 3, 125, 62, 0, 409, 405, 1, 0, 0, 0, 409, 406, 1, 0, 0, 0, 409, 407, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 415, 7, 8, 0, 0, 412, 414, 3, 5, 2, 0, 413, 412, 1, 0, 0, 0, 414, 417, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 70, 1, 0, 0, 0, 417, 415, 1, 0, 0, 0, 418, 424, 3, 119, 59, 0, 419, 424, 3, 121, 60, 0, 420, 424, 3, 123, 61, 0, 421, 424, 3, 125, 62, 0, 422, 424, 3, 21, 10, 0, 423, 418, 1, 0, 0, 0, 423, 419, 1, 0, 0, 0, 423, 420, 1, 0, 0, 0, 423, 421, 1, 0, 0, 0, 423, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 423, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 430, 1, 0, 0, 0, 427, 429, 3, 5, 2, 0, 428, 427, 1, 0, 0, 0, 429, 432, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 72, 1, 0, 0, 0, 432, 430, 1, 0, 0, 0, 433, 434, 8, 17, 0, 0, 434, 74, 1, 0, 0, 0, 435, 436, 5, 35, 0, 0, 436, 437, 5, 33, 0, 0, 437, 441, 1, 0, 0, 0, 438, 440, 8, 18, 0, 0, 439, 438, 1, 0, 0, 0, 440, 443, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 446, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 444, 447, 3, 151, 75, 0, 445, 447, 5, 0, 0, 1, 446, 444, 1, 0, 0, 0, 446, 445, 1, 0, 0, 0, 447, 76, 1, 0, 0, 0, 448, 449, 5, 64, 0, 0, 449, 450, 7, 19, 0, 0, 450, 451, 7, 20, 0, 0, 451, 452, 7, 21, 0, 0, 452, 453, 7, 20, 0, 0, 453, 78, 1, 0, 0, 0, 454, 455, 5, 64, 0, 0, 455, 456, 7, 20, 0, 0, 456, 457, 7, 21, 0, 0, 457, 458, 7, 22, 0, 0, 458, 459, 7, 23, 0, 0, 459, 460, 7, 24, 0, 0, 460, 461, 7, 25, 0, 0, 461, 462, 7, 9, 0, 0, 462, 80, 1, 0, 0, 0, 463, 464, 5, 64, 0, 0, 464, 465, 7, 25, 0, 0, 465, 466, 7, 9, 0, 0, 466, 467, 7, 26, 0, 0, 467, 468, 7, 27, 0, 0, 468, 469, 7, 9, 0, 0, 469, 470, 7, 22, 0, 0, 470, 471, 7, 28, 0, 0, 471, 472, 7, 29, 0, 0, 472, 473, 7, 9, 0, 0, 473, 474, 7, 25, 0, 0, 474, 82, 1, 0, 0, 0, 475, 476, 5, 47, 0, 0, 476, 477, 7, 9, 0, 0, 477, 478, 7, 21, 0, 0, 478, 479, 7, 25, 0, 0, 479, 84, 1, 0, 0, 0, 480, 482, 3, 69, 34, 0, 481, 483, 3, 3, 1, 0, 482, 481, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 482, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 490, 1, 0, 0, 0, 486, 489, 3, 3, 1, 0, 487, 489, 3, 157, 78, 0, 488, 486, 1, 0, 0, 0, 488, 487, 1, 0, 0, 0, 489, 492, 1, 0, 0, 0, 490, 488, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 493, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 493, 498, 3, 57, 28, 0, 494, 497, 3, 3, 1, 0, 495, 497, 3, 159, 79, 0, 496, 494, 1, 0, 0, 0, 496, 495, 1, 0, 0, 0, 497, 500, 1, 0, 0, 0, 498, 496, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 513, 1, 0, 0, 0, 500, 498, 1, 0, 0, 0, 501, 503, 3, 151, 75, 0, 502, 501, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 502, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 514, 1, 0, 0, 0, 506, 508, 3, 155, 77, 0, 507, 506, 1, 0, 0, 0, 508, 511, 1, 0, 0, 0, 509, 507, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 512, 1, 0, 0, 0, 511, 509, 1, 0, 0, 0, 512, 514, 5, 0, 0, 1, 513, 502, 1, 0, 0, 0, 513, 509, 1, 0, 0, 0, 514, 546, 1, 0, 0, 0, 515, 520, 3, 59, 29, 0, 516, 519, 3, 3, 1, 0, 517, 519, 3, 157, 78, 0, 518, 516, 1, 0, 0, 0, 518, 517, 1, 0, 0, 0, 519, 522, 1, 0, 0, 0, 520, 518, 1, 0, 0, 0, 520, 521, 1, 0, 0, 0, 521, 523, 1, 0, 0, 0, 522, 520, 1, 0, 0, 0, 523, 528, 3, 57, 28, 0, 524, 527, 3, 3, 1, 0, 525, 527, 3, 159, 79, 0, 526, 524, 1, 0, 0, 0, 526, 525, 1, 0, 0, 0, 527, 530, 1, 0, 0, 0, 528, 526, 1, 0, 0, 0, 528, 529, 1, 0, 0, 0, 529, 543, 1, 0, 0, 0, 530, 528, 1, 0, 0, 0, 531, 533, 3, 151, 75, 0, 532, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 532, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 544, 1, 0, 0, 0, 536, 538, 3, 155, 77, 0, 537, 536, 1, 0, 0, 0, 538, 541, 1, 0, 0, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 542, 1, 0, 0, 0, 541, 539, 1, 0, 0, 0, 542, 544, 5, 0, 0, 1, 543, 532, 1, 0, 0, 0, 543, 539, 1, 0, 0, 0, 544, 546, 1, 0, 0, 0, 545, 480, 1, 0, 0, 0, 545, 515, 1, 0, 0, 0, 546, 86, 1, 0, 0, 0, 547, 552, 3, 119, 59, 0, 548, 552, 3, 121, 60, 0, 549, 552, 3, 123, 61, 0, 550, 552, 3, 125, 62, 0, 551, 547, 1, 0, 0, 0, 551, 548, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 551, 550, 1, 0, 0, 0, 552, 556, 1, 0, 0, 0, 553, 555, 8, 18, 0, 0, 554, 553, 1, 0, 0, 0, 555, 558, 1, 0, 0, 0, 556, 554, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 565, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 559, 561, 3, 151, 75, 0, 560, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 566, 1, 0, 0, 0, 564, 566, 5, 0, 0, 1, 565, 560, 1, 0, 0, 0, 565, 564, 1, 0, 0, 0, 566, 88, 1, 0, 0, 0, 567, 568, 7, 30, 0, 0, 568, 569, 7, 28, 0, 0, 569, 570, 7, 23, 0, 0, 570, 571, 7, 31, 0, 0, 571, 578, 7, 9, 0, 0, 572, 573, 7, 11, 0, 0, 573, 574, 7, 30, 0, 0, 574, 578, 7, 30, 0, 0, 575, 576, 7, 21, 0, 0, 576, 578, 7, 11, 0, 0, 577, 567, 1, 0, 0, 0, 577, 572, 1, 0, 0, 0, 577, 575, 1, 0, 0, 0, 578, 90, 1, 0, 0, 0, 579, 580, 7, 29, 0, 0, 580, 581, 7, 27, 0, 0, 581, 582, 7, 24, 0, 0, 582, 589, 7, 9, 0, 0, 583, 584, 7, 11, 0, 0, 584, 589, 7, 21, 0, 0, 585, 586, 7, 19, 0, 0, 586, 587, 7, 9, 0, 0, 587, 589, 7, 31, 0, 0, 588, 579, 1, 0, 0, 0, 588, 583, 1, 0, 0, 0, 588, 585, 1, 0, 0, 0, 589, 92, 1, 0, 0, 0, 590, 591, 7, 21, 0, 0, 591, 592, 7, 24, 0, 0, 592, 593, 7, 23, 0, 0, 593, 594, 7, 23, 0, 0, 594, 94, 1, 0, 0, 0, 595, 596, 5, 123, 0, 0, 596, 597, 5, 125, 0, 0, 597, 96, 1, 0, 0, 0, 598, 599, 5, 91, 0, 0, 599, 600, 5, 93, 0, 0, 600, 98, 1, 0, 0, 0, 601, 609, 3, 103, 51, 0, 602, 609, 3, 105, 52, 0, 603, 609, 3, 101, 50, 0, 604, 609, 3, 109, 54, 0, 605, 609, 3, 111, 55, 0, 606, 609, 3, 107, 53, 0, 607, 609, 3, 113, 56, 0, 608, 601, 1, 0, 0, 0, 608, 602, 1, 0, 0, 0, 608, 603, 1, 0, 0, 0, 608, 604, 1, 0, 0, 0, 608, 605, 1, 0, 0, 0, 608, 606, 1, 0, 0, 0, 608, 607, 1, 0, 0, 0, 609, 100, 1, 0, 0, 0, 610, 612, 7, 27, 0, 0, 611, 610, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 5, 34, 0, 0, 614, 615, 5, 34, 0, 0, 615, 616, 5, 34, 0, 0, 616, 620, 1, 0, 0, 0, 617, 619, 9, 0, 0, 0, 618, 617, 1, 0, 0, 0, 619, 622, 1, 0, 0, 0, 620, 621, 1, 0, 0, 0, 620, 618, 1, 0, 0, 0, 621, 623, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 623, 624, 5, 34, 0, 0, 624, 625, 5, 34, 0, 0, 625, 626, 5, 34, 0, 0, 626, 102, 1, 0, 0, 0, 627, 628, 7, 22, 0, 0, 628, 629, 5, 34, 0, 0, 629, 630, 5, 34, 0, 0, 630, 631, 5, 34, 0, 0, 631, 637, 1, 0, 0, 0, 632, 633, 5, 92, 0, 0, 633, 636, 9, 0, 0, 0, 634, 636, 9, 0, 0, 0, 635, 632, 1, 0, 0, 0, 635, 634, 1, 0, 0, 0, 636, 639, 1, 0, 0, 0, 637, 638, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 640, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 640, 641, 5, 34, 0, 0, 641, 642, 5, 34, 0, 0, 642, 643, 5, 34, 0, 0, 643, 104, 1, 0, 0, 0, 644, 645, 7, 9, 0, 0, 645, 646, 5, 34, 0, 0, 646, 647, 5, 34, 0, 0, 647, 648, 5, 34, 0, 0, 648, 654, 1, 0, 0, 0, 649, 650, 5, 92, 0, 0, 650, 653, 9, 0, 0, 0, 651, 653, 9, 0, 0, 0, 652, 649, 1, 0, 0, 0, 652, 651, 1, 0, 0, 0, 653, 656, 1, 0, 0, 0, 654, 655, 1, 0, 0, 0, 654, 652, 1, 0, 0, 0, 655, 657, 1, 0, 0, 0, 656, 654, 1, 0, 0, 0, 657, 658, 5, 34, 0, 0, 658, 659, 5, 34, 0, 0, 659, 660, 5, 34, 0, 0, 660, 106, 1, 0, 0, 0, 661, 663, 7, 27, 0, 0, 662, 661, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 668, 5, 39, 0, 0, 665, 667, 8, 32, 0, 0, 666, 665, 1, 0, 0, 0, 667, 670, 1, 0, 0, 0, 668, 666, 1, 0, 0, 0, 668, 669, 1, 0, 0, 0, 669, 671, 1, 0, 0, 0, 670, 668, 1, 0, 0, 0, 671, 684, 5, 39, 0, 0, 672, 674, 7, 27, 0, 0, 673, 672, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 679, 5, 34, 0, 0, 676, 678, 8, 33, 0, 0, 677, 676, 1, 0, 0, 0, 678, 681, 1, 0, 0, 0, 679, 677, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 682, 1, 0, 0, 0, 681, 679, 1, 0, 0, 0, 682, 684, 5, 34, 0, 0, 683, 662, 1, 0, 0, 0, 683, 673, 1, 0, 0, 0, 684, 108, 1, 0, 0, 0, 685, 686, 7, 22, 0, 0, 686, 692, 5, 39, 0, 0, 687, 688, 5, 92, 0, 0, 688, 691, 8, 18, 0, 0, 689, 691, 8, 34, 0, 0, 690, 687, 1, 0, 0, 0, 690, 689, 1, 0, 0, 0, 691, 694, 1, 0, 0, 0, 692, 690, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 695, 1, 0, 0, 0, 694, 692, 1, 0, 0, 0, 695, 708, 5, 39, 0, 0, 696, 697, 7, 22, 0, 0, 697, 703, 5, 34, 0, 0, 698, 699, 5, 92, 0, 0, 699, 702, 8, 18, 0, 0, 700, 702, 8, 35, 0, 0, 701, 698, 1, 0, 0, 0, 701, 700, 1, 0, 0, 0, 702, 705, 1, 0, 0, 0, 703, 701, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 706, 1, 0, 0, 0, 705, 703, 1, 0, 0, 0, 706, 708, 5, 34, 0, 0, 707, 685, 1, 0, 0, 0, 707, 696, 1, 0, 0, 0, 708, 110, 1, 0, 0, 0, 709, 710, 7, 9, 0, 0, 710, 716, 5, 39, 0, 0, 711, 712, 5, 92, 0, 0, 712, 715, 8, 18, 0, 0, 713, 715, 8, 34, 0, 0, 714, 711, 1, 0, 0, 0, 714, 713, 1, 0, 0, 0, 715, 718, 1, 0, 0, 0, 716, 714, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 719, 1, 0, 0, 0, 718, 716, 1, 0, 0, 0, 719, 732, 5, 39, 0, 0, 720, 721, 7, 9, 0, 0, 721, 727, 5, 34, 0, 0, 722, 723, 5, 92, 0, 0, 723, 726, 8, 18, 0, 0, 724, 726, 8, 35, 0, 0, 725, 722, 1, 0, 0, 0, 725, 724, 1, 0, 0, 0, 726, 729, 1, 0, 0, 0, 727, 725, 1, 0, 0, 0, 727, 728, 1, 0, 0, 0, 728, 730, 1, 0, 0, 0, 729, 727, 1, 0, 0, 0, 730, 732, 5, 34, 0, 0, 731, 709, 1, 0, 0, 0, 731, 720, 1, 0, 0, 0, 732, 112, 1, 0, 0, 0, 733, 734, 5, 99, 0, 0, 734, 735, 5, 111, 0, 0, 735, 736, 5, 109, 0, 0, 736, 737, 5, 109, 0, 0, 737, 738, 5, 97, 0, 0, 738, 739, 5, 110, 0, 0, 739, 740, 5, 100, 0, 0, 740, 741, 1, 0, 0, 0, 741, 742, 5, 34, 0, 0, 742, 743, 5, 34, 0, 0, 743, 744, 5, 34, 0, 0, 744, 745, 1, 0, 0, 0, 745, 755, 3, 115, 57, 0, 746, 748, 8, 18, 0, 0, 747, 746, 1, 0, 0, 0, 748, 751, 1, 0, 0, 0, 749, 747, 1, 0, 0, 0, 749, 750, 1, 0, 0, 0, 750, 752, 1, 0, 0, 0, 751, 749, 1, 0, 0, 0, 752, 754, 3, 115, 57, 0, 753, 749, 1, 0, 0, 0, 754, 757, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 755, 753, 1, 0, 0, 0, 756, 761, 1, 0, 0, 0, 757, 755, 1, 0, 0, 0, 758, 760, 7, 36, 0, 0, 759, 758, 1, 0, 0, 0, 760, 763, 1, 0, 0, 0, 761, 759, 1, 0, 0, 0, 761, 762, 1, 0, 0, 0, 762, 764, 1, 0, 0, 0, 763, 761, 1, 0, 0, 0, 764, 765, 5, 34, 0, 0, 765, 766, 5, 34, 0, 0, 766, 767, 5, 34, 0, 0, 767, 114, 1, 0, 0, 0, 768, 770, 5, 13, 0, 0, 769, 771, 5, 10, 0, 0, 770, 769, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 774, 1, 0, 0, 0, 772, 774, 5, 10, 0, 0, 773, 768, 1, 0, 0, 0, 773, 772, 1, 0, 0, 0, 774, 116, 1, 0, 0, 0, 775, 777, 3, 7, 3, 0, 776, 775, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 780, 3, 39, 19, 0, 779, 781, 3, 41, 20, 0, 780, 779, 1, 0, 0, 0, 780, 781, 1, 0, 0, 0, 781, 783, 1, 0, 0, 0, 782, 784, 3, 43, 21, 0, 783, 782, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 802, 1, 0, 0, 0, 785, 787, 3, 7, 3, 0, 786, 785, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 790, 3, 41, 20, 0, 789, 791, 3, 43, 21, 0, 790, 789, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, 802, 1, 0, 0, 0, 792, 794, 3, 7, 3, 0, 793, 792, 1, 0, 0, 0, 793, 794, 1, 0, 0, 0, 794, 799, 1, 0, 0, 0, 795, 800, 3, 45, 22, 0, 796, 800, 3, 47, 23, 0, 797, 800, 3, 49, 24, 0, 798, 800, 3, 51, 25, 0, 799, 795, 1, 0, 0, 0, 799, 796, 1, 0, 0, 0, 799, 797, 1, 0, 0, 0, 799, 798, 1, 0, 0, 0, 800, 802, 1, 0, 0, 0, 801, 776, 1, 0, 0, 0, 801, 786, 1, 0, 0, 0, 801, 793, 1, 0, 0, 0, 802, 118, 1, 0, 0, 0, 803, 804, 5, 94, 0, 0, 804, 120, 1, 0, 0, 0, 805, 806, 5, 167, 0, 0, 806, 122, 1, 0, 0, 0, 807, 808, 5, 62, 0, 0, 808, 124, 1, 0, 0, 0, 809, 810, 5, 60, 0, 0, 810, 126, 1, 0, 0, 0, 811, 812, 5, 61, 0, 0, 812, 128, 1, 0, 0, 0, 813, 814, 5, 44, 0, 0, 814, 130, 1, 0, 0, 0, 815, 816, 5, 58, 0, 0, 816, 132, 1, 0, 0, 0, 817, 818, 5, 91, 0, 0, 818, 134, 1, 0, 0, 0, 819, 820, 5, 93, 0, 0, 820, 136, 1, 0, 0, 0, 821, 822, 5, 123, 0, 0, 822, 138, 1, 0, 0, 0, 823, 824, 5, 125, 0, 0, 824, 140, 1, 0, 0, 0, 825, 826, 5, 43, 0, 0, 826, 142, 1, 0, 0, 0, 827, 828, 5, 36, 0, 0, 828, 144, 1, 0, 0, 0, 829, 830, 5, 37, 0, 0, 830, 146, 1, 0, 0, 0, 831, 832, 5, 64, 0, 0, 832, 148, 1, 0, 0, 0, 833, 834, 5, 59, 0, 0, 834, 150, 1, 0, 0, 0, 835, 837, 3, 155, 77, 0, 836, 835, 1, 0, 0, 0, 837, 840, 1, 0, 0, 0, 838, 836, 1, 0, 0, 0, 838, 839, 1, 0, 0, 0, 839, 841, 1, 0, 0, 0, 840, 838, 1, 0, 0, 0, 841, 842, 3, 153, 76, 0, 842, 152, 1, 0, 0, 0, 843, 845, 5, 13, 0, 0, 844, 846, 5, 10, 0, 0, 845, 844, 1, 0, 0, 0, 845, 846, 1, 0, 0, 0, 846, 849, 1, 0, 0, 0, 847, 849, 5, 10, 0, 0, 848, 843, 1, 0, 0, 0, 848, 847, 1, 0, 0, 0, 849, 850, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 850, 851, 1, 0, 0, 0, 851, 154, 1, 0, 0, 0, 852, 853, 5, 47, 0, 0, 853, 854, 5, 47, 0, 0, 854, 858, 1, 0, 0, 0, 855, 857, 8, 18, 0, 0, 856, 855, 1, 0, 0, 0, 857, 860, 1, 0, 0, 0, 858, 856, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 869, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 861, 865, 5, 35, 0, 0, 862, 864, 8, 18, 0, 0, 863, 862, 1, 0, 0, 0, 864, 867, 1, 0, 0, 0, 865, 863, 1, 0, 0, 0, 865, 866, 1, 0, 0, 0, 866, 869, 1, 0, 0, 0, 867, 865, 1, 0, 0, 0, 868, 852, 1, 0, 0, 0, 868, 861, 1, 0, 0, 0, 869, 156, 1, 0, 0, 0, 870, 871, 5, 47, 0, 0, 871, 872, 5, 42, 0, 0, 872, 876, 1, 0, 0, 0, 873, 875, 8, 18, 0, 0, 874, 873, 1, 0, 0, 0, 875, 878, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 876, 874, 1, 0, 0, 0, 877, 879, 1, 0, 0, 0, 878, 876, 1, 0, 0, 0, 879, 880, 5, 42, 0, 0, 880, 881, 5, 47, 0, 0, 881, 158, 1, 0, 0, 0, 882, 883, 5, 47, 0, 0, 883, 884, 5, 42, 0, 0, 884, 888, 1, 0, 0, 0, 885, 887, 9, 0, 0, 0, 886, 885, 1, 0, 0, 0, 887, 890, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 888, 886, 1, 0, 0, 0, 889, 891, 1, 0, 0, 0, 890, 888, 1, 0, 0, 0, 891, 892, 5, 42, 0, 0, 892, 893, 5, 47, 0, 0, 893, 160, 1, 0, 0, 0, 894, 896, 3, 3, 1, 0, 895, 894, 1, 0, 0, 0, 896, 897, 1, 0, 0, 0, 897, 895, 1, 0, 0, 0, 897, 898, 1, 0, 0, 0, 898, 899, 1, 0, 0, 0, 899, 900, 6, 80, 0, 0, 900, 162, 1, 0, 0, 0, 901, 902, 5, 47, 0, 0, 902, 903, 5, 42, 0, 0, 903, 907, 1, 0, 0, 0, 904, 906, 9, 0, 0, 0, 905, 904, 1, 0, 0, 0, 906, 909, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 908, 910, 1, 0, 0, 0, 909, 907, 1, 0, 0, 0, 910, 911, 5, 42, 0, 0, 911, 912, 5, 47, 0, 0, 912, 913, 1, 0, 0, 0, 913, 914, 6, 81, 0, 0, 914, 164, 1, 0, 0, 0, 915, 916, 5, 45, 0, 0, 916, 917, 5, 45, 0, 0, 917, 166, 1, 0, 0, 0, 918, 922, 3, 165, 82, 0, 919, 921, 8, 18, 0, 0, 920, 919, 1, 0, 0, 0, 921, 924, 1, 0, 0, 0, 922, 920, 1, 0, 0, 0, 922, 923, 1, 0, 0, 0, 923, 926, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 925, 927, 3, 151, 75, 0, 926, 925, 1, 0, 0, 0, 926, 927, 1, 0, 0, 0, 927, 168, 1, 0, 0, 0, 928, 932, 5, 59, 0, 0, 929, 931, 8, 18, 0, 0, 930, 929, 1, 0, 0, 0, 931, 934, 1, 0, 0, 0, 932, 930, 1, 0, 0, 0, 932, 933, 1, 0, 0, 0, 933, 170, 1, 0, 0, 0, 934, 932, 1, 0, 0, 0, 935, 936, 5, 47, 0, 0, 936, 939, 5, 47, 0, 0, 937, 939, 5, 35, 0, 0, 938, 935, 1, 0, 0, 0, 938, 937, 1, 0, 0, 0, 939, 943, 1, 0, 0, 0, 940, 942, 8, 18, 0, 0, 941, 940, 1, 0, 0, 0, 942, 945, 1, 0, 0, 0, 943, 941, 1, 0, 0, 0, 943, 944, 1, 0, 0, 0, 944, 946, 1, 0, 0, 0, 945, 943, 1, 0, 0, 0, 946, 947, 6, 85, 0, 0, 947, 172, 1, 0, 0, 0, 948, 951, 3, 57, 28, 0, 949, 951, 3, 175, 87, 0, 950, 948, 1, 0, 0, 0, 950, 949, 1, 0, 0, 0, 951, 174, 1, 0, 0, 0, 952, 956, 7, 1, 0, 0, 953, 955, 7, 4, 0, 0, 954, 953, 1, 0, 0, 0, 955, 958, 1, 0, 0, 0, 956, 954, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 176, 1, 0, 0, 0, 958, 956, 1, 0, 0, 0, 959, 961, 3, 73, 36, 0, 960, 959, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 960, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 178, 1, 0, 0, 0, 964, 966, 3, 147, 73, 0, 965, 967, 3, 177, 88, 0, 966, 965, 1, 0, 0, 0, 967, 968, 1, 0, 0, 0, 968, 966, 1, 0, 0, 0, 968, 969, 1, 0, 0, 0, 969, 180, 1, 0, 0, 0, 121, 0, 201, 205, 211, 216, 220, 224, 229, 233, 237, 242, 246, 250, 255, 259, 263, 268, 290, 295, 298, 307, 316, 334, 339, 341, 348, 350, 357, 363, 367, 372, 377, 382, 387, 392, 397, 402, 409, 415, 423, 425, 430, 441, 446, 484, 488, 490, 496, 498, 504, 509, 513, 518, 520, 526, 528, 534, 539, 543, 545, 551, 556, 562, 565, 577, 588, 608, 611, 620, 635, 637, 652, 654, 662, 668, 673, 679, 683, 690, 692, 701, 703, 707, 714, 716, 725, 727, 731, 749, 755, 761, 770, 773, 776, 780, 783, 786, 790, 793, 799, 801, 838, 845, 848, 850, 858, 865, 868, 876, 888, 897, 907, 922, 926, 932, 938, 943, 950, 956, 962, 968, 1, 6, 0, 0] \ No newline at end of file diff --git a/src/yini_parser/grammar/generated/YiniLexer.py b/src/yini_parser/grammar/generated/YiniLexer.py index 879fd4f..354a05a 100644 --- a/src/yini_parser/grammar/generated/YiniLexer.py +++ b/src/yini_parser/grammar/generated/YiniLexer.py @@ -1,4 +1,4 @@ -# Generated from ./grammar/v1.0.0-rc.6/YiniLexer.g4 by ANTLR 4.13.2 +# Generated from ./grammar/v1.0.0-rc.6x/YiniLexer.g4 by ANTLR 4.13.2 from antlr4 import * from io import StringIO import sys @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,0,40,813,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, + 4,0,40,970,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, @@ -22,311 +22,373 @@ def serializedATN(): 58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2, 65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7, 71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77,7,77,2, - 78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,1,0,1, - 0,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,6,1,6,1,7,1, - 7,1,8,1,8,3,8,190,8,8,1,9,1,9,3,9,194,8,9,1,10,1,10,1,11,1,11,3, - 11,200,8,11,1,11,5,11,203,8,11,10,11,12,11,206,9,11,1,12,3,12,209, - 8,12,1,12,1,12,3,12,213,8,12,1,12,5,12,216,8,12,10,12,12,12,219, - 9,12,1,13,3,13,222,8,13,1,13,1,13,3,13,226,8,13,1,13,5,13,229,8, - 13,10,13,12,13,232,9,13,1,14,3,14,235,8,14,1,14,1,14,3,14,239,8, - 14,1,14,5,14,242,8,14,10,14,12,14,245,9,14,1,15,3,15,248,8,15,1, - 15,1,15,3,15,252,8,15,1,15,5,15,255,8,15,10,15,12,15,258,9,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,18,1,18,1,18,3,18,279,8,18,1,18,5,18,282,8,18,10, - 18,12,18,285,9,18,3,18,287,8,18,1,19,1,19,1,20,1,20,1,20,1,21,1, - 21,3,21,296,8,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,3,22,305,8,22, - 1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25, - 1,25,1,25,1,25,3,25,323,8,25,1,26,1,26,1,26,5,26,328,8,26,10,26, - 12,26,331,9,26,1,27,1,27,5,27,335,8,27,10,27,12,27,338,9,27,1,27, - 1,27,1,28,1,28,3,28,344,8,28,1,29,1,29,1,29,1,29,3,29,350,8,29,1, - 30,1,30,3,30,354,8,30,1,30,5,30,357,8,30,10,30,12,30,360,9,30,1, - 31,1,31,3,31,364,8,31,1,31,5,31,367,8,31,10,31,12,31,370,9,31,1, - 32,1,32,3,32,374,8,32,1,32,5,32,377,8,32,10,32,12,32,380,9,32,1, - 33,1,33,3,33,384,8,33,1,33,5,33,387,8,33,10,33,12,33,390,9,33,1, - 34,1,34,1,34,1,34,3,34,396,8,34,1,34,1,34,5,34,400,8,34,10,34,12, - 34,403,9,34,1,35,1,35,1,35,1,35,1,35,4,35,410,8,35,11,35,12,35,411, - 1,35,5,35,415,8,35,10,35,12,35,418,9,35,1,36,1,36,1,37,1,37,1,37, - 1,37,5,37,426,8,37,10,37,12,37,429,9,37,1,37,1,37,1,38,1,38,1,38, - 1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,40, - 1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41, - 1,41,1,41,1,41,1,42,1,42,4,42,467,8,42,11,42,12,42,468,1,42,1,42, - 5,42,473,8,42,10,42,12,42,476,9,42,1,42,4,42,479,8,42,11,42,12,42, - 480,1,42,1,42,5,42,485,8,42,10,42,12,42,488,9,42,1,42,1,42,5,42, - 492,8,42,10,42,12,42,495,9,42,1,42,4,42,498,8,42,11,42,12,42,499, - 3,42,502,8,42,1,43,1,43,1,43,1,43,3,43,508,8,43,1,43,5,43,511,8, - 43,10,43,12,43,514,9,43,1,43,4,43,517,8,43,11,43,12,43,518,1,44, - 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,531,8,44,1,45, - 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,542,8,45,1,46,1,46, - 1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,49,1,49,1,49,1,49, - 3,49,559,8,49,1,50,3,50,562,8,50,1,50,1,50,1,50,1,50,1,50,5,50,569, - 8,50,10,50,12,50,572,9,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51, - 1,51,1,51,1,51,1,51,5,51,586,8,51,10,51,12,51,589,9,51,1,51,1,51, - 1,51,1,51,1,52,3,52,596,8,52,1,52,1,52,5,52,600,8,52,10,52,12,52, - 603,9,52,1,52,1,52,3,52,607,8,52,1,52,1,52,5,52,611,8,52,10,52,12, - 52,614,9,52,1,52,3,52,617,8,52,1,53,1,53,1,53,1,53,1,53,5,53,624, - 8,53,10,53,12,53,627,9,53,1,53,1,53,1,53,1,53,1,53,1,53,5,53,635, - 8,53,10,53,12,53,638,9,53,1,53,3,53,641,8,53,1,54,3,54,644,8,54, - 1,54,1,54,3,54,648,8,54,1,54,3,54,651,8,54,1,54,3,54,654,8,54,1, - 54,1,54,3,54,658,8,54,1,54,3,54,661,8,54,1,54,1,54,1,54,1,54,3,54, - 667,8,54,3,54,669,8,54,1,55,1,55,1,56,1,56,1,57,1,57,1,58,1,58,1, - 59,1,59,1,60,1,60,1,61,1,61,1,62,1,62,1,63,1,63,1,64,1,64,1,65,1, - 65,1,66,1,66,1,67,1,67,1,68,1,68,1,69,1,69,1,70,1,70,1,71,5,71,704, - 8,71,10,71,12,71,707,9,71,1,71,1,71,1,72,1,72,3,72,713,8,72,1,72, - 4,72,716,8,72,11,72,12,72,717,1,73,1,73,1,73,1,73,5,73,724,8,73, - 10,73,12,73,727,9,73,1,73,1,73,5,73,731,8,73,10,73,12,73,734,9,73, - 3,73,736,8,73,1,74,4,74,739,8,74,11,74,12,74,740,1,74,1,74,1,75, - 1,75,1,75,1,75,5,75,749,8,75,10,75,12,75,752,9,75,1,75,1,75,1,75, - 1,75,1,75,1,76,1,76,1,76,1,77,1,77,5,77,764,8,77,10,77,12,77,767, - 9,77,1,77,3,77,770,8,77,1,78,1,78,5,78,774,8,78,10,78,12,78,777, - 9,78,1,79,1,79,1,79,3,79,782,8,79,1,79,5,79,785,8,79,10,79,12,79, - 788,9,79,1,79,1,79,1,80,1,80,3,80,794,8,80,1,81,1,81,5,81,798,8, - 81,10,81,12,81,801,9,81,1,82,4,82,804,8,82,11,82,12,82,805,1,83, - 1,83,4,83,810,8,83,11,83,12,83,811,3,570,587,750,0,84,1,0,3,0,5, - 0,7,0,9,0,11,0,13,0,15,0,17,0,19,0,21,0,23,0,25,0,27,0,29,0,31,0, - 33,0,35,0,37,0,39,0,41,0,43,0,45,0,47,0,49,0,51,0,53,0,55,0,57,0, - 59,0,61,0,63,0,65,0,67,0,69,0,71,0,73,0,75,1,77,2,79,3,81,4,83,5, - 85,6,87,7,89,8,91,9,93,10,95,11,97,12,99,13,101,0,103,0,105,0,107, - 0,109,14,111,15,113,16,115,17,117,18,119,19,121,20,123,21,125,22, - 127,23,129,24,131,25,133,26,135,27,137,28,139,29,141,30,143,0,145, - 31,147,0,149,32,151,33,153,0,155,34,157,35,159,36,161,37,163,38, - 165,39,167,40,1,0,35,2,0,9,9,32,32,1,0,48,57,2,0,43,43,45,45,3,0, - 65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,48,55,6,0,65, - 66,69,69,88,88,97,98,101,101,120,120,2,0,65,70,97,102,1,0,49,57, - 2,0,69,69,101,101,2,0,66,66,98,98,2,0,79,79,111,111,2,0,90,90,122, - 122,2,0,88,88,120,120,2,0,72,72,104,104,2,0,0,31,96,96,15,0,9,10, - 13,13,32,32,34,35,39,39,44,45,47,58,60,62,64,64,91,91,93,94,96,96, - 123,123,125,125,167,167,2,0,10,10,13,13,2,0,89,89,121,121,2,0,73, - 73,105,105,2,0,78,78,110,110,2,0,67,67,99,99,2,0,76,76,108,108,2, - 0,85,85,117,117,2,0,68,68,100,100,2,0,80,80,112,112,2,0,82,82,114, - 114,2,0,65,65,97,97,2,0,84,84,116,116,2,0,70,70,102,102,2,0,83,83, - 115,115,3,0,10,10,13,13,39,39,3,0,10,10,13,13,34,34,4,0,10,10,13, - 13,39,39,92,92,4,0,10,10,13,13,34,34,92,92,878,0,75,1,0,0,0,0,77, - 1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87, - 1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97, - 1,0,0,0,0,99,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0, - 115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0, - 0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133, - 1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0, - 0,145,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,155,1,0,0,0,0,157,1, - 0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0, - 167,1,0,0,0,1,169,1,0,0,0,3,173,1,0,0,0,5,175,1,0,0,0,7,177,1,0, - 0,0,9,179,1,0,0,0,11,181,1,0,0,0,13,183,1,0,0,0,15,185,1,0,0,0,17, - 189,1,0,0,0,19,193,1,0,0,0,21,195,1,0,0,0,23,197,1,0,0,0,25,208, - 1,0,0,0,27,221,1,0,0,0,29,234,1,0,0,0,31,247,1,0,0,0,33,259,1,0, - 0,0,35,265,1,0,0,0,37,286,1,0,0,0,39,288,1,0,0,0,41,290,1,0,0,0, - 43,293,1,0,0,0,45,304,1,0,0,0,47,306,1,0,0,0,49,310,1,0,0,0,51,322, - 1,0,0,0,53,324,1,0,0,0,55,332,1,0,0,0,57,343,1,0,0,0,59,349,1,0, - 0,0,61,351,1,0,0,0,63,361,1,0,0,0,65,371,1,0,0,0,67,381,1,0,0,0, - 69,395,1,0,0,0,71,409,1,0,0,0,73,419,1,0,0,0,75,421,1,0,0,0,77,432, - 1,0,0,0,79,438,1,0,0,0,81,447,1,0,0,0,83,459,1,0,0,0,85,501,1,0, - 0,0,87,507,1,0,0,0,89,530,1,0,0,0,91,541,1,0,0,0,93,543,1,0,0,0, - 95,548,1,0,0,0,97,551,1,0,0,0,99,558,1,0,0,0,101,561,1,0,0,0,103, - 577,1,0,0,0,105,616,1,0,0,0,107,640,1,0,0,0,109,668,1,0,0,0,111, - 670,1,0,0,0,113,672,1,0,0,0,115,674,1,0,0,0,117,676,1,0,0,0,119, - 678,1,0,0,0,121,680,1,0,0,0,123,682,1,0,0,0,125,684,1,0,0,0,127, - 686,1,0,0,0,129,688,1,0,0,0,131,690,1,0,0,0,133,692,1,0,0,0,135, - 694,1,0,0,0,137,696,1,0,0,0,139,698,1,0,0,0,141,700,1,0,0,0,143, - 705,1,0,0,0,145,715,1,0,0,0,147,735,1,0,0,0,149,738,1,0,0,0,151, - 744,1,0,0,0,153,758,1,0,0,0,155,761,1,0,0,0,157,771,1,0,0,0,159, - 781,1,0,0,0,161,793,1,0,0,0,163,795,1,0,0,0,165,803,1,0,0,0,167, - 807,1,0,0,0,169,170,2,48,49,0,170,171,2,48,49,0,171,172,2,48,49, - 0,172,2,1,0,0,0,173,174,7,0,0,0,174,4,1,0,0,0,175,176,7,1,0,0,176, - 6,1,0,0,0,177,178,7,2,0,0,178,8,1,0,0,0,179,180,7,3,0,0,180,10,1, - 0,0,0,181,182,7,4,0,0,182,12,1,0,0,0,183,184,2,48,49,0,184,14,1, - 0,0,0,185,186,7,5,0,0,186,16,1,0,0,0,187,190,3,5,2,0,188,190,7,6, - 0,0,189,187,1,0,0,0,189,188,1,0,0,0,190,18,1,0,0,0,191,194,3,5,2, - 0,192,194,7,7,0,0,193,191,1,0,0,0,193,192,1,0,0,0,194,20,1,0,0,0, - 195,196,5,95,0,0,196,22,1,0,0,0,197,204,3,5,2,0,198,200,3,21,10, - 0,199,198,1,0,0,0,199,200,1,0,0,0,200,201,1,0,0,0,201,203,3,5,2, - 0,202,199,1,0,0,0,203,206,1,0,0,0,204,202,1,0,0,0,204,205,1,0,0, - 0,205,24,1,0,0,0,206,204,1,0,0,0,207,209,3,21,10,0,208,207,1,0,0, - 0,208,209,1,0,0,0,209,210,1,0,0,0,210,217,3,13,6,0,211,213,3,21, - 10,0,212,211,1,0,0,0,212,213,1,0,0,0,213,214,1,0,0,0,214,216,3,13, - 6,0,215,212,1,0,0,0,216,219,1,0,0,0,217,215,1,0,0,0,217,218,1,0, - 0,0,218,26,1,0,0,0,219,217,1,0,0,0,220,222,3,21,10,0,221,220,1,0, - 0,0,221,222,1,0,0,0,222,223,1,0,0,0,223,230,3,15,7,0,224,226,3,21, - 10,0,225,224,1,0,0,0,225,226,1,0,0,0,226,227,1,0,0,0,227,229,3,15, - 7,0,228,225,1,0,0,0,229,232,1,0,0,0,230,228,1,0,0,0,230,231,1,0, - 0,0,231,28,1,0,0,0,232,230,1,0,0,0,233,235,3,21,10,0,234,233,1,0, - 0,0,234,235,1,0,0,0,235,236,1,0,0,0,236,243,3,17,8,0,237,239,3,21, - 10,0,238,237,1,0,0,0,238,239,1,0,0,0,239,240,1,0,0,0,240,242,3,17, - 8,0,241,238,1,0,0,0,242,245,1,0,0,0,243,241,1,0,0,0,243,244,1,0, - 0,0,244,30,1,0,0,0,245,243,1,0,0,0,246,248,3,21,10,0,247,246,1,0, - 0,0,247,248,1,0,0,0,248,249,1,0,0,0,249,256,3,19,9,0,250,252,3,21, - 10,0,251,250,1,0,0,0,251,252,1,0,0,0,252,253,1,0,0,0,253,255,3,19, - 9,0,254,251,1,0,0,0,255,258,1,0,0,0,256,254,1,0,0,0,256,257,1,0, - 0,0,257,32,1,0,0,0,258,256,1,0,0,0,259,260,5,117,0,0,260,261,3,19, - 9,0,261,262,3,19,9,0,262,263,3,19,9,0,263,264,3,19,9,0,264,34,1, - 0,0,0,265,266,5,85,0,0,266,267,3,19,9,0,267,268,3,19,9,0,268,269, - 3,19,9,0,269,270,3,19,9,0,270,271,3,19,9,0,271,272,3,19,9,0,272, - 273,3,19,9,0,273,274,3,19,9,0,274,36,1,0,0,0,275,287,5,48,0,0,276, - 283,7,8,0,0,277,279,3,21,10,0,278,277,1,0,0,0,278,279,1,0,0,0,279, - 280,1,0,0,0,280,282,3,5,2,0,281,278,1,0,0,0,282,285,1,0,0,0,283, - 281,1,0,0,0,283,284,1,0,0,0,284,287,1,0,0,0,285,283,1,0,0,0,286, - 275,1,0,0,0,286,276,1,0,0,0,287,38,1,0,0,0,288,289,3,37,18,0,289, - 40,1,0,0,0,290,291,5,46,0,0,291,292,3,23,11,0,292,42,1,0,0,0,293, - 295,7,9,0,0,294,296,3,7,3,0,295,294,1,0,0,0,295,296,1,0,0,0,296, - 297,1,0,0,0,297,298,3,23,11,0,298,44,1,0,0,0,299,300,5,48,0,0,300, - 301,7,10,0,0,301,305,3,25,12,0,302,303,5,37,0,0,303,305,3,25,12, - 0,304,299,1,0,0,0,304,302,1,0,0,0,305,46,1,0,0,0,306,307,5,48,0, - 0,307,308,7,11,0,0,308,309,3,27,13,0,309,48,1,0,0,0,310,311,5,48, - 0,0,311,312,7,12,0,0,312,313,3,29,14,0,313,50,1,0,0,0,314,315,5, - 48,0,0,315,316,7,13,0,0,316,323,3,31,15,0,317,318,7,14,0,0,318,319, - 7,9,0,0,319,320,7,13,0,0,320,321,5,58,0,0,321,323,3,31,15,0,322, - 314,1,0,0,0,322,317,1,0,0,0,323,52,1,0,0,0,324,329,3,9,4,0,325,328, - 3,11,5,0,326,328,5,46,0,0,327,325,1,0,0,0,327,326,1,0,0,0,328,331, - 1,0,0,0,329,327,1,0,0,0,329,330,1,0,0,0,330,54,1,0,0,0,331,329,1, - 0,0,0,332,336,5,96,0,0,333,335,8,15,0,0,334,333,1,0,0,0,335,338, - 1,0,0,0,336,334,1,0,0,0,336,337,1,0,0,0,337,339,1,0,0,0,338,336, - 1,0,0,0,339,340,5,96,0,0,340,56,1,0,0,0,341,344,3,53,26,0,342,344, - 3,55,27,0,343,341,1,0,0,0,343,342,1,0,0,0,344,58,1,0,0,0,345,350, - 3,61,30,0,346,350,3,63,31,0,347,350,3,65,32,0,348,350,3,67,33,0, - 349,345,1,0,0,0,349,346,1,0,0,0,349,347,1,0,0,0,349,348,1,0,0,0, - 350,60,1,0,0,0,351,358,3,111,55,0,352,354,3,21,10,0,353,352,1,0, - 0,0,353,354,1,0,0,0,354,355,1,0,0,0,355,357,3,111,55,0,356,353,1, - 0,0,0,357,360,1,0,0,0,358,356,1,0,0,0,358,359,1,0,0,0,359,62,1,0, - 0,0,360,358,1,0,0,0,361,368,3,113,56,0,362,364,3,21,10,0,363,362, - 1,0,0,0,363,364,1,0,0,0,364,365,1,0,0,0,365,367,3,113,56,0,366,363, - 1,0,0,0,367,370,1,0,0,0,368,366,1,0,0,0,368,369,1,0,0,0,369,64,1, - 0,0,0,370,368,1,0,0,0,371,378,3,115,57,0,372,374,3,21,10,0,373,372, - 1,0,0,0,373,374,1,0,0,0,374,375,1,0,0,0,375,377,3,115,57,0,376,373, - 1,0,0,0,377,380,1,0,0,0,378,376,1,0,0,0,378,379,1,0,0,0,379,66,1, - 0,0,0,380,378,1,0,0,0,381,388,3,117,58,0,382,384,3,21,10,0,383,382, - 1,0,0,0,383,384,1,0,0,0,384,385,1,0,0,0,385,387,3,117,58,0,386,383, - 1,0,0,0,387,390,1,0,0,0,388,386,1,0,0,0,388,389,1,0,0,0,389,68,1, - 0,0,0,390,388,1,0,0,0,391,396,3,111,55,0,392,396,3,113,56,0,393, - 396,3,115,57,0,394,396,3,117,58,0,395,391,1,0,0,0,395,392,1,0,0, - 0,395,393,1,0,0,0,395,394,1,0,0,0,396,397,1,0,0,0,397,401,7,8,0, - 0,398,400,3,5,2,0,399,398,1,0,0,0,400,403,1,0,0,0,401,399,1,0,0, - 0,401,402,1,0,0,0,402,70,1,0,0,0,403,401,1,0,0,0,404,410,3,111,55, - 0,405,410,3,113,56,0,406,410,3,115,57,0,407,410,3,117,58,0,408,410, - 3,21,10,0,409,404,1,0,0,0,409,405,1,0,0,0,409,406,1,0,0,0,409,407, - 1,0,0,0,409,408,1,0,0,0,410,411,1,0,0,0,411,409,1,0,0,0,411,412, - 1,0,0,0,412,416,1,0,0,0,413,415,3,5,2,0,414,413,1,0,0,0,415,418, - 1,0,0,0,416,414,1,0,0,0,416,417,1,0,0,0,417,72,1,0,0,0,418,416,1, - 0,0,0,419,420,8,16,0,0,420,74,1,0,0,0,421,422,5,35,0,0,422,423,5, - 33,0,0,423,427,1,0,0,0,424,426,8,17,0,0,425,424,1,0,0,0,426,429, - 1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,430,1,0,0,0,429,427, - 1,0,0,0,430,431,3,143,71,0,431,76,1,0,0,0,432,433,5,64,0,0,433,434, - 7,18,0,0,434,435,7,19,0,0,435,436,7,20,0,0,436,437,7,19,0,0,437, - 78,1,0,0,0,438,439,5,64,0,0,439,440,7,19,0,0,440,441,7,20,0,0,441, - 442,7,21,0,0,442,443,7,22,0,0,443,444,7,23,0,0,444,445,7,24,0,0, - 445,446,7,9,0,0,446,80,1,0,0,0,447,448,5,64,0,0,448,449,7,24,0,0, - 449,450,7,9,0,0,450,451,7,25,0,0,451,452,7,26,0,0,452,453,7,9,0, - 0,453,454,7,21,0,0,454,455,7,27,0,0,455,456,7,28,0,0,456,457,7,9, - 0,0,457,458,7,24,0,0,458,82,1,0,0,0,459,460,5,47,0,0,460,461,7,9, - 0,0,461,462,7,20,0,0,462,463,7,24,0,0,463,84,1,0,0,0,464,466,3,69, - 34,0,465,467,3,3,1,0,466,465,1,0,0,0,467,468,1,0,0,0,468,466,1,0, - 0,0,468,469,1,0,0,0,469,470,1,0,0,0,470,474,3,57,28,0,471,473,3, - 3,1,0,472,471,1,0,0,0,473,476,1,0,0,0,474,472,1,0,0,0,474,475,1, - 0,0,0,475,478,1,0,0,0,476,474,1,0,0,0,477,479,3,143,71,0,478,477, - 1,0,0,0,479,480,1,0,0,0,480,478,1,0,0,0,480,481,1,0,0,0,481,502, - 1,0,0,0,482,486,3,59,29,0,483,485,3,3,1,0,484,483,1,0,0,0,485,488, - 1,0,0,0,486,484,1,0,0,0,486,487,1,0,0,0,487,489,1,0,0,0,488,486, - 1,0,0,0,489,493,3,57,28,0,490,492,3,3,1,0,491,490,1,0,0,0,492,495, - 1,0,0,0,493,491,1,0,0,0,493,494,1,0,0,0,494,497,1,0,0,0,495,493, - 1,0,0,0,496,498,3,143,71,0,497,496,1,0,0,0,498,499,1,0,0,0,499,497, - 1,0,0,0,499,500,1,0,0,0,500,502,1,0,0,0,501,464,1,0,0,0,501,482, - 1,0,0,0,502,86,1,0,0,0,503,508,3,111,55,0,504,508,3,113,56,0,505, - 508,3,115,57,0,506,508,3,117,58,0,507,503,1,0,0,0,507,504,1,0,0, - 0,507,505,1,0,0,0,507,506,1,0,0,0,508,512,1,0,0,0,509,511,8,17,0, - 0,510,509,1,0,0,0,511,514,1,0,0,0,512,510,1,0,0,0,512,513,1,0,0, - 0,513,516,1,0,0,0,514,512,1,0,0,0,515,517,3,143,71,0,516,515,1,0, - 0,0,517,518,1,0,0,0,518,516,1,0,0,0,518,519,1,0,0,0,519,88,1,0,0, - 0,520,521,7,29,0,0,521,522,7,27,0,0,522,523,7,22,0,0,523,524,7,30, - 0,0,524,531,7,9,0,0,525,526,7,11,0,0,526,527,7,29,0,0,527,531,7, - 29,0,0,528,529,7,20,0,0,529,531,7,11,0,0,530,520,1,0,0,0,530,525, - 1,0,0,0,530,528,1,0,0,0,531,90,1,0,0,0,532,533,7,28,0,0,533,534, - 7,26,0,0,534,535,7,23,0,0,535,542,7,9,0,0,536,537,7,11,0,0,537,542, - 7,20,0,0,538,539,7,18,0,0,539,540,7,9,0,0,540,542,7,30,0,0,541,532, - 1,0,0,0,541,536,1,0,0,0,541,538,1,0,0,0,542,92,1,0,0,0,543,544,7, - 20,0,0,544,545,7,23,0,0,545,546,7,22,0,0,546,547,7,22,0,0,547,94, - 1,0,0,0,548,549,5,123,0,0,549,550,5,125,0,0,550,96,1,0,0,0,551,552, - 5,91,0,0,552,553,5,93,0,0,553,98,1,0,0,0,554,559,3,103,51,0,555, - 559,3,101,50,0,556,559,3,107,53,0,557,559,3,105,52,0,558,554,1,0, - 0,0,558,555,1,0,0,0,558,556,1,0,0,0,558,557,1,0,0,0,559,100,1,0, - 0,0,560,562,7,26,0,0,561,560,1,0,0,0,561,562,1,0,0,0,562,563,1,0, - 0,0,563,564,5,34,0,0,564,565,5,34,0,0,565,566,5,34,0,0,566,570,1, - 0,0,0,567,569,9,0,0,0,568,567,1,0,0,0,569,572,1,0,0,0,570,571,1, - 0,0,0,570,568,1,0,0,0,571,573,1,0,0,0,572,570,1,0,0,0,573,574,5, - 34,0,0,574,575,5,34,0,0,575,576,5,34,0,0,576,102,1,0,0,0,577,578, - 7,21,0,0,578,579,5,34,0,0,579,580,5,34,0,0,580,581,5,34,0,0,581, - 587,1,0,0,0,582,583,5,92,0,0,583,586,9,0,0,0,584,586,9,0,0,0,585, - 582,1,0,0,0,585,584,1,0,0,0,586,589,1,0,0,0,587,588,1,0,0,0,587, - 585,1,0,0,0,588,590,1,0,0,0,589,587,1,0,0,0,590,591,5,34,0,0,591, - 592,5,34,0,0,592,593,5,34,0,0,593,104,1,0,0,0,594,596,7,26,0,0,595, - 594,1,0,0,0,595,596,1,0,0,0,596,597,1,0,0,0,597,601,5,39,0,0,598, - 600,8,31,0,0,599,598,1,0,0,0,600,603,1,0,0,0,601,599,1,0,0,0,601, - 602,1,0,0,0,602,604,1,0,0,0,603,601,1,0,0,0,604,617,5,39,0,0,605, - 607,7,26,0,0,606,605,1,0,0,0,606,607,1,0,0,0,607,608,1,0,0,0,608, - 612,5,34,0,0,609,611,8,32,0,0,610,609,1,0,0,0,611,614,1,0,0,0,612, - 610,1,0,0,0,612,613,1,0,0,0,613,615,1,0,0,0,614,612,1,0,0,0,615, - 617,5,34,0,0,616,595,1,0,0,0,616,606,1,0,0,0,617,106,1,0,0,0,618, - 619,7,21,0,0,619,625,5,39,0,0,620,621,5,92,0,0,621,624,8,17,0,0, - 622,624,8,33,0,0,623,620,1,0,0,0,623,622,1,0,0,0,624,627,1,0,0,0, - 625,623,1,0,0,0,625,626,1,0,0,0,626,628,1,0,0,0,627,625,1,0,0,0, - 628,641,5,39,0,0,629,630,7,21,0,0,630,636,5,34,0,0,631,632,5,92, - 0,0,632,635,8,17,0,0,633,635,8,34,0,0,634,631,1,0,0,0,634,633,1, - 0,0,0,635,638,1,0,0,0,636,634,1,0,0,0,636,637,1,0,0,0,637,639,1, - 0,0,0,638,636,1,0,0,0,639,641,5,34,0,0,640,618,1,0,0,0,640,629,1, - 0,0,0,641,108,1,0,0,0,642,644,3,7,3,0,643,642,1,0,0,0,643,644,1, - 0,0,0,644,645,1,0,0,0,645,647,3,39,19,0,646,648,3,41,20,0,647,646, - 1,0,0,0,647,648,1,0,0,0,648,650,1,0,0,0,649,651,3,43,21,0,650,649, - 1,0,0,0,650,651,1,0,0,0,651,669,1,0,0,0,652,654,3,7,3,0,653,652, - 1,0,0,0,653,654,1,0,0,0,654,655,1,0,0,0,655,657,3,41,20,0,656,658, - 3,43,21,0,657,656,1,0,0,0,657,658,1,0,0,0,658,669,1,0,0,0,659,661, - 3,7,3,0,660,659,1,0,0,0,660,661,1,0,0,0,661,666,1,0,0,0,662,667, - 3,45,22,0,663,667,3,47,23,0,664,667,3,49,24,0,665,667,3,51,25,0, - 666,662,1,0,0,0,666,663,1,0,0,0,666,664,1,0,0,0,666,665,1,0,0,0, - 667,669,1,0,0,0,668,643,1,0,0,0,668,653,1,0,0,0,668,660,1,0,0,0, - 669,110,1,0,0,0,670,671,5,94,0,0,671,112,1,0,0,0,672,673,5,167,0, - 0,673,114,1,0,0,0,674,675,5,62,0,0,675,116,1,0,0,0,676,677,5,60, - 0,0,677,118,1,0,0,0,678,679,5,61,0,0,679,120,1,0,0,0,680,681,5,44, - 0,0,681,122,1,0,0,0,682,683,5,58,0,0,683,124,1,0,0,0,684,685,5,91, - 0,0,685,126,1,0,0,0,686,687,5,93,0,0,687,128,1,0,0,0,688,689,5,123, - 0,0,689,130,1,0,0,0,690,691,5,125,0,0,691,132,1,0,0,0,692,693,5, - 43,0,0,693,134,1,0,0,0,694,695,5,36,0,0,695,136,1,0,0,0,696,697, - 5,37,0,0,697,138,1,0,0,0,698,699,5,64,0,0,699,140,1,0,0,0,700,701, - 5,59,0,0,701,142,1,0,0,0,702,704,3,147,73,0,703,702,1,0,0,0,704, - 707,1,0,0,0,705,703,1,0,0,0,705,706,1,0,0,0,706,708,1,0,0,0,707, - 705,1,0,0,0,708,709,3,145,72,0,709,144,1,0,0,0,710,712,5,13,0,0, - 711,713,5,10,0,0,712,711,1,0,0,0,712,713,1,0,0,0,713,716,1,0,0,0, - 714,716,5,10,0,0,715,710,1,0,0,0,715,714,1,0,0,0,716,717,1,0,0,0, - 717,715,1,0,0,0,717,718,1,0,0,0,718,146,1,0,0,0,719,720,5,47,0,0, - 720,721,5,47,0,0,721,725,1,0,0,0,722,724,8,17,0,0,723,722,1,0,0, - 0,724,727,1,0,0,0,725,723,1,0,0,0,725,726,1,0,0,0,726,736,1,0,0, - 0,727,725,1,0,0,0,728,732,5,35,0,0,729,731,8,17,0,0,730,729,1,0, - 0,0,731,734,1,0,0,0,732,730,1,0,0,0,732,733,1,0,0,0,733,736,1,0, - 0,0,734,732,1,0,0,0,735,719,1,0,0,0,735,728,1,0,0,0,736,148,1,0, - 0,0,737,739,3,3,1,0,738,737,1,0,0,0,739,740,1,0,0,0,740,738,1,0, - 0,0,740,741,1,0,0,0,741,742,1,0,0,0,742,743,6,74,0,0,743,150,1,0, - 0,0,744,745,5,47,0,0,745,746,5,42,0,0,746,750,1,0,0,0,747,749,9, - 0,0,0,748,747,1,0,0,0,749,752,1,0,0,0,750,751,1,0,0,0,750,748,1, - 0,0,0,751,753,1,0,0,0,752,750,1,0,0,0,753,754,5,42,0,0,754,755,5, - 47,0,0,755,756,1,0,0,0,756,757,6,75,0,0,757,152,1,0,0,0,758,759, - 5,45,0,0,759,760,5,45,0,0,760,154,1,0,0,0,761,765,3,153,76,0,762, - 764,8,17,0,0,763,762,1,0,0,0,764,767,1,0,0,0,765,763,1,0,0,0,765, - 766,1,0,0,0,766,769,1,0,0,0,767,765,1,0,0,0,768,770,3,143,71,0,769, - 768,1,0,0,0,769,770,1,0,0,0,770,156,1,0,0,0,771,775,5,59,0,0,772, - 774,8,17,0,0,773,772,1,0,0,0,774,777,1,0,0,0,775,773,1,0,0,0,775, - 776,1,0,0,0,776,158,1,0,0,0,777,775,1,0,0,0,778,779,5,47,0,0,779, - 782,5,47,0,0,780,782,5,35,0,0,781,778,1,0,0,0,781,780,1,0,0,0,782, - 786,1,0,0,0,783,785,8,17,0,0,784,783,1,0,0,0,785,788,1,0,0,0,786, - 784,1,0,0,0,786,787,1,0,0,0,787,789,1,0,0,0,788,786,1,0,0,0,789, - 790,6,79,0,0,790,160,1,0,0,0,791,794,3,57,28,0,792,794,3,163,81, - 0,793,791,1,0,0,0,793,792,1,0,0,0,794,162,1,0,0,0,795,799,7,1,0, - 0,796,798,7,4,0,0,797,796,1,0,0,0,798,801,1,0,0,0,799,797,1,0,0, - 0,799,800,1,0,0,0,800,164,1,0,0,0,801,799,1,0,0,0,802,804,3,73,36, - 0,803,802,1,0,0,0,804,805,1,0,0,0,805,803,1,0,0,0,805,806,1,0,0, - 0,806,166,1,0,0,0,807,809,3,139,69,0,808,810,3,165,82,0,809,808, - 1,0,0,0,810,811,1,0,0,0,811,809,1,0,0,0,811,812,1,0,0,0,812,168, - 1,0,0,0,95,0,189,193,199,204,208,212,217,221,225,230,234,238,243, - 247,251,256,278,283,286,295,304,322,327,329,336,343,349,353,358, - 363,368,373,378,383,388,395,401,409,411,416,427,468,474,480,486, - 493,499,501,507,512,518,530,541,558,561,570,585,587,595,601,606, - 612,616,623,625,634,636,640,643,647,650,653,657,660,666,668,705, - 712,715,717,725,732,735,740,750,765,769,775,781,786,793,799,805, - 811,1,6,0,0 + 78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,2,84,7, + 84,2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,1,0,1,0,1,0, + 1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,8, + 1,8,3,8,202,8,8,1,9,1,9,3,9,206,8,9,1,10,1,10,1,11,1,11,3,11,212, + 8,11,1,11,5,11,215,8,11,10,11,12,11,218,9,11,1,12,3,12,221,8,12, + 1,12,1,12,3,12,225,8,12,1,12,5,12,228,8,12,10,12,12,12,231,9,12, + 1,13,3,13,234,8,13,1,13,1,13,3,13,238,8,13,1,13,5,13,241,8,13,10, + 13,12,13,244,9,13,1,14,3,14,247,8,14,1,14,1,14,3,14,251,8,14,1,14, + 5,14,254,8,14,10,14,12,14,257,9,14,1,15,3,15,260,8,15,1,15,1,15, + 3,15,264,8,15,1,15,5,15,267,8,15,10,15,12,15,270,9,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,18,1,18,1,18,3,18,291,8,18,1,18,5,18,294,8,18,10,18,12,18, + 297,9,18,3,18,299,8,18,1,19,1,19,1,20,1,20,1,20,1,21,1,21,3,21,308, + 8,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,3,22,317,8,22,1,23,1,23, + 1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,25,1,25, + 1,25,3,25,335,8,25,1,26,1,26,1,26,5,26,340,8,26,10,26,12,26,343, + 9,26,1,27,1,27,1,27,1,27,5,27,349,8,27,10,27,12,27,352,9,27,1,27, + 1,27,1,28,1,28,3,28,358,8,28,1,29,1,29,1,29,1,29,3,29,364,8,29,1, + 30,1,30,3,30,368,8,30,1,30,5,30,371,8,30,10,30,12,30,374,9,30,1, + 31,1,31,3,31,378,8,31,1,31,5,31,381,8,31,10,31,12,31,384,9,31,1, + 32,1,32,3,32,388,8,32,1,32,5,32,391,8,32,10,32,12,32,394,9,32,1, + 33,1,33,3,33,398,8,33,1,33,5,33,401,8,33,10,33,12,33,404,9,33,1, + 34,1,34,1,34,1,34,3,34,410,8,34,1,34,1,34,5,34,414,8,34,10,34,12, + 34,417,9,34,1,35,1,35,1,35,1,35,1,35,4,35,424,8,35,11,35,12,35,425, + 1,35,5,35,429,8,35,10,35,12,35,432,9,35,1,36,1,36,1,37,1,37,1,37, + 1,37,5,37,440,8,37,10,37,12,37,443,9,37,1,37,1,37,3,37,447,8,37, + 1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39, + 1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40, + 1,40,1,41,1,41,1,41,1,41,1,41,1,42,1,42,4,42,483,8,42,11,42,12,42, + 484,1,42,1,42,5,42,489,8,42,10,42,12,42,492,9,42,1,42,1,42,1,42, + 5,42,497,8,42,10,42,12,42,500,9,42,1,42,4,42,503,8,42,11,42,12,42, + 504,1,42,5,42,508,8,42,10,42,12,42,511,9,42,1,42,3,42,514,8,42,1, + 42,1,42,1,42,5,42,519,8,42,10,42,12,42,522,9,42,1,42,1,42,1,42,5, + 42,527,8,42,10,42,12,42,530,9,42,1,42,4,42,533,8,42,11,42,12,42, + 534,1,42,5,42,538,8,42,10,42,12,42,541,9,42,1,42,3,42,544,8,42,3, + 42,546,8,42,1,43,1,43,1,43,1,43,3,43,552,8,43,1,43,5,43,555,8,43, + 10,43,12,43,558,9,43,1,43,4,43,561,8,43,11,43,12,43,562,1,43,3,43, + 566,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44, + 578,8,44,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,589,8, + 45,1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,49,1, + 49,1,49,1,49,1,49,1,49,1,49,3,49,609,8,49,1,50,3,50,612,8,50,1,50, + 1,50,1,50,1,50,1,50,5,50,619,8,50,10,50,12,50,622,9,50,1,50,1,50, + 1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,5,51,636,8,51, + 10,51,12,51,639,9,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52, + 1,52,1,52,1,52,5,52,653,8,52,10,52,12,52,656,9,52,1,52,1,52,1,52, + 1,52,1,53,3,53,663,8,53,1,53,1,53,5,53,667,8,53,10,53,12,53,670, + 9,53,1,53,1,53,3,53,674,8,53,1,53,1,53,5,53,678,8,53,10,53,12,53, + 681,9,53,1,53,3,53,684,8,53,1,54,1,54,1,54,1,54,1,54,5,54,691,8, + 54,10,54,12,54,694,9,54,1,54,1,54,1,54,1,54,1,54,1,54,5,54,702,8, + 54,10,54,12,54,705,9,54,1,54,3,54,708,8,54,1,55,1,55,1,55,1,55,1, + 55,5,55,715,8,55,10,55,12,55,718,9,55,1,55,1,55,1,55,1,55,1,55,1, + 55,5,55,726,8,55,10,55,12,55,729,9,55,1,55,3,55,732,8,55,1,56,1, + 56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,5, + 56,748,8,56,10,56,12,56,751,9,56,1,56,5,56,754,8,56,10,56,12,56, + 757,9,56,1,56,5,56,760,8,56,10,56,12,56,763,9,56,1,56,1,56,1,56, + 1,56,1,57,1,57,3,57,771,8,57,1,57,3,57,774,8,57,1,58,3,58,777,8, + 58,1,58,1,58,3,58,781,8,58,1,58,3,58,784,8,58,1,58,3,58,787,8,58, + 1,58,1,58,3,58,791,8,58,1,58,3,58,794,8,58,1,58,1,58,1,58,1,58,3, + 58,800,8,58,3,58,802,8,58,1,59,1,59,1,60,1,60,1,61,1,61,1,62,1,62, + 1,63,1,63,1,64,1,64,1,65,1,65,1,66,1,66,1,67,1,67,1,68,1,68,1,69, + 1,69,1,70,1,70,1,71,1,71,1,72,1,72,1,73,1,73,1,74,1,74,1,75,5,75, + 837,8,75,10,75,12,75,840,9,75,1,75,1,75,1,76,1,76,3,76,846,8,76, + 1,76,4,76,849,8,76,11,76,12,76,850,1,77,1,77,1,77,1,77,5,77,857, + 8,77,10,77,12,77,860,9,77,1,77,1,77,5,77,864,8,77,10,77,12,77,867, + 9,77,3,77,869,8,77,1,78,1,78,1,78,1,78,5,78,875,8,78,10,78,12,78, + 878,9,78,1,78,1,78,1,78,1,79,1,79,1,79,1,79,5,79,887,8,79,10,79, + 12,79,890,9,79,1,79,1,79,1,79,1,80,4,80,896,8,80,11,80,12,80,897, + 1,80,1,80,1,81,1,81,1,81,1,81,5,81,906,8,81,10,81,12,81,909,9,81, + 1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1,83,1,83,5,83,921,8,83, + 10,83,12,83,924,9,83,1,83,3,83,927,8,83,1,84,1,84,5,84,931,8,84, + 10,84,12,84,934,9,84,1,85,1,85,1,85,3,85,939,8,85,1,85,5,85,942, + 8,85,10,85,12,85,945,9,85,1,85,1,85,1,86,1,86,3,86,951,8,86,1,87, + 1,87,5,87,955,8,87,10,87,12,87,958,9,87,1,88,4,88,961,8,88,11,88, + 12,88,962,1,89,1,89,4,89,967,8,89,11,89,12,89,968,7,620,637,654, + 755,876,888,907,0,90,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,17,0,19, + 0,21,0,23,0,25,0,27,0,29,0,31,0,33,0,35,0,37,0,39,0,41,0,43,0,45, + 0,47,0,49,0,51,0,53,0,55,0,57,0,59,0,61,0,63,0,65,0,67,0,69,0,71, + 0,73,0,75,1,77,2,79,3,81,4,83,5,85,6,87,7,89,8,91,9,93,10,95,11, + 97,12,99,13,101,0,103,0,105,0,107,0,109,0,111,0,113,0,115,0,117, + 14,119,15,121,16,123,17,125,18,127,19,129,20,131,21,133,22,135,23, + 137,24,139,25,141,26,143,27,145,28,147,29,149,30,151,0,153,31,155, + 0,157,0,159,0,161,32,163,33,165,0,167,34,169,35,171,36,173,37,175, + 38,177,39,179,40,1,0,37,2,0,9,9,32,32,1,0,48,57,2,0,43,43,45,45, + 3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,48,55,6, + 0,65,66,69,69,88,88,97,98,101,101,120,120,2,0,65,70,97,102,1,0,49, + 57,2,0,69,69,101,101,2,0,66,66,98,98,2,0,79,79,111,111,2,0,90,90, + 122,122,2,0,88,88,120,120,2,0,72,72,104,104,2,0,92,92,96,96,4,0, + 0,31,92,92,96,96,127,159,15,0,9,10,13,13,32,32,34,35,39,39,44,45, + 47,58,60,62,64,64,91,91,93,94,96,96,123,123,125,125,167,167,2,0, + 10,10,13,13,2,0,89,89,121,121,2,0,73,73,105,105,2,0,78,78,110,110, + 2,0,67,67,99,99,2,0,76,76,108,108,2,0,85,85,117,117,2,0,68,68,100, + 100,2,0,80,80,112,112,2,0,82,82,114,114,2,0,65,65,97,97,2,0,84,84, + 116,116,2,0,70,70,102,102,2,0,83,83,115,115,3,0,10,10,13,13,39,39, + 3,0,10,10,13,13,34,34,4,0,10,10,13,13,39,39,92,92,4,0,10,10,13,13, + 34,34,92,92,1,0,32,32,1058,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0, + 0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0, + 0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0, + 0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125, + 1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0, + 0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1, + 0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,153,1,0,0,0,0, + 161,1,0,0,0,0,163,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0, + 0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,1,181, + 1,0,0,0,3,185,1,0,0,0,5,187,1,0,0,0,7,189,1,0,0,0,9,191,1,0,0,0, + 11,193,1,0,0,0,13,195,1,0,0,0,15,197,1,0,0,0,17,201,1,0,0,0,19,205, + 1,0,0,0,21,207,1,0,0,0,23,209,1,0,0,0,25,220,1,0,0,0,27,233,1,0, + 0,0,29,246,1,0,0,0,31,259,1,0,0,0,33,271,1,0,0,0,35,277,1,0,0,0, + 37,298,1,0,0,0,39,300,1,0,0,0,41,302,1,0,0,0,43,305,1,0,0,0,45,316, + 1,0,0,0,47,318,1,0,0,0,49,322,1,0,0,0,51,334,1,0,0,0,53,336,1,0, + 0,0,55,344,1,0,0,0,57,357,1,0,0,0,59,363,1,0,0,0,61,365,1,0,0,0, + 63,375,1,0,0,0,65,385,1,0,0,0,67,395,1,0,0,0,69,409,1,0,0,0,71,423, + 1,0,0,0,73,433,1,0,0,0,75,435,1,0,0,0,77,448,1,0,0,0,79,454,1,0, + 0,0,81,463,1,0,0,0,83,475,1,0,0,0,85,545,1,0,0,0,87,551,1,0,0,0, + 89,577,1,0,0,0,91,588,1,0,0,0,93,590,1,0,0,0,95,595,1,0,0,0,97,598, + 1,0,0,0,99,608,1,0,0,0,101,611,1,0,0,0,103,627,1,0,0,0,105,644,1, + 0,0,0,107,683,1,0,0,0,109,707,1,0,0,0,111,731,1,0,0,0,113,733,1, + 0,0,0,115,773,1,0,0,0,117,801,1,0,0,0,119,803,1,0,0,0,121,805,1, + 0,0,0,123,807,1,0,0,0,125,809,1,0,0,0,127,811,1,0,0,0,129,813,1, + 0,0,0,131,815,1,0,0,0,133,817,1,0,0,0,135,819,1,0,0,0,137,821,1, + 0,0,0,139,823,1,0,0,0,141,825,1,0,0,0,143,827,1,0,0,0,145,829,1, + 0,0,0,147,831,1,0,0,0,149,833,1,0,0,0,151,838,1,0,0,0,153,848,1, + 0,0,0,155,868,1,0,0,0,157,870,1,0,0,0,159,882,1,0,0,0,161,895,1, + 0,0,0,163,901,1,0,0,0,165,915,1,0,0,0,167,918,1,0,0,0,169,928,1, + 0,0,0,171,938,1,0,0,0,173,950,1,0,0,0,175,952,1,0,0,0,177,960,1, + 0,0,0,179,964,1,0,0,0,181,182,2,48,49,0,182,183,2,48,49,0,183,184, + 2,48,49,0,184,2,1,0,0,0,185,186,7,0,0,0,186,4,1,0,0,0,187,188,7, + 1,0,0,188,6,1,0,0,0,189,190,7,2,0,0,190,8,1,0,0,0,191,192,7,3,0, + 0,192,10,1,0,0,0,193,194,7,4,0,0,194,12,1,0,0,0,195,196,2,48,49, + 0,196,14,1,0,0,0,197,198,7,5,0,0,198,16,1,0,0,0,199,202,3,5,2,0, + 200,202,7,6,0,0,201,199,1,0,0,0,201,200,1,0,0,0,202,18,1,0,0,0,203, + 206,3,5,2,0,204,206,7,7,0,0,205,203,1,0,0,0,205,204,1,0,0,0,206, + 20,1,0,0,0,207,208,5,95,0,0,208,22,1,0,0,0,209,216,3,5,2,0,210,212, + 3,21,10,0,211,210,1,0,0,0,211,212,1,0,0,0,212,213,1,0,0,0,213,215, + 3,5,2,0,214,211,1,0,0,0,215,218,1,0,0,0,216,214,1,0,0,0,216,217, + 1,0,0,0,217,24,1,0,0,0,218,216,1,0,0,0,219,221,3,21,10,0,220,219, + 1,0,0,0,220,221,1,0,0,0,221,222,1,0,0,0,222,229,3,13,6,0,223,225, + 3,21,10,0,224,223,1,0,0,0,224,225,1,0,0,0,225,226,1,0,0,0,226,228, + 3,13,6,0,227,224,1,0,0,0,228,231,1,0,0,0,229,227,1,0,0,0,229,230, + 1,0,0,0,230,26,1,0,0,0,231,229,1,0,0,0,232,234,3,21,10,0,233,232, + 1,0,0,0,233,234,1,0,0,0,234,235,1,0,0,0,235,242,3,15,7,0,236,238, + 3,21,10,0,237,236,1,0,0,0,237,238,1,0,0,0,238,239,1,0,0,0,239,241, + 3,15,7,0,240,237,1,0,0,0,241,244,1,0,0,0,242,240,1,0,0,0,242,243, + 1,0,0,0,243,28,1,0,0,0,244,242,1,0,0,0,245,247,3,21,10,0,246,245, + 1,0,0,0,246,247,1,0,0,0,247,248,1,0,0,0,248,255,3,17,8,0,249,251, + 3,21,10,0,250,249,1,0,0,0,250,251,1,0,0,0,251,252,1,0,0,0,252,254, + 3,17,8,0,253,250,1,0,0,0,254,257,1,0,0,0,255,253,1,0,0,0,255,256, + 1,0,0,0,256,30,1,0,0,0,257,255,1,0,0,0,258,260,3,21,10,0,259,258, + 1,0,0,0,259,260,1,0,0,0,260,261,1,0,0,0,261,268,3,19,9,0,262,264, + 3,21,10,0,263,262,1,0,0,0,263,264,1,0,0,0,264,265,1,0,0,0,265,267, + 3,19,9,0,266,263,1,0,0,0,267,270,1,0,0,0,268,266,1,0,0,0,268,269, + 1,0,0,0,269,32,1,0,0,0,270,268,1,0,0,0,271,272,5,117,0,0,272,273, + 3,19,9,0,273,274,3,19,9,0,274,275,3,19,9,0,275,276,3,19,9,0,276, + 34,1,0,0,0,277,278,5,85,0,0,278,279,3,19,9,0,279,280,3,19,9,0,280, + 281,3,19,9,0,281,282,3,19,9,0,282,283,3,19,9,0,283,284,3,19,9,0, + 284,285,3,19,9,0,285,286,3,19,9,0,286,36,1,0,0,0,287,299,5,48,0, + 0,288,295,7,8,0,0,289,291,3,21,10,0,290,289,1,0,0,0,290,291,1,0, + 0,0,291,292,1,0,0,0,292,294,3,5,2,0,293,290,1,0,0,0,294,297,1,0, + 0,0,295,293,1,0,0,0,295,296,1,0,0,0,296,299,1,0,0,0,297,295,1,0, + 0,0,298,287,1,0,0,0,298,288,1,0,0,0,299,38,1,0,0,0,300,301,3,37, + 18,0,301,40,1,0,0,0,302,303,5,46,0,0,303,304,3,23,11,0,304,42,1, + 0,0,0,305,307,7,9,0,0,306,308,3,7,3,0,307,306,1,0,0,0,307,308,1, + 0,0,0,308,309,1,0,0,0,309,310,3,23,11,0,310,44,1,0,0,0,311,312,5, + 48,0,0,312,313,7,10,0,0,313,317,3,25,12,0,314,315,5,37,0,0,315,317, + 3,25,12,0,316,311,1,0,0,0,316,314,1,0,0,0,317,46,1,0,0,0,318,319, + 5,48,0,0,319,320,7,11,0,0,320,321,3,27,13,0,321,48,1,0,0,0,322,323, + 5,48,0,0,323,324,7,12,0,0,324,325,3,29,14,0,325,50,1,0,0,0,326,327, + 5,48,0,0,327,328,7,13,0,0,328,335,3,31,15,0,329,330,7,14,0,0,330, + 331,7,9,0,0,331,332,7,13,0,0,332,333,5,58,0,0,333,335,3,31,15,0, + 334,326,1,0,0,0,334,329,1,0,0,0,335,52,1,0,0,0,336,341,3,9,4,0,337, + 340,3,11,5,0,338,340,5,46,0,0,339,337,1,0,0,0,339,338,1,0,0,0,340, + 343,1,0,0,0,341,339,1,0,0,0,341,342,1,0,0,0,342,54,1,0,0,0,343,341, + 1,0,0,0,344,350,5,96,0,0,345,346,5,92,0,0,346,349,7,15,0,0,347,349, + 8,16,0,0,348,345,1,0,0,0,348,347,1,0,0,0,349,352,1,0,0,0,350,348, + 1,0,0,0,350,351,1,0,0,0,351,353,1,0,0,0,352,350,1,0,0,0,353,354, + 5,96,0,0,354,56,1,0,0,0,355,358,3,53,26,0,356,358,3,55,27,0,357, + 355,1,0,0,0,357,356,1,0,0,0,358,58,1,0,0,0,359,364,3,61,30,0,360, + 364,3,63,31,0,361,364,3,65,32,0,362,364,3,67,33,0,363,359,1,0,0, + 0,363,360,1,0,0,0,363,361,1,0,0,0,363,362,1,0,0,0,364,60,1,0,0,0, + 365,372,3,119,59,0,366,368,3,21,10,0,367,366,1,0,0,0,367,368,1,0, + 0,0,368,369,1,0,0,0,369,371,3,119,59,0,370,367,1,0,0,0,371,374,1, + 0,0,0,372,370,1,0,0,0,372,373,1,0,0,0,373,62,1,0,0,0,374,372,1,0, + 0,0,375,382,3,121,60,0,376,378,3,21,10,0,377,376,1,0,0,0,377,378, + 1,0,0,0,378,379,1,0,0,0,379,381,3,121,60,0,380,377,1,0,0,0,381,384, + 1,0,0,0,382,380,1,0,0,0,382,383,1,0,0,0,383,64,1,0,0,0,384,382,1, + 0,0,0,385,392,3,123,61,0,386,388,3,21,10,0,387,386,1,0,0,0,387,388, + 1,0,0,0,388,389,1,0,0,0,389,391,3,123,61,0,390,387,1,0,0,0,391,394, + 1,0,0,0,392,390,1,0,0,0,392,393,1,0,0,0,393,66,1,0,0,0,394,392,1, + 0,0,0,395,402,3,125,62,0,396,398,3,21,10,0,397,396,1,0,0,0,397,398, + 1,0,0,0,398,399,1,0,0,0,399,401,3,125,62,0,400,397,1,0,0,0,401,404, + 1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,68,1,0,0,0,404,402,1, + 0,0,0,405,410,3,119,59,0,406,410,3,121,60,0,407,410,3,123,61,0,408, + 410,3,125,62,0,409,405,1,0,0,0,409,406,1,0,0,0,409,407,1,0,0,0,409, + 408,1,0,0,0,410,411,1,0,0,0,411,415,7,8,0,0,412,414,3,5,2,0,413, + 412,1,0,0,0,414,417,1,0,0,0,415,413,1,0,0,0,415,416,1,0,0,0,416, + 70,1,0,0,0,417,415,1,0,0,0,418,424,3,119,59,0,419,424,3,121,60,0, + 420,424,3,123,61,0,421,424,3,125,62,0,422,424,3,21,10,0,423,418, + 1,0,0,0,423,419,1,0,0,0,423,420,1,0,0,0,423,421,1,0,0,0,423,422, + 1,0,0,0,424,425,1,0,0,0,425,423,1,0,0,0,425,426,1,0,0,0,426,430, + 1,0,0,0,427,429,3,5,2,0,428,427,1,0,0,0,429,432,1,0,0,0,430,428, + 1,0,0,0,430,431,1,0,0,0,431,72,1,0,0,0,432,430,1,0,0,0,433,434,8, + 17,0,0,434,74,1,0,0,0,435,436,5,35,0,0,436,437,5,33,0,0,437,441, + 1,0,0,0,438,440,8,18,0,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439, + 1,0,0,0,441,442,1,0,0,0,442,446,1,0,0,0,443,441,1,0,0,0,444,447, + 3,151,75,0,445,447,5,0,0,1,446,444,1,0,0,0,446,445,1,0,0,0,447,76, + 1,0,0,0,448,449,5,64,0,0,449,450,7,19,0,0,450,451,7,20,0,0,451,452, + 7,21,0,0,452,453,7,20,0,0,453,78,1,0,0,0,454,455,5,64,0,0,455,456, + 7,20,0,0,456,457,7,21,0,0,457,458,7,22,0,0,458,459,7,23,0,0,459, + 460,7,24,0,0,460,461,7,25,0,0,461,462,7,9,0,0,462,80,1,0,0,0,463, + 464,5,64,0,0,464,465,7,25,0,0,465,466,7,9,0,0,466,467,7,26,0,0,467, + 468,7,27,0,0,468,469,7,9,0,0,469,470,7,22,0,0,470,471,7,28,0,0,471, + 472,7,29,0,0,472,473,7,9,0,0,473,474,7,25,0,0,474,82,1,0,0,0,475, + 476,5,47,0,0,476,477,7,9,0,0,477,478,7,21,0,0,478,479,7,25,0,0,479, + 84,1,0,0,0,480,482,3,69,34,0,481,483,3,3,1,0,482,481,1,0,0,0,483, + 484,1,0,0,0,484,482,1,0,0,0,484,485,1,0,0,0,485,490,1,0,0,0,486, + 489,3,3,1,0,487,489,3,157,78,0,488,486,1,0,0,0,488,487,1,0,0,0,489, + 492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,493,1,0,0,0,492, + 490,1,0,0,0,493,498,3,57,28,0,494,497,3,3,1,0,495,497,3,159,79,0, + 496,494,1,0,0,0,496,495,1,0,0,0,497,500,1,0,0,0,498,496,1,0,0,0, + 498,499,1,0,0,0,499,513,1,0,0,0,500,498,1,0,0,0,501,503,3,151,75, + 0,502,501,1,0,0,0,503,504,1,0,0,0,504,502,1,0,0,0,504,505,1,0,0, + 0,505,514,1,0,0,0,506,508,3,155,77,0,507,506,1,0,0,0,508,511,1,0, + 0,0,509,507,1,0,0,0,509,510,1,0,0,0,510,512,1,0,0,0,511,509,1,0, + 0,0,512,514,5,0,0,1,513,502,1,0,0,0,513,509,1,0,0,0,514,546,1,0, + 0,0,515,520,3,59,29,0,516,519,3,3,1,0,517,519,3,157,78,0,518,516, + 1,0,0,0,518,517,1,0,0,0,519,522,1,0,0,0,520,518,1,0,0,0,520,521, + 1,0,0,0,521,523,1,0,0,0,522,520,1,0,0,0,523,528,3,57,28,0,524,527, + 3,3,1,0,525,527,3,159,79,0,526,524,1,0,0,0,526,525,1,0,0,0,527,530, + 1,0,0,0,528,526,1,0,0,0,528,529,1,0,0,0,529,543,1,0,0,0,530,528, + 1,0,0,0,531,533,3,151,75,0,532,531,1,0,0,0,533,534,1,0,0,0,534,532, + 1,0,0,0,534,535,1,0,0,0,535,544,1,0,0,0,536,538,3,155,77,0,537,536, + 1,0,0,0,538,541,1,0,0,0,539,537,1,0,0,0,539,540,1,0,0,0,540,542, + 1,0,0,0,541,539,1,0,0,0,542,544,5,0,0,1,543,532,1,0,0,0,543,539, + 1,0,0,0,544,546,1,0,0,0,545,480,1,0,0,0,545,515,1,0,0,0,546,86,1, + 0,0,0,547,552,3,119,59,0,548,552,3,121,60,0,549,552,3,123,61,0,550, + 552,3,125,62,0,551,547,1,0,0,0,551,548,1,0,0,0,551,549,1,0,0,0,551, + 550,1,0,0,0,552,556,1,0,0,0,553,555,8,18,0,0,554,553,1,0,0,0,555, + 558,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,565,1,0,0,0,558, + 556,1,0,0,0,559,561,3,151,75,0,560,559,1,0,0,0,561,562,1,0,0,0,562, + 560,1,0,0,0,562,563,1,0,0,0,563,566,1,0,0,0,564,566,5,0,0,1,565, + 560,1,0,0,0,565,564,1,0,0,0,566,88,1,0,0,0,567,568,7,30,0,0,568, + 569,7,28,0,0,569,570,7,23,0,0,570,571,7,31,0,0,571,578,7,9,0,0,572, + 573,7,11,0,0,573,574,7,30,0,0,574,578,7,30,0,0,575,576,7,21,0,0, + 576,578,7,11,0,0,577,567,1,0,0,0,577,572,1,0,0,0,577,575,1,0,0,0, + 578,90,1,0,0,0,579,580,7,29,0,0,580,581,7,27,0,0,581,582,7,24,0, + 0,582,589,7,9,0,0,583,584,7,11,0,0,584,589,7,21,0,0,585,586,7,19, + 0,0,586,587,7,9,0,0,587,589,7,31,0,0,588,579,1,0,0,0,588,583,1,0, + 0,0,588,585,1,0,0,0,589,92,1,0,0,0,590,591,7,21,0,0,591,592,7,24, + 0,0,592,593,7,23,0,0,593,594,7,23,0,0,594,94,1,0,0,0,595,596,5,123, + 0,0,596,597,5,125,0,0,597,96,1,0,0,0,598,599,5,91,0,0,599,600,5, + 93,0,0,600,98,1,0,0,0,601,609,3,103,51,0,602,609,3,105,52,0,603, + 609,3,101,50,0,604,609,3,109,54,0,605,609,3,111,55,0,606,609,3,107, + 53,0,607,609,3,113,56,0,608,601,1,0,0,0,608,602,1,0,0,0,608,603, + 1,0,0,0,608,604,1,0,0,0,608,605,1,0,0,0,608,606,1,0,0,0,608,607, + 1,0,0,0,609,100,1,0,0,0,610,612,7,27,0,0,611,610,1,0,0,0,611,612, + 1,0,0,0,612,613,1,0,0,0,613,614,5,34,0,0,614,615,5,34,0,0,615,616, + 5,34,0,0,616,620,1,0,0,0,617,619,9,0,0,0,618,617,1,0,0,0,619,622, + 1,0,0,0,620,621,1,0,0,0,620,618,1,0,0,0,621,623,1,0,0,0,622,620, + 1,0,0,0,623,624,5,34,0,0,624,625,5,34,0,0,625,626,5,34,0,0,626,102, + 1,0,0,0,627,628,7,22,0,0,628,629,5,34,0,0,629,630,5,34,0,0,630,631, + 5,34,0,0,631,637,1,0,0,0,632,633,5,92,0,0,633,636,9,0,0,0,634,636, + 9,0,0,0,635,632,1,0,0,0,635,634,1,0,0,0,636,639,1,0,0,0,637,638, + 1,0,0,0,637,635,1,0,0,0,638,640,1,0,0,0,639,637,1,0,0,0,640,641, + 5,34,0,0,641,642,5,34,0,0,642,643,5,34,0,0,643,104,1,0,0,0,644,645, + 7,9,0,0,645,646,5,34,0,0,646,647,5,34,0,0,647,648,5,34,0,0,648,654, + 1,0,0,0,649,650,5,92,0,0,650,653,9,0,0,0,651,653,9,0,0,0,652,649, + 1,0,0,0,652,651,1,0,0,0,653,656,1,0,0,0,654,655,1,0,0,0,654,652, + 1,0,0,0,655,657,1,0,0,0,656,654,1,0,0,0,657,658,5,34,0,0,658,659, + 5,34,0,0,659,660,5,34,0,0,660,106,1,0,0,0,661,663,7,27,0,0,662,661, + 1,0,0,0,662,663,1,0,0,0,663,664,1,0,0,0,664,668,5,39,0,0,665,667, + 8,32,0,0,666,665,1,0,0,0,667,670,1,0,0,0,668,666,1,0,0,0,668,669, + 1,0,0,0,669,671,1,0,0,0,670,668,1,0,0,0,671,684,5,39,0,0,672,674, + 7,27,0,0,673,672,1,0,0,0,673,674,1,0,0,0,674,675,1,0,0,0,675,679, + 5,34,0,0,676,678,8,33,0,0,677,676,1,0,0,0,678,681,1,0,0,0,679,677, + 1,0,0,0,679,680,1,0,0,0,680,682,1,0,0,0,681,679,1,0,0,0,682,684, + 5,34,0,0,683,662,1,0,0,0,683,673,1,0,0,0,684,108,1,0,0,0,685,686, + 7,22,0,0,686,692,5,39,0,0,687,688,5,92,0,0,688,691,8,18,0,0,689, + 691,8,34,0,0,690,687,1,0,0,0,690,689,1,0,0,0,691,694,1,0,0,0,692, + 690,1,0,0,0,692,693,1,0,0,0,693,695,1,0,0,0,694,692,1,0,0,0,695, + 708,5,39,0,0,696,697,7,22,0,0,697,703,5,34,0,0,698,699,5,92,0,0, + 699,702,8,18,0,0,700,702,8,35,0,0,701,698,1,0,0,0,701,700,1,0,0, + 0,702,705,1,0,0,0,703,701,1,0,0,0,703,704,1,0,0,0,704,706,1,0,0, + 0,705,703,1,0,0,0,706,708,5,34,0,0,707,685,1,0,0,0,707,696,1,0,0, + 0,708,110,1,0,0,0,709,710,7,9,0,0,710,716,5,39,0,0,711,712,5,92, + 0,0,712,715,8,18,0,0,713,715,8,34,0,0,714,711,1,0,0,0,714,713,1, + 0,0,0,715,718,1,0,0,0,716,714,1,0,0,0,716,717,1,0,0,0,717,719,1, + 0,0,0,718,716,1,0,0,0,719,732,5,39,0,0,720,721,7,9,0,0,721,727,5, + 34,0,0,722,723,5,92,0,0,723,726,8,18,0,0,724,726,8,35,0,0,725,722, + 1,0,0,0,725,724,1,0,0,0,726,729,1,0,0,0,727,725,1,0,0,0,727,728, + 1,0,0,0,728,730,1,0,0,0,729,727,1,0,0,0,730,732,5,34,0,0,731,709, + 1,0,0,0,731,720,1,0,0,0,732,112,1,0,0,0,733,734,5,99,0,0,734,735, + 5,111,0,0,735,736,5,109,0,0,736,737,5,109,0,0,737,738,5,97,0,0,738, + 739,5,110,0,0,739,740,5,100,0,0,740,741,1,0,0,0,741,742,5,34,0,0, + 742,743,5,34,0,0,743,744,5,34,0,0,744,745,1,0,0,0,745,755,3,115, + 57,0,746,748,8,18,0,0,747,746,1,0,0,0,748,751,1,0,0,0,749,747,1, + 0,0,0,749,750,1,0,0,0,750,752,1,0,0,0,751,749,1,0,0,0,752,754,3, + 115,57,0,753,749,1,0,0,0,754,757,1,0,0,0,755,756,1,0,0,0,755,753, + 1,0,0,0,756,761,1,0,0,0,757,755,1,0,0,0,758,760,7,36,0,0,759,758, + 1,0,0,0,760,763,1,0,0,0,761,759,1,0,0,0,761,762,1,0,0,0,762,764, + 1,0,0,0,763,761,1,0,0,0,764,765,5,34,0,0,765,766,5,34,0,0,766,767, + 5,34,0,0,767,114,1,0,0,0,768,770,5,13,0,0,769,771,5,10,0,0,770,769, + 1,0,0,0,770,771,1,0,0,0,771,774,1,0,0,0,772,774,5,10,0,0,773,768, + 1,0,0,0,773,772,1,0,0,0,774,116,1,0,0,0,775,777,3,7,3,0,776,775, + 1,0,0,0,776,777,1,0,0,0,777,778,1,0,0,0,778,780,3,39,19,0,779,781, + 3,41,20,0,780,779,1,0,0,0,780,781,1,0,0,0,781,783,1,0,0,0,782,784, + 3,43,21,0,783,782,1,0,0,0,783,784,1,0,0,0,784,802,1,0,0,0,785,787, + 3,7,3,0,786,785,1,0,0,0,786,787,1,0,0,0,787,788,1,0,0,0,788,790, + 3,41,20,0,789,791,3,43,21,0,790,789,1,0,0,0,790,791,1,0,0,0,791, + 802,1,0,0,0,792,794,3,7,3,0,793,792,1,0,0,0,793,794,1,0,0,0,794, + 799,1,0,0,0,795,800,3,45,22,0,796,800,3,47,23,0,797,800,3,49,24, + 0,798,800,3,51,25,0,799,795,1,0,0,0,799,796,1,0,0,0,799,797,1,0, + 0,0,799,798,1,0,0,0,800,802,1,0,0,0,801,776,1,0,0,0,801,786,1,0, + 0,0,801,793,1,0,0,0,802,118,1,0,0,0,803,804,5,94,0,0,804,120,1,0, + 0,0,805,806,5,167,0,0,806,122,1,0,0,0,807,808,5,62,0,0,808,124,1, + 0,0,0,809,810,5,60,0,0,810,126,1,0,0,0,811,812,5,61,0,0,812,128, + 1,0,0,0,813,814,5,44,0,0,814,130,1,0,0,0,815,816,5,58,0,0,816,132, + 1,0,0,0,817,818,5,91,0,0,818,134,1,0,0,0,819,820,5,93,0,0,820,136, + 1,0,0,0,821,822,5,123,0,0,822,138,1,0,0,0,823,824,5,125,0,0,824, + 140,1,0,0,0,825,826,5,43,0,0,826,142,1,0,0,0,827,828,5,36,0,0,828, + 144,1,0,0,0,829,830,5,37,0,0,830,146,1,0,0,0,831,832,5,64,0,0,832, + 148,1,0,0,0,833,834,5,59,0,0,834,150,1,0,0,0,835,837,3,155,77,0, + 836,835,1,0,0,0,837,840,1,0,0,0,838,836,1,0,0,0,838,839,1,0,0,0, + 839,841,1,0,0,0,840,838,1,0,0,0,841,842,3,153,76,0,842,152,1,0,0, + 0,843,845,5,13,0,0,844,846,5,10,0,0,845,844,1,0,0,0,845,846,1,0, + 0,0,846,849,1,0,0,0,847,849,5,10,0,0,848,843,1,0,0,0,848,847,1,0, + 0,0,849,850,1,0,0,0,850,848,1,0,0,0,850,851,1,0,0,0,851,154,1,0, + 0,0,852,853,5,47,0,0,853,854,5,47,0,0,854,858,1,0,0,0,855,857,8, + 18,0,0,856,855,1,0,0,0,857,860,1,0,0,0,858,856,1,0,0,0,858,859,1, + 0,0,0,859,869,1,0,0,0,860,858,1,0,0,0,861,865,5,35,0,0,862,864,8, + 18,0,0,863,862,1,0,0,0,864,867,1,0,0,0,865,863,1,0,0,0,865,866,1, + 0,0,0,866,869,1,0,0,0,867,865,1,0,0,0,868,852,1,0,0,0,868,861,1, + 0,0,0,869,156,1,0,0,0,870,871,5,47,0,0,871,872,5,42,0,0,872,876, + 1,0,0,0,873,875,8,18,0,0,874,873,1,0,0,0,875,878,1,0,0,0,876,877, + 1,0,0,0,876,874,1,0,0,0,877,879,1,0,0,0,878,876,1,0,0,0,879,880, + 5,42,0,0,880,881,5,47,0,0,881,158,1,0,0,0,882,883,5,47,0,0,883,884, + 5,42,0,0,884,888,1,0,0,0,885,887,9,0,0,0,886,885,1,0,0,0,887,890, + 1,0,0,0,888,889,1,0,0,0,888,886,1,0,0,0,889,891,1,0,0,0,890,888, + 1,0,0,0,891,892,5,42,0,0,892,893,5,47,0,0,893,160,1,0,0,0,894,896, + 3,3,1,0,895,894,1,0,0,0,896,897,1,0,0,0,897,895,1,0,0,0,897,898, + 1,0,0,0,898,899,1,0,0,0,899,900,6,80,0,0,900,162,1,0,0,0,901,902, + 5,47,0,0,902,903,5,42,0,0,903,907,1,0,0,0,904,906,9,0,0,0,905,904, + 1,0,0,0,906,909,1,0,0,0,907,908,1,0,0,0,907,905,1,0,0,0,908,910, + 1,0,0,0,909,907,1,0,0,0,910,911,5,42,0,0,911,912,5,47,0,0,912,913, + 1,0,0,0,913,914,6,81,0,0,914,164,1,0,0,0,915,916,5,45,0,0,916,917, + 5,45,0,0,917,166,1,0,0,0,918,922,3,165,82,0,919,921,8,18,0,0,920, + 919,1,0,0,0,921,924,1,0,0,0,922,920,1,0,0,0,922,923,1,0,0,0,923, + 926,1,0,0,0,924,922,1,0,0,0,925,927,3,151,75,0,926,925,1,0,0,0,926, + 927,1,0,0,0,927,168,1,0,0,0,928,932,5,59,0,0,929,931,8,18,0,0,930, + 929,1,0,0,0,931,934,1,0,0,0,932,930,1,0,0,0,932,933,1,0,0,0,933, + 170,1,0,0,0,934,932,1,0,0,0,935,936,5,47,0,0,936,939,5,47,0,0,937, + 939,5,35,0,0,938,935,1,0,0,0,938,937,1,0,0,0,939,943,1,0,0,0,940, + 942,8,18,0,0,941,940,1,0,0,0,942,945,1,0,0,0,943,941,1,0,0,0,943, + 944,1,0,0,0,944,946,1,0,0,0,945,943,1,0,0,0,946,947,6,85,0,0,947, + 172,1,0,0,0,948,951,3,57,28,0,949,951,3,175,87,0,950,948,1,0,0,0, + 950,949,1,0,0,0,951,174,1,0,0,0,952,956,7,1,0,0,953,955,7,4,0,0, + 954,953,1,0,0,0,955,958,1,0,0,0,956,954,1,0,0,0,956,957,1,0,0,0, + 957,176,1,0,0,0,958,956,1,0,0,0,959,961,3,73,36,0,960,959,1,0,0, + 0,961,962,1,0,0,0,962,960,1,0,0,0,962,963,1,0,0,0,963,178,1,0,0, + 0,964,966,3,147,73,0,965,967,3,177,88,0,966,965,1,0,0,0,967,968, + 1,0,0,0,968,966,1,0,0,0,968,969,1,0,0,0,969,180,1,0,0,0,121,0,201, + 205,211,216,220,224,229,233,237,242,246,250,255,259,263,268,290, + 295,298,307,316,334,339,341,348,350,357,363,367,372,377,382,387, + 392,397,402,409,415,423,425,430,441,446,484,488,490,496,498,504, + 509,513,518,520,526,528,534,539,543,545,551,556,562,565,577,588, + 608,611,620,635,637,652,654,662,668,673,679,683,690,692,701,703, + 707,714,716,725,727,731,749,755,761,770,773,776,780,783,786,790, + 793,799,801,838,845,848,850,858,865,868,876,888,897,907,922,926, + 932,938,943,950,956,962,968,1,6,0,0 ] class YiniLexer(Lexer): @@ -408,13 +470,15 @@ class YiniLexer(Lexer): "SECTION_HEAD", "INVALID_SECTION_HEAD", "BOOLEAN_FALSE", "BOOLEAN_TRUE", "NULL", "EMPTY_OBJECT", "EMPTY_LIST", "STRING", "RAW_TRIPLE_QUOTED_STRING", "CLASSIC_TRIPLE_QUOTED_STRING", - "RAW_SINGLE_OR_DOUBLE_STRING", "CLASSIC_SINGLE_OR_DOUBLE_STRING", + "ESCAPED_TRIPLE_QUOTED_STRING", "RAW_SINGLE_OR_DOUBLE_STRING", + "CLASSIC_SINGLE_OR_DOUBLE_STRING", "ESCAPED_SINGLE_OR_DOUBLE_STRING", + "COMMAND_TRIPLE_QUOTED_STRING", "COMMAND_LINE_BREAK", "NUMBER", "CARET", "SS", "GT", "LT", "EQ", "COMMA", "COLON", "OB", "CB", "OC", "CC", "PLUS", "DOLLAR", "PC", "AT", - "SEMICOLON", "EOL", "NL", "SECTION_TAIL_COMMENT", "WS", - "BLOCK_COMMENT", "DISABLE_LINE_MARKER", "DISABLED_LINE", - "FULL_LINE_COMMENT", "INLINE_COMMENT", "KEY", "IDENT_INVALID", - "REST", "META_INVALID" ] + "SEMICOLON", "EOL", "NL", "SECTION_TAIL_COMMENT", "SECTION_SINGLE_LINE_BLOCK_COMMENT", + "SECTION_BLOCK_COMMENT", "WS", "BLOCK_COMMENT", "DISABLE_LINE_MARKER", + "DISABLED_LINE", "FULL_LINE_COMMENT", "INLINE_COMMENT", + "KEY", "IDENT_INVALID", "REST", "META_INVALID" ] grammarFileName = "YiniLexer.g4" diff --git a/src/yini_parser/grammar/generated/YiniParser.interp b/src/yini_parser/grammar/generated/YiniParser.interp index e3a3535..7043c6f 100644 --- a/src/yini_parser/grammar/generated/YiniParser.interp +++ b/src/yini_parser/grammar/generated/YiniParser.interp @@ -99,7 +99,9 @@ yini_directive yini_mode_declaration annotation eol +line_end assignment +identifier member value scalar_value @@ -113,6 +115,7 @@ object_member object_member_separator list_literal elements +multiline_trivia number_literal null_literal boolean_literal @@ -121,4 +124,4 @@ bad_member atn: -[4, 1, 40, 324, 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, 1, 0, 3, 0, 68, 8, 0, 1, 0, 5, 0, 71, 8, 0, 10, 0, 12, 0, 74, 9, 0, 1, 0, 3, 0, 77, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 5, 1, 83, 8, 1, 10, 1, 12, 1, 86, 9, 1, 1, 1, 4, 1, 89, 8, 1, 11, 1, 12, 1, 90, 3, 1, 93, 8, 1, 1, 2, 1, 2, 5, 2, 97, 8, 2, 10, 2, 12, 2, 100, 9, 2, 1, 3, 1, 3, 3, 3, 104, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 114, 8, 4, 1, 5, 1, 5, 3, 5, 118, 8, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 129, 8, 8, 1, 9, 1, 9, 1, 9, 3, 9, 134, 8, 9, 1, 9, 3, 9, 137, 8, 9, 1, 10, 1, 10, 3, 10, 141, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 4, 13, 151, 8, 13, 11, 13, 12, 13, 152, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 3, 15, 161, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 167, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 173, 8, 17, 1, 18, 1, 18, 4, 18, 177, 8, 18, 11, 18, 12, 18, 178, 1, 19, 1, 19, 5, 19, 183, 8, 19, 10, 19, 12, 19, 186, 9, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, 22, 1, 22, 5, 22, 196, 8, 22, 10, 22, 12, 22, 199, 9, 22, 1, 22, 3, 22, 202, 8, 22, 1, 22, 5, 22, 205, 8, 22, 10, 22, 12, 22, 208, 9, 22, 1, 22, 1, 22, 5, 22, 212, 8, 22, 10, 22, 12, 22, 215, 9, 22, 1, 22, 1, 22, 5, 22, 219, 8, 22, 10, 22, 12, 22, 222, 9, 22, 3, 22, 224, 8, 22, 1, 23, 1, 23, 1, 23, 5, 23, 229, 8, 23, 10, 23, 12, 23, 232, 9, 23, 1, 23, 5, 23, 235, 8, 23, 10, 23, 12, 23, 238, 9, 23, 1, 23, 3, 23, 241, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 5, 26, 251, 8, 26, 10, 26, 12, 26, 254, 9, 26, 1, 26, 3, 26, 257, 8, 26, 1, 26, 5, 26, 260, 8, 26, 10, 26, 12, 26, 263, 9, 26, 1, 26, 1, 26, 5, 26, 267, 8, 26, 10, 26, 12, 26, 270, 9, 26, 1, 26, 1, 26, 5, 26, 274, 8, 26, 10, 26, 12, 26, 277, 9, 26, 3, 26, 279, 8, 26, 1, 27, 1, 27, 5, 27, 283, 8, 27, 10, 27, 12, 27, 286, 9, 27, 1, 27, 1, 27, 5, 27, 290, 8, 27, 10, 27, 12, 27, 293, 9, 27, 1, 27, 5, 27, 296, 8, 27, 10, 27, 12, 27, 299, 9, 27, 1, 27, 3, 27, 302, 8, 27, 1, 28, 1, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 32, 1, 32, 3, 32, 314, 8, 32, 1, 32, 1, 32, 1, 32, 3, 32, 319, 8, 32, 1, 32, 3, 32, 322, 8, 32, 1, 32, 0, 0, 33, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 0, 3, 2, 0, 8, 10, 13, 14, 2, 0, 19, 19, 21, 21, 1, 0, 8, 9, 344, 0, 67, 1, 0, 0, 0, 2, 92, 1, 0, 0, 0, 4, 94, 1, 0, 0, 0, 6, 103, 1, 0, 0, 0, 8, 113, 1, 0, 0, 0, 10, 115, 1, 0, 0, 0, 12, 119, 1, 0, 0, 0, 14, 121, 1, 0, 0, 0, 16, 128, 1, 0, 0, 0, 18, 136, 1, 0, 0, 0, 20, 138, 1, 0, 0, 0, 22, 144, 1, 0, 0, 0, 24, 146, 1, 0, 0, 0, 26, 150, 1, 0, 0, 0, 28, 154, 1, 0, 0, 0, 30, 157, 1, 0, 0, 0, 32, 166, 1, 0, 0, 0, 34, 172, 1, 0, 0, 0, 36, 174, 1, 0, 0, 0, 38, 180, 1, 0, 0, 0, 40, 189, 1, 0, 0, 0, 42, 191, 1, 0, 0, 0, 44, 223, 1, 0, 0, 0, 46, 225, 1, 0, 0, 0, 48, 242, 1, 0, 0, 0, 50, 246, 1, 0, 0, 0, 52, 278, 1, 0, 0, 0, 54, 280, 1, 0, 0, 0, 56, 303, 1, 0, 0, 0, 58, 305, 1, 0, 0, 0, 60, 307, 1, 0, 0, 0, 62, 309, 1, 0, 0, 0, 64, 313, 1, 0, 0, 0, 66, 68, 3, 2, 1, 0, 67, 66, 1, 0, 0, 0, 67, 68, 1, 0, 0, 0, 68, 72, 1, 0, 0, 0, 69, 71, 3, 8, 4, 0, 70, 69, 1, 0, 0, 0, 71, 74, 1, 0, 0, 0, 72, 70, 1, 0, 0, 0, 72, 73, 1, 0, 0, 0, 73, 76, 1, 0, 0, 0, 74, 72, 1, 0, 0, 0, 75, 77, 3, 4, 2, 0, 76, 75, 1, 0, 0, 0, 76, 77, 1, 0, 0, 0, 77, 78, 1, 0, 0, 0, 78, 79, 5, 0, 0, 1, 79, 1, 1, 0, 0, 0, 80, 84, 5, 1, 0, 0, 81, 83, 3, 26, 13, 0, 82, 81, 1, 0, 0, 0, 83, 86, 1, 0, 0, 0, 84, 82, 1, 0, 0, 0, 84, 85, 1, 0, 0, 0, 85, 93, 1, 0, 0, 0, 86, 84, 1, 0, 0, 0, 87, 89, 3, 26, 13, 0, 88, 87, 1, 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 88, 1, 0, 0, 0, 90, 91, 1, 0, 0, 0, 91, 93, 1, 0, 0, 0, 92, 80, 1, 0, 0, 0, 92, 88, 1, 0, 0, 0, 93, 3, 1, 0, 0, 0, 94, 98, 5, 5, 0, 0, 95, 97, 3, 6, 3, 0, 96, 95, 1, 0, 0, 0, 97, 100, 1, 0, 0, 0, 98, 96, 1, 0, 0, 0, 98, 99, 1, 0, 0, 0, 99, 5, 1, 0, 0, 0, 100, 98, 1, 0, 0, 0, 101, 104, 3, 26, 13, 0, 102, 104, 3, 10, 5, 0, 103, 101, 1, 0, 0, 0, 103, 102, 1, 0, 0, 0, 104, 7, 1, 0, 0, 0, 105, 114, 3, 26, 13, 0, 106, 114, 3, 10, 5, 0, 107, 114, 3, 12, 6, 0, 108, 114, 5, 6, 0, 0, 109, 114, 3, 14, 7, 0, 110, 114, 3, 28, 14, 0, 111, 114, 3, 16, 8, 0, 112, 114, 3, 64, 32, 0, 113, 105, 1, 0, 0, 0, 113, 106, 1, 0, 0, 0, 113, 107, 1, 0, 0, 0, 113, 108, 1, 0, 0, 0, 113, 109, 1, 0, 0, 0, 113, 110, 1, 0, 0, 0, 113, 111, 1, 0, 0, 0, 113, 112, 1, 0, 0, 0, 114, 9, 1, 0, 0, 0, 115, 117, 5, 35, 0, 0, 116, 118, 3, 26, 13, 0, 117, 116, 1, 0, 0, 0, 117, 118, 1, 0, 0, 0, 118, 11, 1, 0, 0, 0, 119, 120, 5, 34, 0, 0, 120, 13, 1, 0, 0, 0, 121, 122, 5, 7, 0, 0, 122, 15, 1, 0, 0, 0, 123, 129, 3, 18, 9, 0, 124, 129, 3, 24, 12, 0, 125, 126, 3, 62, 31, 0, 126, 127, 3, 26, 13, 0, 127, 129, 1, 0, 0, 0, 128, 123, 1, 0, 0, 0, 128, 124, 1, 0, 0, 0, 128, 125, 1, 0, 0, 0, 129, 17, 1, 0, 0, 0, 130, 137, 3, 20, 10, 0, 131, 133, 5, 3, 0, 0, 132, 134, 3, 42, 21, 0, 133, 132, 1, 0, 0, 0, 133, 134, 1, 0, 0, 0, 134, 135, 1, 0, 0, 0, 135, 137, 3, 26, 13, 0, 136, 130, 1, 0, 0, 0, 136, 131, 1, 0, 0, 0, 137, 19, 1, 0, 0, 0, 138, 140, 5, 2, 0, 0, 139, 141, 3, 22, 11, 0, 140, 139, 1, 0, 0, 0, 140, 141, 1, 0, 0, 0, 141, 142, 1, 0, 0, 0, 142, 143, 3, 26, 13, 0, 143, 21, 1, 0, 0, 0, 144, 145, 5, 37, 0, 0, 145, 23, 1, 0, 0, 0, 146, 147, 5, 4, 0, 0, 147, 148, 3, 26, 13, 0, 148, 25, 1, 0, 0, 0, 149, 151, 5, 31, 0, 0, 150, 149, 1, 0, 0, 0, 151, 152, 1, 0, 0, 0, 152, 150, 1, 0, 0, 0, 152, 153, 1, 0, 0, 0, 153, 27, 1, 0, 0, 0, 154, 155, 3, 30, 15, 0, 155, 156, 3, 26, 13, 0, 156, 29, 1, 0, 0, 0, 157, 158, 5, 37, 0, 0, 158, 160, 5, 19, 0, 0, 159, 161, 3, 32, 16, 0, 160, 159, 1, 0, 0, 0, 160, 161, 1, 0, 0, 0, 161, 31, 1, 0, 0, 0, 162, 167, 3, 36, 18, 0, 163, 167, 3, 34, 17, 0, 164, 167, 3, 52, 26, 0, 165, 167, 3, 44, 22, 0, 166, 162, 1, 0, 0, 0, 166, 163, 1, 0, 0, 0, 166, 164, 1, 0, 0, 0, 166, 165, 1, 0, 0, 0, 167, 33, 1, 0, 0, 0, 168, 173, 3, 58, 29, 0, 169, 173, 3, 42, 21, 0, 170, 173, 3, 56, 28, 0, 171, 173, 3, 60, 30, 0, 172, 168, 1, 0, 0, 0, 172, 169, 1, 0, 0, 0, 172, 170, 1, 0, 0, 0, 172, 171, 1, 0, 0, 0, 173, 35, 1, 0, 0, 0, 174, 176, 5, 13, 0, 0, 175, 177, 3, 38, 19, 0, 176, 175, 1, 0, 0, 0, 177, 178, 1, 0, 0, 0, 178, 176, 1, 0, 0, 0, 178, 179, 1, 0, 0, 0, 179, 37, 1, 0, 0, 0, 180, 184, 5, 26, 0, 0, 181, 183, 5, 31, 0, 0, 182, 181, 1, 0, 0, 0, 183, 186, 1, 0, 0, 0, 184, 182, 1, 0, 0, 0, 184, 185, 1, 0, 0, 0, 185, 187, 1, 0, 0, 0, 186, 184, 1, 0, 0, 0, 187, 188, 3, 40, 20, 0, 188, 39, 1, 0, 0, 0, 189, 190, 7, 0, 0, 0, 190, 41, 1, 0, 0, 0, 191, 192, 5, 13, 0, 0, 192, 43, 1, 0, 0, 0, 193, 197, 5, 24, 0, 0, 194, 196, 5, 31, 0, 0, 195, 194, 1, 0, 0, 0, 196, 199, 1, 0, 0, 0, 197, 195, 1, 0, 0, 0, 197, 198, 1, 0, 0, 0, 198, 201, 1, 0, 0, 0, 199, 197, 1, 0, 0, 0, 200, 202, 3, 46, 23, 0, 201, 200, 1, 0, 0, 0, 201, 202, 1, 0, 0, 0, 202, 206, 1, 0, 0, 0, 203, 205, 5, 31, 0, 0, 204, 203, 1, 0, 0, 0, 205, 208, 1, 0, 0, 0, 206, 204, 1, 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, 209, 1, 0, 0, 0, 208, 206, 1, 0, 0, 0, 209, 213, 5, 25, 0, 0, 210, 212, 5, 31, 0, 0, 211, 210, 1, 0, 0, 0, 212, 215, 1, 0, 0, 0, 213, 211, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 224, 1, 0, 0, 0, 215, 213, 1, 0, 0, 0, 216, 220, 5, 11, 0, 0, 217, 219, 5, 31, 0, 0, 218, 217, 1, 0, 0, 0, 219, 222, 1, 0, 0, 0, 220, 218, 1, 0, 0, 0, 220, 221, 1, 0, 0, 0, 221, 224, 1, 0, 0, 0, 222, 220, 1, 0, 0, 0, 223, 193, 1, 0, 0, 0, 223, 216, 1, 0, 0, 0, 224, 45, 1, 0, 0, 0, 225, 236, 3, 48, 24, 0, 226, 230, 5, 20, 0, 0, 227, 229, 5, 31, 0, 0, 228, 227, 1, 0, 0, 0, 229, 232, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 230, 231, 1, 0, 0, 0, 231, 233, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 233, 235, 3, 48, 24, 0, 234, 226, 1, 0, 0, 0, 235, 238, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 240, 1, 0, 0, 0, 238, 236, 1, 0, 0, 0, 239, 241, 5, 20, 0, 0, 240, 239, 1, 0, 0, 0, 240, 241, 1, 0, 0, 0, 241, 47, 1, 0, 0, 0, 242, 243, 5, 37, 0, 0, 243, 244, 3, 50, 25, 0, 244, 245, 3, 32, 16, 0, 245, 49, 1, 0, 0, 0, 246, 247, 7, 1, 0, 0, 247, 51, 1, 0, 0, 0, 248, 252, 5, 22, 0, 0, 249, 251, 5, 31, 0, 0, 250, 249, 1, 0, 0, 0, 251, 254, 1, 0, 0, 0, 252, 250, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 256, 1, 0, 0, 0, 254, 252, 1, 0, 0, 0, 255, 257, 3, 54, 27, 0, 256, 255, 1, 0, 0, 0, 256, 257, 1, 0, 0, 0, 257, 261, 1, 0, 0, 0, 258, 260, 5, 31, 0, 0, 259, 258, 1, 0, 0, 0, 260, 263, 1, 0, 0, 0, 261, 259, 1, 0, 0, 0, 261, 262, 1, 0, 0, 0, 262, 264, 1, 0, 0, 0, 263, 261, 1, 0, 0, 0, 264, 268, 5, 23, 0, 0, 265, 267, 5, 31, 0, 0, 266, 265, 1, 0, 0, 0, 267, 270, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 279, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 271, 275, 5, 12, 0, 0, 272, 274, 5, 31, 0, 0, 273, 272, 1, 0, 0, 0, 274, 277, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 279, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 278, 248, 1, 0, 0, 0, 278, 271, 1, 0, 0, 0, 279, 53, 1, 0, 0, 0, 280, 297, 3, 32, 16, 0, 281, 283, 5, 31, 0, 0, 282, 281, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 282, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 287, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 287, 291, 5, 20, 0, 0, 288, 290, 5, 31, 0, 0, 289, 288, 1, 0, 0, 0, 290, 293, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 294, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 294, 296, 3, 32, 16, 0, 295, 284, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 301, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 302, 5, 20, 0, 0, 301, 300, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 55, 1, 0, 0, 0, 303, 304, 5, 14, 0, 0, 304, 57, 1, 0, 0, 0, 305, 306, 5, 10, 0, 0, 306, 59, 1, 0, 0, 0, 307, 308, 7, 2, 0, 0, 308, 61, 1, 0, 0, 0, 309, 310, 5, 40, 0, 0, 310, 63, 1, 0, 0, 0, 311, 314, 5, 39, 0, 0, 312, 314, 3, 32, 16, 0, 313, 311, 1, 0, 0, 0, 313, 312, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 318, 5, 19, 0, 0, 316, 319, 3, 32, 16, 0, 317, 319, 5, 39, 0, 0, 318, 316, 1, 0, 0, 0, 318, 317, 1, 0, 0, 0, 319, 321, 1, 0, 0, 0, 320, 322, 3, 26, 13, 0, 321, 320, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 65, 1, 0, 0, 0, 42, 67, 72, 76, 84, 90, 92, 98, 103, 113, 117, 128, 133, 136, 140, 152, 160, 166, 172, 178, 184, 197, 201, 206, 213, 220, 223, 230, 236, 240, 252, 256, 261, 268, 275, 278, 284, 291, 297, 301, 313, 318, 321] \ No newline at end of file +[4, 1, 40, 332, 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, 2, 35, 7, 35, 1, 0, 3, 0, 74, 8, 0, 1, 0, 5, 0, 77, 8, 0, 10, 0, 12, 0, 80, 9, 0, 1, 0, 3, 0, 83, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 5, 1, 89, 8, 1, 10, 1, 12, 1, 92, 9, 1, 1, 1, 4, 1, 95, 8, 1, 11, 1, 12, 1, 96, 3, 1, 99, 8, 1, 1, 2, 1, 2, 5, 2, 103, 8, 2, 10, 2, 12, 2, 106, 9, 2, 1, 3, 1, 3, 3, 3, 110, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 120, 8, 4, 1, 5, 1, 5, 3, 5, 124, 8, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 135, 8, 8, 1, 9, 1, 9, 1, 9, 3, 9, 140, 8, 9, 1, 9, 3, 9, 143, 8, 9, 1, 10, 1, 10, 3, 10, 147, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 4, 13, 157, 8, 13, 11, 13, 12, 13, 158, 1, 14, 1, 14, 3, 14, 163, 8, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 173, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 179, 8, 18, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 185, 8, 19, 1, 20, 1, 20, 4, 20, 189, 8, 20, 11, 20, 12, 20, 190, 1, 21, 1, 21, 5, 21, 195, 8, 21, 10, 21, 12, 21, 198, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 5, 24, 208, 8, 24, 10, 24, 12, 24, 211, 9, 24, 1, 24, 3, 24, 214, 8, 24, 1, 24, 5, 24, 217, 8, 24, 10, 24, 12, 24, 220, 9, 24, 1, 24, 1, 24, 3, 24, 224, 8, 24, 1, 25, 1, 25, 5, 25, 228, 8, 25, 10, 25, 12, 25, 231, 9, 25, 1, 25, 1, 25, 5, 25, 235, 8, 25, 10, 25, 12, 25, 238, 9, 25, 1, 25, 5, 25, 241, 8, 25, 10, 25, 12, 25, 244, 9, 25, 1, 25, 5, 25, 247, 8, 25, 10, 25, 12, 25, 250, 9, 25, 1, 25, 3, 25, 253, 8, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 5, 28, 263, 8, 28, 10, 28, 12, 28, 266, 9, 28, 1, 28, 3, 28, 269, 8, 28, 1, 28, 5, 28, 272, 8, 28, 10, 28, 12, 28, 275, 9, 28, 1, 28, 1, 28, 3, 28, 279, 8, 28, 1, 29, 1, 29, 5, 29, 283, 8, 29, 10, 29, 12, 29, 286, 9, 29, 1, 29, 1, 29, 5, 29, 290, 8, 29, 10, 29, 12, 29, 293, 9, 29, 1, 29, 5, 29, 296, 8, 29, 10, 29, 12, 29, 299, 9, 29, 1, 29, 5, 29, 302, 8, 29, 10, 29, 12, 29, 305, 9, 29, 1, 29, 3, 29, 308, 8, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 322, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 327, 8, 35, 1, 35, 3, 35, 330, 8, 35, 1, 35, 0, 0, 36, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 0, 5, 2, 0, 8, 10, 37, 37, 2, 0, 8, 10, 13, 14, 2, 0, 19, 19, 21, 21, 2, 0, 31, 31, 34, 35, 1, 0, 8, 9, 349, 0, 73, 1, 0, 0, 0, 2, 98, 1, 0, 0, 0, 4, 100, 1, 0, 0, 0, 6, 109, 1, 0, 0, 0, 8, 119, 1, 0, 0, 0, 10, 121, 1, 0, 0, 0, 12, 125, 1, 0, 0, 0, 14, 127, 1, 0, 0, 0, 16, 134, 1, 0, 0, 0, 18, 142, 1, 0, 0, 0, 20, 144, 1, 0, 0, 0, 22, 150, 1, 0, 0, 0, 24, 152, 1, 0, 0, 0, 26, 156, 1, 0, 0, 0, 28, 162, 1, 0, 0, 0, 30, 164, 1, 0, 0, 0, 32, 167, 1, 0, 0, 0, 34, 169, 1, 0, 0, 0, 36, 178, 1, 0, 0, 0, 38, 184, 1, 0, 0, 0, 40, 186, 1, 0, 0, 0, 42, 192, 1, 0, 0, 0, 44, 201, 1, 0, 0, 0, 46, 203, 1, 0, 0, 0, 48, 223, 1, 0, 0, 0, 50, 225, 1, 0, 0, 0, 52, 254, 1, 0, 0, 0, 54, 258, 1, 0, 0, 0, 56, 278, 1, 0, 0, 0, 58, 280, 1, 0, 0, 0, 60, 309, 1, 0, 0, 0, 62, 311, 1, 0, 0, 0, 64, 313, 1, 0, 0, 0, 66, 315, 1, 0, 0, 0, 68, 317, 1, 0, 0, 0, 70, 321, 1, 0, 0, 0, 72, 74, 3, 2, 1, 0, 73, 72, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 78, 1, 0, 0, 0, 75, 77, 3, 8, 4, 0, 76, 75, 1, 0, 0, 0, 77, 80, 1, 0, 0, 0, 78, 76, 1, 0, 0, 0, 78, 79, 1, 0, 0, 0, 79, 82, 1, 0, 0, 0, 80, 78, 1, 0, 0, 0, 81, 83, 3, 4, 2, 0, 82, 81, 1, 0, 0, 0, 82, 83, 1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 5, 0, 0, 1, 85, 1, 1, 0, 0, 0, 86, 90, 5, 1, 0, 0, 87, 89, 3, 26, 13, 0, 88, 87, 1, 0, 0, 0, 89, 92, 1, 0, 0, 0, 90, 88, 1, 0, 0, 0, 90, 91, 1, 0, 0, 0, 91, 99, 1, 0, 0, 0, 92, 90, 1, 0, 0, 0, 93, 95, 3, 26, 13, 0, 94, 93, 1, 0, 0, 0, 95, 96, 1, 0, 0, 0, 96, 94, 1, 0, 0, 0, 96, 97, 1, 0, 0, 0, 97, 99, 1, 0, 0, 0, 98, 86, 1, 0, 0, 0, 98, 94, 1, 0, 0, 0, 99, 3, 1, 0, 0, 0, 100, 104, 5, 5, 0, 0, 101, 103, 3, 6, 3, 0, 102, 101, 1, 0, 0, 0, 103, 106, 1, 0, 0, 0, 104, 102, 1, 0, 0, 0, 104, 105, 1, 0, 0, 0, 105, 5, 1, 0, 0, 0, 106, 104, 1, 0, 0, 0, 107, 110, 3, 26, 13, 0, 108, 110, 3, 10, 5, 0, 109, 107, 1, 0, 0, 0, 109, 108, 1, 0, 0, 0, 110, 7, 1, 0, 0, 0, 111, 120, 3, 26, 13, 0, 112, 120, 3, 10, 5, 0, 113, 120, 3, 12, 6, 0, 114, 120, 5, 6, 0, 0, 115, 120, 3, 14, 7, 0, 116, 120, 3, 30, 15, 0, 117, 120, 3, 16, 8, 0, 118, 120, 3, 70, 35, 0, 119, 111, 1, 0, 0, 0, 119, 112, 1, 0, 0, 0, 119, 113, 1, 0, 0, 0, 119, 114, 1, 0, 0, 0, 119, 115, 1, 0, 0, 0, 119, 116, 1, 0, 0, 0, 119, 117, 1, 0, 0, 0, 119, 118, 1, 0, 0, 0, 120, 9, 1, 0, 0, 0, 121, 123, 5, 35, 0, 0, 122, 124, 3, 26, 13, 0, 123, 122, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 11, 1, 0, 0, 0, 125, 126, 5, 34, 0, 0, 126, 13, 1, 0, 0, 0, 127, 128, 5, 7, 0, 0, 128, 15, 1, 0, 0, 0, 129, 135, 3, 18, 9, 0, 130, 135, 3, 24, 12, 0, 131, 132, 3, 68, 34, 0, 132, 133, 3, 28, 14, 0, 133, 135, 1, 0, 0, 0, 134, 129, 1, 0, 0, 0, 134, 130, 1, 0, 0, 0, 134, 131, 1, 0, 0, 0, 135, 17, 1, 0, 0, 0, 136, 143, 3, 20, 10, 0, 137, 139, 5, 3, 0, 0, 138, 140, 3, 46, 23, 0, 139, 138, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0, 140, 141, 1, 0, 0, 0, 141, 143, 3, 28, 14, 0, 142, 136, 1, 0, 0, 0, 142, 137, 1, 0, 0, 0, 143, 19, 1, 0, 0, 0, 144, 146, 5, 2, 0, 0, 145, 147, 3, 22, 11, 0, 146, 145, 1, 0, 0, 0, 146, 147, 1, 0, 0, 0, 147, 148, 1, 0, 0, 0, 148, 149, 3, 28, 14, 0, 149, 21, 1, 0, 0, 0, 150, 151, 5, 37, 0, 0, 151, 23, 1, 0, 0, 0, 152, 153, 5, 4, 0, 0, 153, 154, 3, 28, 14, 0, 154, 25, 1, 0, 0, 0, 155, 157, 5, 31, 0, 0, 156, 155, 1, 0, 0, 0, 157, 158, 1, 0, 0, 0, 158, 156, 1, 0, 0, 0, 158, 159, 1, 0, 0, 0, 159, 27, 1, 0, 0, 0, 160, 163, 3, 26, 13, 0, 161, 163, 5, 0, 0, 1, 162, 160, 1, 0, 0, 0, 162, 161, 1, 0, 0, 0, 163, 29, 1, 0, 0, 0, 164, 165, 3, 34, 17, 0, 165, 166, 3, 28, 14, 0, 166, 31, 1, 0, 0, 0, 167, 168, 7, 0, 0, 0, 168, 33, 1, 0, 0, 0, 169, 170, 3, 32, 16, 0, 170, 172, 5, 19, 0, 0, 171, 173, 3, 36, 18, 0, 172, 171, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 35, 1, 0, 0, 0, 174, 179, 3, 40, 20, 0, 175, 179, 3, 38, 19, 0, 176, 179, 3, 56, 28, 0, 177, 179, 3, 48, 24, 0, 178, 174, 1, 0, 0, 0, 178, 175, 1, 0, 0, 0, 178, 176, 1, 0, 0, 0, 178, 177, 1, 0, 0, 0, 179, 37, 1, 0, 0, 0, 180, 185, 3, 64, 32, 0, 181, 185, 3, 46, 23, 0, 182, 185, 3, 62, 31, 0, 183, 185, 3, 66, 33, 0, 184, 180, 1, 0, 0, 0, 184, 181, 1, 0, 0, 0, 184, 182, 1, 0, 0, 0, 184, 183, 1, 0, 0, 0, 185, 39, 1, 0, 0, 0, 186, 188, 5, 13, 0, 0, 187, 189, 3, 42, 21, 0, 188, 187, 1, 0, 0, 0, 189, 190, 1, 0, 0, 0, 190, 188, 1, 0, 0, 0, 190, 191, 1, 0, 0, 0, 191, 41, 1, 0, 0, 0, 192, 196, 5, 26, 0, 0, 193, 195, 3, 60, 30, 0, 194, 193, 1, 0, 0, 0, 195, 198, 1, 0, 0, 0, 196, 194, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 199, 1, 0, 0, 0, 198, 196, 1, 0, 0, 0, 199, 200, 3, 44, 22, 0, 200, 43, 1, 0, 0, 0, 201, 202, 7, 1, 0, 0, 202, 45, 1, 0, 0, 0, 203, 204, 5, 13, 0, 0, 204, 47, 1, 0, 0, 0, 205, 209, 5, 24, 0, 0, 206, 208, 3, 60, 30, 0, 207, 206, 1, 0, 0, 0, 208, 211, 1, 0, 0, 0, 209, 207, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 213, 1, 0, 0, 0, 211, 209, 1, 0, 0, 0, 212, 214, 3, 50, 25, 0, 213, 212, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 218, 1, 0, 0, 0, 215, 217, 3, 60, 30, 0, 216, 215, 1, 0, 0, 0, 217, 220, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 221, 1, 0, 0, 0, 220, 218, 1, 0, 0, 0, 221, 224, 5, 25, 0, 0, 222, 224, 5, 11, 0, 0, 223, 205, 1, 0, 0, 0, 223, 222, 1, 0, 0, 0, 224, 49, 1, 0, 0, 0, 225, 242, 3, 52, 26, 0, 226, 228, 3, 60, 30, 0, 227, 226, 1, 0, 0, 0, 228, 231, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 230, 1, 0, 0, 0, 230, 232, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 232, 236, 5, 20, 0, 0, 233, 235, 3, 60, 30, 0, 234, 233, 1, 0, 0, 0, 235, 238, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 239, 1, 0, 0, 0, 238, 236, 1, 0, 0, 0, 239, 241, 3, 52, 26, 0, 240, 229, 1, 0, 0, 0, 241, 244, 1, 0, 0, 0, 242, 240, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 252, 1, 0, 0, 0, 244, 242, 1, 0, 0, 0, 245, 247, 3, 60, 30, 0, 246, 245, 1, 0, 0, 0, 247, 250, 1, 0, 0, 0, 248, 246, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 251, 1, 0, 0, 0, 250, 248, 1, 0, 0, 0, 251, 253, 5, 20, 0, 0, 252, 248, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 51, 1, 0, 0, 0, 254, 255, 3, 32, 16, 0, 255, 256, 3, 54, 27, 0, 256, 257, 3, 36, 18, 0, 257, 53, 1, 0, 0, 0, 258, 259, 7, 2, 0, 0, 259, 55, 1, 0, 0, 0, 260, 264, 5, 22, 0, 0, 261, 263, 3, 60, 30, 0, 262, 261, 1, 0, 0, 0, 263, 266, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 269, 3, 58, 29, 0, 268, 267, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 273, 1, 0, 0, 0, 270, 272, 3, 60, 30, 0, 271, 270, 1, 0, 0, 0, 272, 275, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 276, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 276, 279, 5, 23, 0, 0, 277, 279, 5, 12, 0, 0, 278, 260, 1, 0, 0, 0, 278, 277, 1, 0, 0, 0, 279, 57, 1, 0, 0, 0, 280, 297, 3, 36, 18, 0, 281, 283, 3, 60, 30, 0, 282, 281, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 282, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 287, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 287, 291, 5, 20, 0, 0, 288, 290, 3, 60, 30, 0, 289, 288, 1, 0, 0, 0, 290, 293, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 294, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 294, 296, 3, 36, 18, 0, 295, 284, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 307, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 302, 3, 60, 30, 0, 301, 300, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 306, 308, 5, 20, 0, 0, 307, 303, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 59, 1, 0, 0, 0, 309, 310, 7, 3, 0, 0, 310, 61, 1, 0, 0, 0, 311, 312, 5, 14, 0, 0, 312, 63, 1, 0, 0, 0, 313, 314, 5, 10, 0, 0, 314, 65, 1, 0, 0, 0, 315, 316, 7, 4, 0, 0, 316, 67, 1, 0, 0, 0, 317, 318, 5, 40, 0, 0, 318, 69, 1, 0, 0, 0, 319, 322, 5, 39, 0, 0, 320, 322, 3, 36, 18, 0, 321, 319, 1, 0, 0, 0, 321, 320, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 326, 5, 19, 0, 0, 324, 327, 3, 36, 18, 0, 325, 327, 5, 39, 0, 0, 326, 324, 1, 0, 0, 0, 326, 325, 1, 0, 0, 0, 327, 329, 1, 0, 0, 0, 328, 330, 3, 26, 13, 0, 329, 328, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 71, 1, 0, 0, 0, 42, 73, 78, 82, 90, 96, 98, 104, 109, 119, 123, 134, 139, 142, 146, 158, 162, 172, 178, 184, 190, 196, 209, 213, 218, 223, 229, 236, 242, 248, 252, 264, 268, 273, 278, 284, 291, 297, 303, 307, 321, 326, 329] \ No newline at end of file diff --git a/src/yini_parser/grammar/generated/YiniParser.py b/src/yini_parser/grammar/generated/YiniParser.py index 432da7a..5aab927 100644 --- a/src/yini_parser/grammar/generated/YiniParser.py +++ b/src/yini_parser/grammar/generated/YiniParser.py @@ -1,4 +1,4 @@ -# Generated from ./grammar/v1.0.0-rc.6/YiniParser.g4 by ANTLR 4.13.2 +# Generated from ./grammar/v1.0.0-rc.6x/YiniParser.g4 by ANTLR 4.13.2 # encoding: utf-8 from antlr4 import * from io import StringIO @@ -10,124 +10,126 @@ def serializedATN(): return [ - 4,1,40,324,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, + 4,1,40,332,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,1,0, - 3,0,68,8,0,1,0,5,0,71,8,0,10,0,12,0,74,9,0,1,0,3,0,77,8,0,1,0,1, - 0,1,1,1,1,5,1,83,8,1,10,1,12,1,86,9,1,1,1,4,1,89,8,1,11,1,12,1,90, - 3,1,93,8,1,1,2,1,2,5,2,97,8,2,10,2,12,2,100,9,2,1,3,1,3,3,3,104, - 8,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,3,4,114,8,4,1,5,1,5,3,5,118, - 8,5,1,6,1,6,1,7,1,7,1,8,1,8,1,8,1,8,1,8,3,8,129,8,8,1,9,1,9,1,9, - 3,9,134,8,9,1,9,3,9,137,8,9,1,10,1,10,3,10,141,8,10,1,10,1,10,1, - 11,1,11,1,12,1,12,1,12,1,13,4,13,151,8,13,11,13,12,13,152,1,14,1, - 14,1,14,1,15,1,15,1,15,3,15,161,8,15,1,16,1,16,1,16,1,16,3,16,167, - 8,16,1,17,1,17,1,17,1,17,3,17,173,8,17,1,18,1,18,4,18,177,8,18,11, - 18,12,18,178,1,19,1,19,5,19,183,8,19,10,19,12,19,186,9,19,1,19,1, - 19,1,20,1,20,1,21,1,21,1,22,1,22,5,22,196,8,22,10,22,12,22,199,9, - 22,1,22,3,22,202,8,22,1,22,5,22,205,8,22,10,22,12,22,208,9,22,1, - 22,1,22,5,22,212,8,22,10,22,12,22,215,9,22,1,22,1,22,5,22,219,8, - 22,10,22,12,22,222,9,22,3,22,224,8,22,1,23,1,23,1,23,5,23,229,8, - 23,10,23,12,23,232,9,23,1,23,5,23,235,8,23,10,23,12,23,238,9,23, - 1,23,3,23,241,8,23,1,24,1,24,1,24,1,24,1,25,1,25,1,26,1,26,5,26, - 251,8,26,10,26,12,26,254,9,26,1,26,3,26,257,8,26,1,26,5,26,260,8, - 26,10,26,12,26,263,9,26,1,26,1,26,5,26,267,8,26,10,26,12,26,270, - 9,26,1,26,1,26,5,26,274,8,26,10,26,12,26,277,9,26,3,26,279,8,26, - 1,27,1,27,5,27,283,8,27,10,27,12,27,286,9,27,1,27,1,27,5,27,290, - 8,27,10,27,12,27,293,9,27,1,27,5,27,296,8,27,10,27,12,27,299,9,27, - 1,27,3,27,302,8,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32, - 1,32,3,32,314,8,32,1,32,1,32,1,32,3,32,319,8,32,1,32,3,32,322,8, - 32,1,32,0,0,33,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34, - 36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,0,3,2,0,8,10,13,14, - 2,0,19,19,21,21,1,0,8,9,344,0,67,1,0,0,0,2,92,1,0,0,0,4,94,1,0,0, - 0,6,103,1,0,0,0,8,113,1,0,0,0,10,115,1,0,0,0,12,119,1,0,0,0,14,121, - 1,0,0,0,16,128,1,0,0,0,18,136,1,0,0,0,20,138,1,0,0,0,22,144,1,0, - 0,0,24,146,1,0,0,0,26,150,1,0,0,0,28,154,1,0,0,0,30,157,1,0,0,0, - 32,166,1,0,0,0,34,172,1,0,0,0,36,174,1,0,0,0,38,180,1,0,0,0,40,189, - 1,0,0,0,42,191,1,0,0,0,44,223,1,0,0,0,46,225,1,0,0,0,48,242,1,0, - 0,0,50,246,1,0,0,0,52,278,1,0,0,0,54,280,1,0,0,0,56,303,1,0,0,0, - 58,305,1,0,0,0,60,307,1,0,0,0,62,309,1,0,0,0,64,313,1,0,0,0,66,68, - 3,2,1,0,67,66,1,0,0,0,67,68,1,0,0,0,68,72,1,0,0,0,69,71,3,8,4,0, - 70,69,1,0,0,0,71,74,1,0,0,0,72,70,1,0,0,0,72,73,1,0,0,0,73,76,1, - 0,0,0,74,72,1,0,0,0,75,77,3,4,2,0,76,75,1,0,0,0,76,77,1,0,0,0,77, - 78,1,0,0,0,78,79,5,0,0,1,79,1,1,0,0,0,80,84,5,1,0,0,81,83,3,26,13, - 0,82,81,1,0,0,0,83,86,1,0,0,0,84,82,1,0,0,0,84,85,1,0,0,0,85,93, - 1,0,0,0,86,84,1,0,0,0,87,89,3,26,13,0,88,87,1,0,0,0,89,90,1,0,0, - 0,90,88,1,0,0,0,90,91,1,0,0,0,91,93,1,0,0,0,92,80,1,0,0,0,92,88, - 1,0,0,0,93,3,1,0,0,0,94,98,5,5,0,0,95,97,3,6,3,0,96,95,1,0,0,0,97, - 100,1,0,0,0,98,96,1,0,0,0,98,99,1,0,0,0,99,5,1,0,0,0,100,98,1,0, - 0,0,101,104,3,26,13,0,102,104,3,10,5,0,103,101,1,0,0,0,103,102,1, - 0,0,0,104,7,1,0,0,0,105,114,3,26,13,0,106,114,3,10,5,0,107,114,3, - 12,6,0,108,114,5,6,0,0,109,114,3,14,7,0,110,114,3,28,14,0,111,114, - 3,16,8,0,112,114,3,64,32,0,113,105,1,0,0,0,113,106,1,0,0,0,113,107, - 1,0,0,0,113,108,1,0,0,0,113,109,1,0,0,0,113,110,1,0,0,0,113,111, - 1,0,0,0,113,112,1,0,0,0,114,9,1,0,0,0,115,117,5,35,0,0,116,118,3, - 26,13,0,117,116,1,0,0,0,117,118,1,0,0,0,118,11,1,0,0,0,119,120,5, - 34,0,0,120,13,1,0,0,0,121,122,5,7,0,0,122,15,1,0,0,0,123,129,3,18, - 9,0,124,129,3,24,12,0,125,126,3,62,31,0,126,127,3,26,13,0,127,129, - 1,0,0,0,128,123,1,0,0,0,128,124,1,0,0,0,128,125,1,0,0,0,129,17,1, - 0,0,0,130,137,3,20,10,0,131,133,5,3,0,0,132,134,3,42,21,0,133,132, - 1,0,0,0,133,134,1,0,0,0,134,135,1,0,0,0,135,137,3,26,13,0,136,130, - 1,0,0,0,136,131,1,0,0,0,137,19,1,0,0,0,138,140,5,2,0,0,139,141,3, - 22,11,0,140,139,1,0,0,0,140,141,1,0,0,0,141,142,1,0,0,0,142,143, - 3,26,13,0,143,21,1,0,0,0,144,145,5,37,0,0,145,23,1,0,0,0,146,147, - 5,4,0,0,147,148,3,26,13,0,148,25,1,0,0,0,149,151,5,31,0,0,150,149, - 1,0,0,0,151,152,1,0,0,0,152,150,1,0,0,0,152,153,1,0,0,0,153,27,1, - 0,0,0,154,155,3,30,15,0,155,156,3,26,13,0,156,29,1,0,0,0,157,158, - 5,37,0,0,158,160,5,19,0,0,159,161,3,32,16,0,160,159,1,0,0,0,160, - 161,1,0,0,0,161,31,1,0,0,0,162,167,3,36,18,0,163,167,3,34,17,0,164, - 167,3,52,26,0,165,167,3,44,22,0,166,162,1,0,0,0,166,163,1,0,0,0, - 166,164,1,0,0,0,166,165,1,0,0,0,167,33,1,0,0,0,168,173,3,58,29,0, - 169,173,3,42,21,0,170,173,3,56,28,0,171,173,3,60,30,0,172,168,1, - 0,0,0,172,169,1,0,0,0,172,170,1,0,0,0,172,171,1,0,0,0,173,35,1,0, - 0,0,174,176,5,13,0,0,175,177,3,38,19,0,176,175,1,0,0,0,177,178,1, - 0,0,0,178,176,1,0,0,0,178,179,1,0,0,0,179,37,1,0,0,0,180,184,5,26, - 0,0,181,183,5,31,0,0,182,181,1,0,0,0,183,186,1,0,0,0,184,182,1,0, - 0,0,184,185,1,0,0,0,185,187,1,0,0,0,186,184,1,0,0,0,187,188,3,40, - 20,0,188,39,1,0,0,0,189,190,7,0,0,0,190,41,1,0,0,0,191,192,5,13, - 0,0,192,43,1,0,0,0,193,197,5,24,0,0,194,196,5,31,0,0,195,194,1,0, - 0,0,196,199,1,0,0,0,197,195,1,0,0,0,197,198,1,0,0,0,198,201,1,0, - 0,0,199,197,1,0,0,0,200,202,3,46,23,0,201,200,1,0,0,0,201,202,1, - 0,0,0,202,206,1,0,0,0,203,205,5,31,0,0,204,203,1,0,0,0,205,208,1, - 0,0,0,206,204,1,0,0,0,206,207,1,0,0,0,207,209,1,0,0,0,208,206,1, - 0,0,0,209,213,5,25,0,0,210,212,5,31,0,0,211,210,1,0,0,0,212,215, - 1,0,0,0,213,211,1,0,0,0,213,214,1,0,0,0,214,224,1,0,0,0,215,213, - 1,0,0,0,216,220,5,11,0,0,217,219,5,31,0,0,218,217,1,0,0,0,219,222, - 1,0,0,0,220,218,1,0,0,0,220,221,1,0,0,0,221,224,1,0,0,0,222,220, - 1,0,0,0,223,193,1,0,0,0,223,216,1,0,0,0,224,45,1,0,0,0,225,236,3, - 48,24,0,226,230,5,20,0,0,227,229,5,31,0,0,228,227,1,0,0,0,229,232, - 1,0,0,0,230,228,1,0,0,0,230,231,1,0,0,0,231,233,1,0,0,0,232,230, - 1,0,0,0,233,235,3,48,24,0,234,226,1,0,0,0,235,238,1,0,0,0,236,234, - 1,0,0,0,236,237,1,0,0,0,237,240,1,0,0,0,238,236,1,0,0,0,239,241, - 5,20,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,47,1,0,0,0,242,243, - 5,37,0,0,243,244,3,50,25,0,244,245,3,32,16,0,245,49,1,0,0,0,246, - 247,7,1,0,0,247,51,1,0,0,0,248,252,5,22,0,0,249,251,5,31,0,0,250, - 249,1,0,0,0,251,254,1,0,0,0,252,250,1,0,0,0,252,253,1,0,0,0,253, - 256,1,0,0,0,254,252,1,0,0,0,255,257,3,54,27,0,256,255,1,0,0,0,256, - 257,1,0,0,0,257,261,1,0,0,0,258,260,5,31,0,0,259,258,1,0,0,0,260, - 263,1,0,0,0,261,259,1,0,0,0,261,262,1,0,0,0,262,264,1,0,0,0,263, - 261,1,0,0,0,264,268,5,23,0,0,265,267,5,31,0,0,266,265,1,0,0,0,267, - 270,1,0,0,0,268,266,1,0,0,0,268,269,1,0,0,0,269,279,1,0,0,0,270, - 268,1,0,0,0,271,275,5,12,0,0,272,274,5,31,0,0,273,272,1,0,0,0,274, - 277,1,0,0,0,275,273,1,0,0,0,275,276,1,0,0,0,276,279,1,0,0,0,277, - 275,1,0,0,0,278,248,1,0,0,0,278,271,1,0,0,0,279,53,1,0,0,0,280,297, - 3,32,16,0,281,283,5,31,0,0,282,281,1,0,0,0,283,286,1,0,0,0,284,282, - 1,0,0,0,284,285,1,0,0,0,285,287,1,0,0,0,286,284,1,0,0,0,287,291, - 5,20,0,0,288,290,5,31,0,0,289,288,1,0,0,0,290,293,1,0,0,0,291,289, - 1,0,0,0,291,292,1,0,0,0,292,294,1,0,0,0,293,291,1,0,0,0,294,296, - 3,32,16,0,295,284,1,0,0,0,296,299,1,0,0,0,297,295,1,0,0,0,297,298, - 1,0,0,0,298,301,1,0,0,0,299,297,1,0,0,0,300,302,5,20,0,0,301,300, - 1,0,0,0,301,302,1,0,0,0,302,55,1,0,0,0,303,304,5,14,0,0,304,57,1, - 0,0,0,305,306,5,10,0,0,306,59,1,0,0,0,307,308,7,2,0,0,308,61,1,0, - 0,0,309,310,5,40,0,0,310,63,1,0,0,0,311,314,5,39,0,0,312,314,3,32, - 16,0,313,311,1,0,0,0,313,312,1,0,0,0,313,314,1,0,0,0,314,315,1,0, - 0,0,315,318,5,19,0,0,316,319,3,32,16,0,317,319,5,39,0,0,318,316, - 1,0,0,0,318,317,1,0,0,0,319,321,1,0,0,0,320,322,3,26,13,0,321,320, - 1,0,0,0,321,322,1,0,0,0,322,65,1,0,0,0,42,67,72,76,84,90,92,98,103, - 113,117,128,133,136,140,152,160,166,172,178,184,197,201,206,213, - 220,223,230,236,240,252,256,261,268,275,278,284,291,297,301,313, - 318,321 + 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,2,35,7,35,1,0,3,0,74,8,0,1,0,5,0,77,8,0,10,0,12,0, + 80,9,0,1,0,3,0,83,8,0,1,0,1,0,1,1,1,1,5,1,89,8,1,10,1,12,1,92,9, + 1,1,1,4,1,95,8,1,11,1,12,1,96,3,1,99,8,1,1,2,1,2,5,2,103,8,2,10, + 2,12,2,106,9,2,1,3,1,3,3,3,110,8,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1, + 4,3,4,120,8,4,1,5,1,5,3,5,124,8,5,1,6,1,6,1,7,1,7,1,8,1,8,1,8,1, + 8,1,8,3,8,135,8,8,1,9,1,9,1,9,3,9,140,8,9,1,9,3,9,143,8,9,1,10,1, + 10,3,10,147,8,10,1,10,1,10,1,11,1,11,1,12,1,12,1,12,1,13,4,13,157, + 8,13,11,13,12,13,158,1,14,1,14,3,14,163,8,14,1,15,1,15,1,15,1,16, + 1,16,1,17,1,17,1,17,3,17,173,8,17,1,18,1,18,1,18,1,18,3,18,179,8, + 18,1,19,1,19,1,19,1,19,3,19,185,8,19,1,20,1,20,4,20,189,8,20,11, + 20,12,20,190,1,21,1,21,5,21,195,8,21,10,21,12,21,198,9,21,1,21,1, + 21,1,22,1,22,1,23,1,23,1,24,1,24,5,24,208,8,24,10,24,12,24,211,9, + 24,1,24,3,24,214,8,24,1,24,5,24,217,8,24,10,24,12,24,220,9,24,1, + 24,1,24,3,24,224,8,24,1,25,1,25,5,25,228,8,25,10,25,12,25,231,9, + 25,1,25,1,25,5,25,235,8,25,10,25,12,25,238,9,25,1,25,5,25,241,8, + 25,10,25,12,25,244,9,25,1,25,5,25,247,8,25,10,25,12,25,250,9,25, + 1,25,3,25,253,8,25,1,26,1,26,1,26,1,26,1,27,1,27,1,28,1,28,5,28, + 263,8,28,10,28,12,28,266,9,28,1,28,3,28,269,8,28,1,28,5,28,272,8, + 28,10,28,12,28,275,9,28,1,28,1,28,3,28,279,8,28,1,29,1,29,5,29,283, + 8,29,10,29,12,29,286,9,29,1,29,1,29,5,29,290,8,29,10,29,12,29,293, + 9,29,1,29,5,29,296,8,29,10,29,12,29,299,9,29,1,29,5,29,302,8,29, + 10,29,12,29,305,9,29,1,29,3,29,308,8,29,1,30,1,30,1,31,1,31,1,32, + 1,32,1,33,1,33,1,34,1,34,1,35,1,35,3,35,322,8,35,1,35,1,35,1,35, + 3,35,327,8,35,1,35,3,35,330,8,35,1,35,0,0,36,0,2,4,6,8,10,12,14, + 16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58, + 60,62,64,66,68,70,0,5,2,0,8,10,37,37,2,0,8,10,13,14,2,0,19,19,21, + 21,2,0,31,31,34,35,1,0,8,9,349,0,73,1,0,0,0,2,98,1,0,0,0,4,100,1, + 0,0,0,6,109,1,0,0,0,8,119,1,0,0,0,10,121,1,0,0,0,12,125,1,0,0,0, + 14,127,1,0,0,0,16,134,1,0,0,0,18,142,1,0,0,0,20,144,1,0,0,0,22,150, + 1,0,0,0,24,152,1,0,0,0,26,156,1,0,0,0,28,162,1,0,0,0,30,164,1,0, + 0,0,32,167,1,0,0,0,34,169,1,0,0,0,36,178,1,0,0,0,38,184,1,0,0,0, + 40,186,1,0,0,0,42,192,1,0,0,0,44,201,1,0,0,0,46,203,1,0,0,0,48,223, + 1,0,0,0,50,225,1,0,0,0,52,254,1,0,0,0,54,258,1,0,0,0,56,278,1,0, + 0,0,58,280,1,0,0,0,60,309,1,0,0,0,62,311,1,0,0,0,64,313,1,0,0,0, + 66,315,1,0,0,0,68,317,1,0,0,0,70,321,1,0,0,0,72,74,3,2,1,0,73,72, + 1,0,0,0,73,74,1,0,0,0,74,78,1,0,0,0,75,77,3,8,4,0,76,75,1,0,0,0, + 77,80,1,0,0,0,78,76,1,0,0,0,78,79,1,0,0,0,79,82,1,0,0,0,80,78,1, + 0,0,0,81,83,3,4,2,0,82,81,1,0,0,0,82,83,1,0,0,0,83,84,1,0,0,0,84, + 85,5,0,0,1,85,1,1,0,0,0,86,90,5,1,0,0,87,89,3,26,13,0,88,87,1,0, + 0,0,89,92,1,0,0,0,90,88,1,0,0,0,90,91,1,0,0,0,91,99,1,0,0,0,92,90, + 1,0,0,0,93,95,3,26,13,0,94,93,1,0,0,0,95,96,1,0,0,0,96,94,1,0,0, + 0,96,97,1,0,0,0,97,99,1,0,0,0,98,86,1,0,0,0,98,94,1,0,0,0,99,3,1, + 0,0,0,100,104,5,5,0,0,101,103,3,6,3,0,102,101,1,0,0,0,103,106,1, + 0,0,0,104,102,1,0,0,0,104,105,1,0,0,0,105,5,1,0,0,0,106,104,1,0, + 0,0,107,110,3,26,13,0,108,110,3,10,5,0,109,107,1,0,0,0,109,108,1, + 0,0,0,110,7,1,0,0,0,111,120,3,26,13,0,112,120,3,10,5,0,113,120,3, + 12,6,0,114,120,5,6,0,0,115,120,3,14,7,0,116,120,3,30,15,0,117,120, + 3,16,8,0,118,120,3,70,35,0,119,111,1,0,0,0,119,112,1,0,0,0,119,113, + 1,0,0,0,119,114,1,0,0,0,119,115,1,0,0,0,119,116,1,0,0,0,119,117, + 1,0,0,0,119,118,1,0,0,0,120,9,1,0,0,0,121,123,5,35,0,0,122,124,3, + 26,13,0,123,122,1,0,0,0,123,124,1,0,0,0,124,11,1,0,0,0,125,126,5, + 34,0,0,126,13,1,0,0,0,127,128,5,7,0,0,128,15,1,0,0,0,129,135,3,18, + 9,0,130,135,3,24,12,0,131,132,3,68,34,0,132,133,3,28,14,0,133,135, + 1,0,0,0,134,129,1,0,0,0,134,130,1,0,0,0,134,131,1,0,0,0,135,17,1, + 0,0,0,136,143,3,20,10,0,137,139,5,3,0,0,138,140,3,46,23,0,139,138, + 1,0,0,0,139,140,1,0,0,0,140,141,1,0,0,0,141,143,3,28,14,0,142,136, + 1,0,0,0,142,137,1,0,0,0,143,19,1,0,0,0,144,146,5,2,0,0,145,147,3, + 22,11,0,146,145,1,0,0,0,146,147,1,0,0,0,147,148,1,0,0,0,148,149, + 3,28,14,0,149,21,1,0,0,0,150,151,5,37,0,0,151,23,1,0,0,0,152,153, + 5,4,0,0,153,154,3,28,14,0,154,25,1,0,0,0,155,157,5,31,0,0,156,155, + 1,0,0,0,157,158,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,27,1, + 0,0,0,160,163,3,26,13,0,161,163,5,0,0,1,162,160,1,0,0,0,162,161, + 1,0,0,0,163,29,1,0,0,0,164,165,3,34,17,0,165,166,3,28,14,0,166,31, + 1,0,0,0,167,168,7,0,0,0,168,33,1,0,0,0,169,170,3,32,16,0,170,172, + 5,19,0,0,171,173,3,36,18,0,172,171,1,0,0,0,172,173,1,0,0,0,173,35, + 1,0,0,0,174,179,3,40,20,0,175,179,3,38,19,0,176,179,3,56,28,0,177, + 179,3,48,24,0,178,174,1,0,0,0,178,175,1,0,0,0,178,176,1,0,0,0,178, + 177,1,0,0,0,179,37,1,0,0,0,180,185,3,64,32,0,181,185,3,46,23,0,182, + 185,3,62,31,0,183,185,3,66,33,0,184,180,1,0,0,0,184,181,1,0,0,0, + 184,182,1,0,0,0,184,183,1,0,0,0,185,39,1,0,0,0,186,188,5,13,0,0, + 187,189,3,42,21,0,188,187,1,0,0,0,189,190,1,0,0,0,190,188,1,0,0, + 0,190,191,1,0,0,0,191,41,1,0,0,0,192,196,5,26,0,0,193,195,3,60,30, + 0,194,193,1,0,0,0,195,198,1,0,0,0,196,194,1,0,0,0,196,197,1,0,0, + 0,197,199,1,0,0,0,198,196,1,0,0,0,199,200,3,44,22,0,200,43,1,0,0, + 0,201,202,7,1,0,0,202,45,1,0,0,0,203,204,5,13,0,0,204,47,1,0,0,0, + 205,209,5,24,0,0,206,208,3,60,30,0,207,206,1,0,0,0,208,211,1,0,0, + 0,209,207,1,0,0,0,209,210,1,0,0,0,210,213,1,0,0,0,211,209,1,0,0, + 0,212,214,3,50,25,0,213,212,1,0,0,0,213,214,1,0,0,0,214,218,1,0, + 0,0,215,217,3,60,30,0,216,215,1,0,0,0,217,220,1,0,0,0,218,216,1, + 0,0,0,218,219,1,0,0,0,219,221,1,0,0,0,220,218,1,0,0,0,221,224,5, + 25,0,0,222,224,5,11,0,0,223,205,1,0,0,0,223,222,1,0,0,0,224,49,1, + 0,0,0,225,242,3,52,26,0,226,228,3,60,30,0,227,226,1,0,0,0,228,231, + 1,0,0,0,229,227,1,0,0,0,229,230,1,0,0,0,230,232,1,0,0,0,231,229, + 1,0,0,0,232,236,5,20,0,0,233,235,3,60,30,0,234,233,1,0,0,0,235,238, + 1,0,0,0,236,234,1,0,0,0,236,237,1,0,0,0,237,239,1,0,0,0,238,236, + 1,0,0,0,239,241,3,52,26,0,240,229,1,0,0,0,241,244,1,0,0,0,242,240, + 1,0,0,0,242,243,1,0,0,0,243,252,1,0,0,0,244,242,1,0,0,0,245,247, + 3,60,30,0,246,245,1,0,0,0,247,250,1,0,0,0,248,246,1,0,0,0,248,249, + 1,0,0,0,249,251,1,0,0,0,250,248,1,0,0,0,251,253,5,20,0,0,252,248, + 1,0,0,0,252,253,1,0,0,0,253,51,1,0,0,0,254,255,3,32,16,0,255,256, + 3,54,27,0,256,257,3,36,18,0,257,53,1,0,0,0,258,259,7,2,0,0,259,55, + 1,0,0,0,260,264,5,22,0,0,261,263,3,60,30,0,262,261,1,0,0,0,263,266, + 1,0,0,0,264,262,1,0,0,0,264,265,1,0,0,0,265,268,1,0,0,0,266,264, + 1,0,0,0,267,269,3,58,29,0,268,267,1,0,0,0,268,269,1,0,0,0,269,273, + 1,0,0,0,270,272,3,60,30,0,271,270,1,0,0,0,272,275,1,0,0,0,273,271, + 1,0,0,0,273,274,1,0,0,0,274,276,1,0,0,0,275,273,1,0,0,0,276,279, + 5,23,0,0,277,279,5,12,0,0,278,260,1,0,0,0,278,277,1,0,0,0,279,57, + 1,0,0,0,280,297,3,36,18,0,281,283,3,60,30,0,282,281,1,0,0,0,283, + 286,1,0,0,0,284,282,1,0,0,0,284,285,1,0,0,0,285,287,1,0,0,0,286, + 284,1,0,0,0,287,291,5,20,0,0,288,290,3,60,30,0,289,288,1,0,0,0,290, + 293,1,0,0,0,291,289,1,0,0,0,291,292,1,0,0,0,292,294,1,0,0,0,293, + 291,1,0,0,0,294,296,3,36,18,0,295,284,1,0,0,0,296,299,1,0,0,0,297, + 295,1,0,0,0,297,298,1,0,0,0,298,307,1,0,0,0,299,297,1,0,0,0,300, + 302,3,60,30,0,301,300,1,0,0,0,302,305,1,0,0,0,303,301,1,0,0,0,303, + 304,1,0,0,0,304,306,1,0,0,0,305,303,1,0,0,0,306,308,5,20,0,0,307, + 303,1,0,0,0,307,308,1,0,0,0,308,59,1,0,0,0,309,310,7,3,0,0,310,61, + 1,0,0,0,311,312,5,14,0,0,312,63,1,0,0,0,313,314,5,10,0,0,314,65, + 1,0,0,0,315,316,7,4,0,0,316,67,1,0,0,0,317,318,5,40,0,0,318,69,1, + 0,0,0,319,322,5,39,0,0,320,322,3,36,18,0,321,319,1,0,0,0,321,320, + 1,0,0,0,321,322,1,0,0,0,322,323,1,0,0,0,323,326,5,19,0,0,324,327, + 3,36,18,0,325,327,5,39,0,0,326,324,1,0,0,0,326,325,1,0,0,0,327,329, + 1,0,0,0,328,330,3,26,13,0,329,328,1,0,0,0,329,330,1,0,0,0,330,71, + 1,0,0,0,42,73,78,82,90,96,98,104,109,119,123,134,139,142,146,158, + 162,172,178,184,190,196,209,213,218,223,229,236,242,248,252,264, + 268,273,278,284,291,297,303,307,321,326,329 ] class YiniParser ( Parser ): @@ -171,34 +173,38 @@ class YiniParser ( Parser ): RULE_yini_mode_declaration = 11 RULE_annotation = 12 RULE_eol = 13 - RULE_assignment = 14 - RULE_member = 15 - RULE_value = 16 - RULE_scalar_value = 17 - RULE_concat_expression = 18 - RULE_concat_tail = 19 - RULE_concat_operand = 20 - RULE_string_literal = 21 - RULE_object_literal = 22 - RULE_object_members = 23 - RULE_object_member = 24 - RULE_object_member_separator = 25 - RULE_list_literal = 26 - RULE_elements = 27 - RULE_number_literal = 28 - RULE_null_literal = 29 - RULE_boolean_literal = 30 - RULE_bad_meta_text = 31 - RULE_bad_member = 32 + RULE_line_end = 14 + RULE_assignment = 15 + RULE_identifier = 16 + RULE_member = 17 + RULE_value = 18 + RULE_scalar_value = 19 + RULE_concat_expression = 20 + RULE_concat_tail = 21 + RULE_concat_operand = 22 + RULE_string_literal = 23 + RULE_object_literal = 24 + RULE_object_members = 25 + RULE_object_member = 26 + RULE_object_member_separator = 27 + RULE_list_literal = 28 + RULE_elements = 29 + RULE_multiline_trivia = 30 + RULE_number_literal = 31 + RULE_null_literal = 32 + RULE_boolean_literal = 33 + RULE_bad_meta_text = 34 + RULE_bad_member = 35 ruleNames = [ "yini", "prolog", "terminal_stmt", "terminal_trivia", "stmt", "full_line_comment_stmt", "disabled_line_stmt", "invalid_section_stmt", "meta_stmt", "directive", "yini_directive", - "yini_mode_declaration", "annotation", "eol", "assignment", - "member", "value", "scalar_value", "concat_expression", - "concat_tail", "concat_operand", "string_literal", "object_literal", - "object_members", "object_member", "object_member_separator", - "list_literal", "elements", "number_literal", "null_literal", + "yini_mode_declaration", "annotation", "eol", "line_end", + "assignment", "identifier", "member", "value", "scalar_value", + "concat_expression", "concat_tail", "concat_operand", + "string_literal", "object_literal", "object_members", + "object_member", "object_member_separator", "list_literal", + "elements", "multiline_trivia", "number_literal", "null_literal", "boolean_literal", "bad_meta_text", "bad_member" ] EOF = Token.EOF @@ -296,33 +302,33 @@ def yini(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 67 + self.state = 73 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,0,self._ctx) if la_ == 1: - self.state = 66 + self.state = 72 self.prolog() - self.state = 72 + self.state = 78 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & 1840415014876) != 0): - self.state = 69 + self.state = 75 self.stmt() - self.state = 74 + self.state = 80 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 76 + self.state = 82 self._errHandler.sync(self) _la = self._input.LA(1) if _la==5: - self.state = 75 + self.state = 81 self.terminal_stmt() - self.state = 78 + self.state = 84 self.match(YiniParser.EOF) except RecognitionException as re: localctx.exception = re @@ -367,38 +373,38 @@ def prolog(self): localctx = YiniParser.PrologContext(self, self._ctx, self.state) self.enterRule(localctx, 2, self.RULE_prolog) try: - self.state = 92 + self.state = 98 self._errHandler.sync(self) token = self._input.LA(1) if token in [1]: self.enterOuterAlt(localctx, 1) - self.state = 80 + self.state = 86 self.match(YiniParser.SHEBANG) - self.state = 84 + self.state = 90 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,3,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 81 + self.state = 87 self.eol() - self.state = 86 + self.state = 92 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,3,self._ctx) pass elif token in [31]: self.enterOuterAlt(localctx, 2) - self.state = 88 + self.state = 94 self._errHandler.sync(self) _alt = 1 while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt == 1: - self.state = 87 + self.state = 93 self.eol() else: raise NoViableAltException(self) - self.state = 90 + self.state = 96 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,4,self._ctx) @@ -451,15 +457,15 @@ def terminal_stmt(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 94 + self.state = 100 self.match(YiniParser.TERMINAL_TOKEN) - self.state = 98 + self.state = 104 self._errHandler.sync(self) _la = self._input.LA(1) while _la==31 or _la==35: - self.state = 95 + self.state = 101 self.terminal_trivia() - self.state = 100 + self.state = 106 self._errHandler.sync(self) _la = self._input.LA(1) @@ -504,17 +510,17 @@ def terminal_trivia(self): localctx = YiniParser.Terminal_triviaContext(self, self._ctx, self.state) self.enterRule(localctx, 6, self.RULE_terminal_trivia) try: - self.state = 103 + self.state = 109 self._errHandler.sync(self) token = self._input.LA(1) if token in [31]: self.enterOuterAlt(localctx, 1) - self.state = 101 + self.state = 107 self.eol() pass elif token in [35]: self.enterOuterAlt(localctx, 2) - self.state = 102 + self.state = 108 self.full_line_comment_stmt() pass else: @@ -584,51 +590,57 @@ def stmt(self): localctx = YiniParser.StmtContext(self, self._ctx, self.state) self.enterRule(localctx, 8, self.RULE_stmt) try: - self.state = 113 + self.state = 119 self._errHandler.sync(self) - token = self._input.LA(1) - if token in [31]: + la_ = self._interp.adaptivePredict(self._input,8,self._ctx) + if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 105 + self.state = 111 self.eol() pass - elif token in [35]: + + elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 106 + self.state = 112 self.full_line_comment_stmt() pass - elif token in [34]: + + elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 107 + self.state = 113 self.disabled_line_stmt() pass - elif token in [6]: + + elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 108 + self.state = 114 self.match(YiniParser.SECTION_HEAD) pass - elif token in [7]: + + elif la_ == 5: self.enterOuterAlt(localctx, 5) - self.state = 109 + self.state = 115 self.invalid_section_stmt() pass - elif token in [37]: + + elif la_ == 6: self.enterOuterAlt(localctx, 6) - self.state = 110 + self.state = 116 self.assignment() pass - elif token in [2, 3, 4, 40]: + + elif la_ == 7: self.enterOuterAlt(localctx, 7) - self.state = 111 + self.state = 117 self.meta_stmt() pass - elif token in [8, 9, 10, 11, 12, 13, 14, 19, 22, 24, 39]: + + elif la_ == 8: self.enterOuterAlt(localctx, 8) - self.state = 112 + self.state = 118 self.bad_member() pass - else: - raise NoViableAltException(self) + except RecognitionException as re: localctx.exception = re @@ -671,13 +683,13 @@ def full_line_comment_stmt(self): self.enterRule(localctx, 10, self.RULE_full_line_comment_stmt) try: self.enterOuterAlt(localctx, 1) - self.state = 115 + self.state = 121 self.match(YiniParser.FULL_LINE_COMMENT) - self.state = 117 + self.state = 123 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,9,self._ctx) if la_ == 1: - self.state = 116 + self.state = 122 self.eol() @@ -718,7 +730,7 @@ def disabled_line_stmt(self): self.enterRule(localctx, 12, self.RULE_disabled_line_stmt) try: self.enterOuterAlt(localctx, 1) - self.state = 119 + self.state = 125 self.match(YiniParser.DISABLED_LINE) except RecognitionException as re: localctx.exception = re @@ -757,7 +769,7 @@ def invalid_section_stmt(self): self.enterRule(localctx, 14, self.RULE_invalid_section_stmt) try: self.enterOuterAlt(localctx, 1) - self.state = 121 + self.state = 127 self.match(YiniParser.INVALID_SECTION_HEAD) except RecognitionException as re: localctx.exception = re @@ -787,8 +799,8 @@ def bad_meta_text(self): return self.getTypedRuleContext(YiniParser.Bad_meta_textContext,0) - def eol(self): - return self.getTypedRuleContext(YiniParser.EolContext,0) + def line_end(self): + return self.getTypedRuleContext(YiniParser.Line_endContext,0) def getRuleIndex(self): @@ -808,25 +820,25 @@ def meta_stmt(self): localctx = YiniParser.Meta_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 16, self.RULE_meta_stmt) try: - self.state = 128 + self.state = 134 self._errHandler.sync(self) token = self._input.LA(1) if token in [2, 3]: self.enterOuterAlt(localctx, 1) - self.state = 123 + self.state = 129 self.directive() pass elif token in [4]: self.enterOuterAlt(localctx, 2) - self.state = 124 + self.state = 130 self.annotation() pass elif token in [40]: self.enterOuterAlt(localctx, 3) - self.state = 125 + self.state = 131 self.bad_meta_text() - self.state = 126 - self.eol() + self.state = 132 + self.line_end() pass else: raise NoViableAltException(self) @@ -854,8 +866,8 @@ def yini_directive(self): def INCLUDE_TOKEN(self): return self.getToken(YiniParser.INCLUDE_TOKEN, 0) - def eol(self): - return self.getTypedRuleContext(YiniParser.EolContext,0) + def line_end(self): + return self.getTypedRuleContext(YiniParser.Line_endContext,0) def string_literal(self): @@ -880,28 +892,28 @@ def directive(self): self.enterRule(localctx, 18, self.RULE_directive) self._la = 0 # Token type try: - self.state = 136 + self.state = 142 self._errHandler.sync(self) token = self._input.LA(1) if token in [2]: self.enterOuterAlt(localctx, 1) - self.state = 130 + self.state = 136 self.yini_directive() pass elif token in [3]: self.enterOuterAlt(localctx, 2) - self.state = 131 + self.state = 137 self.match(YiniParser.INCLUDE_TOKEN) - self.state = 133 + self.state = 139 self._errHandler.sync(self) _la = self._input.LA(1) if _la==13: - self.state = 132 + self.state = 138 self.string_literal() - self.state = 135 - self.eol() + self.state = 141 + self.line_end() pass else: raise NoViableAltException(self) @@ -925,8 +937,8 @@ def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): def YINI_TOKEN(self): return self.getToken(YiniParser.YINI_TOKEN, 0) - def eol(self): - return self.getTypedRuleContext(YiniParser.EolContext,0) + def line_end(self): + return self.getTypedRuleContext(YiniParser.Line_endContext,0) def yini_mode_declaration(self): @@ -952,18 +964,18 @@ def yini_directive(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 138 + self.state = 144 self.match(YiniParser.YINI_TOKEN) - self.state = 140 + self.state = 146 self._errHandler.sync(self) _la = self._input.LA(1) if _la==37: - self.state = 139 + self.state = 145 self.yini_mode_declaration() - self.state = 142 - self.eol() + self.state = 148 + self.line_end() except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1001,7 +1013,7 @@ def yini_mode_declaration(self): self.enterRule(localctx, 22, self.RULE_yini_mode_declaration) try: self.enterOuterAlt(localctx, 1) - self.state = 144 + self.state = 150 self.match(YiniParser.KEY) except RecognitionException as re: localctx.exception = re @@ -1022,8 +1034,8 @@ def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): def DEPRECATED_TOKEN(self): return self.getToken(YiniParser.DEPRECATED_TOKEN, 0) - def eol(self): - return self.getTypedRuleContext(YiniParser.EolContext,0) + def line_end(self): + return self.getTypedRuleContext(YiniParser.Line_endContext,0) def getRuleIndex(self): @@ -1044,10 +1056,10 @@ def annotation(self): self.enterRule(localctx, 24, self.RULE_annotation) try: self.enterOuterAlt(localctx, 1) - self.state = 146 + self.state = 152 self.match(YiniParser.DEPRECATED_TOKEN) - self.state = 147 - self.eol() + self.state = 153 + self.line_end() except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1088,17 +1100,17 @@ def eol(self): self.enterRule(localctx, 26, self.RULE_eol) try: self.enterOuterAlt(localctx, 1) - self.state = 150 + self.state = 156 self._errHandler.sync(self) _alt = 1 while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt == 1: - self.state = 149 + self.state = 155 self.match(YiniParser.NL) else: raise NoViableAltException(self) - self.state = 152 + self.state = 158 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,14,self._ctx) @@ -1111,6 +1123,62 @@ def eol(self): return localctx + class Line_endContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def eol(self): + return self.getTypedRuleContext(YiniParser.EolContext,0) + + + def EOF(self): + return self.getToken(YiniParser.EOF, 0) + + def getRuleIndex(self): + return YiniParser.RULE_line_end + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitLine_end" ): + return visitor.visitLine_end(self) + else: + return visitor.visitChildren(self) + + + + + def line_end(self): + + localctx = YiniParser.Line_endContext(self, self._ctx, self.state) + self.enterRule(localctx, 28, self.RULE_line_end) + try: + self.state = 162 + self._errHandler.sync(self) + token = self._input.LA(1) + if token in [31]: + self.enterOuterAlt(localctx, 1) + self.state = 160 + self.eol() + pass + elif token in [-1]: + self.enterOuterAlt(localctx, 2) + self.state = 161 + self.match(YiniParser.EOF) + pass + else: + raise NoViableAltException(self) + + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + class AssignmentContext(ParserRuleContext): __slots__ = 'parser' @@ -1122,8 +1190,8 @@ def member(self): return self.getTypedRuleContext(YiniParser.MemberContext,0) - def eol(self): - return self.getTypedRuleContext(YiniParser.EolContext,0) + def line_end(self): + return self.getTypedRuleContext(YiniParser.Line_endContext,0) def getRuleIndex(self): @@ -1141,13 +1209,13 @@ def accept(self, visitor:ParseTreeVisitor): def assignment(self): localctx = YiniParser.AssignmentContext(self, self._ctx, self.state) - self.enterRule(localctx, 28, self.RULE_assignment) + self.enterRule(localctx, 30, self.RULE_assignment) try: self.enterOuterAlt(localctx, 1) - self.state = 154 + self.state = 164 self.member() - self.state = 155 - self.eol() + self.state = 165 + self.line_end() except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1157,7 +1225,7 @@ def assignment(self): return localctx - class MemberContext(ParserRuleContext): + class IdentifierContext(ParserRuleContext): __slots__ = 'parser' def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): @@ -1167,6 +1235,61 @@ def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): def KEY(self): return self.getToken(YiniParser.KEY, 0) + def BOOLEAN_TRUE(self): + return self.getToken(YiniParser.BOOLEAN_TRUE, 0) + + def BOOLEAN_FALSE(self): + return self.getToken(YiniParser.BOOLEAN_FALSE, 0) + + def NULL(self): + return self.getToken(YiniParser.NULL, 0) + + def getRuleIndex(self): + return YiniParser.RULE_identifier + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitIdentifier" ): + return visitor.visitIdentifier(self) + else: + return visitor.visitChildren(self) + + + + + def identifier(self): + + localctx = YiniParser.IdentifierContext(self, self._ctx, self.state) + self.enterRule(localctx, 32, self.RULE_identifier) + self._la = 0 # Token type + try: + self.enterOuterAlt(localctx, 1) + self.state = 167 + _la = self._input.LA(1) + if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 137438955264) != 0)): + self._errHandler.recoverInline(self) + else: + self._errHandler.reportMatch(self) + self.consume() + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + + class MemberContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def identifier(self): + return self.getTypedRuleContext(YiniParser.IdentifierContext,0) + + def EQ(self): return self.getToken(YiniParser.EQ, 0) @@ -1189,19 +1312,19 @@ def accept(self, visitor:ParseTreeVisitor): def member(self): localctx = YiniParser.MemberContext(self, self._ctx, self.state) - self.enterRule(localctx, 30, self.RULE_member) + self.enterRule(localctx, 34, self.RULE_member) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 157 - self.match(YiniParser.KEY) - self.state = 158 + self.state = 169 + self.identifier() + self.state = 170 self.match(YiniParser.EQ) - self.state = 160 + self.state = 172 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 21004032) != 0): - self.state = 159 + self.state = 171 self.value() @@ -1252,32 +1375,32 @@ def accept(self, visitor:ParseTreeVisitor): def value(self): localctx = YiniParser.ValueContext(self, self._ctx, self.state) - self.enterRule(localctx, 32, self.RULE_value) + self.enterRule(localctx, 36, self.RULE_value) try: - self.state = 166 + self.state = 178 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,16,self._ctx) + la_ = self._interp.adaptivePredict(self._input,17,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 162 + self.state = 174 self.concat_expression() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 163 + self.state = 175 self.scalar_value() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 164 + self.state = 176 self.list_literal() pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 165 + self.state = 177 self.object_literal() pass @@ -1329,29 +1452,29 @@ def accept(self, visitor:ParseTreeVisitor): def scalar_value(self): localctx = YiniParser.Scalar_valueContext(self, self._ctx, self.state) - self.enterRule(localctx, 34, self.RULE_scalar_value) + self.enterRule(localctx, 38, self.RULE_scalar_value) try: - self.state = 172 + self.state = 184 self._errHandler.sync(self) token = self._input.LA(1) if token in [10]: self.enterOuterAlt(localctx, 1) - self.state = 168 + self.state = 180 self.null_literal() pass elif token in [13]: self.enterOuterAlt(localctx, 2) - self.state = 169 + self.state = 181 self.string_literal() pass elif token in [14]: self.enterOuterAlt(localctx, 3) - self.state = 170 + self.state = 182 self.number_literal() pass elif token in [8, 9]: self.enterOuterAlt(localctx, 4) - self.state = 171 + self.state = 183 self.boolean_literal() pass else: @@ -1398,19 +1521,19 @@ def accept(self, visitor:ParseTreeVisitor): def concat_expression(self): localctx = YiniParser.Concat_expressionContext(self, self._ctx, self.state) - self.enterRule(localctx, 36, self.RULE_concat_expression) + self.enterRule(localctx, 40, self.RULE_concat_expression) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 174 + self.state = 186 self.match(YiniParser.STRING) - self.state = 176 + self.state = 188 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 175 + self.state = 187 self.concat_tail() - self.state = 178 + self.state = 190 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==26): @@ -1439,11 +1562,12 @@ def concat_operand(self): return self.getTypedRuleContext(YiniParser.Concat_operandContext,0) - def NL(self, i:int=None): + def multiline_trivia(self, i:int=None): if i is None: - return self.getTokens(YiniParser.NL) + return self.getTypedRuleContexts(YiniParser.Multiline_triviaContext) else: - return self.getToken(YiniParser.NL, i) + return self.getTypedRuleContext(YiniParser.Multiline_triviaContext,i) + def getRuleIndex(self): return YiniParser.RULE_concat_tail @@ -1460,23 +1584,23 @@ def accept(self, visitor:ParseTreeVisitor): def concat_tail(self): localctx = YiniParser.Concat_tailContext(self, self._ctx, self.state) - self.enterRule(localctx, 38, self.RULE_concat_tail) + self.enterRule(localctx, 42, self.RULE_concat_tail) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 180 + self.state = 192 self.match(YiniParser.PLUS) - self.state = 184 + self.state = 196 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31: - self.state = 181 - self.match(YiniParser.NL) - self.state = 186 + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 193 + self.multiline_trivia() + self.state = 198 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 187 + self.state = 199 self.concat_operand() except RecognitionException as re: localctx.exception = re @@ -1524,11 +1648,11 @@ def accept(self, visitor:ParseTreeVisitor): def concat_operand(self): localctx = YiniParser.Concat_operandContext(self, self._ctx, self.state) - self.enterRule(localctx, 40, self.RULE_concat_operand) + self.enterRule(localctx, 44, self.RULE_concat_operand) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 189 + self.state = 201 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 26368) != 0)): self._errHandler.recoverInline(self) @@ -1569,10 +1693,10 @@ def accept(self, visitor:ParseTreeVisitor): def string_literal(self): localctx = YiniParser.String_literalContext(self, self._ctx, self.state) - self.enterRule(localctx, 42, self.RULE_string_literal) + self.enterRule(localctx, 46, self.RULE_string_literal) try: self.enterOuterAlt(localctx, 1) - self.state = 191 + self.state = 203 self.match(YiniParser.STRING) except RecognitionException as re: localctx.exception = re @@ -1596,11 +1720,12 @@ def OC(self): def CC(self): return self.getToken(YiniParser.CC, 0) - def NL(self, i:int=None): + def multiline_trivia(self, i:int=None): if i is None: - return self.getTokens(YiniParser.NL) + return self.getTypedRuleContexts(YiniParser.Multiline_triviaContext) else: - return self.getToken(YiniParser.NL, i) + return self.getTypedRuleContext(YiniParser.Multiline_triviaContext,i) + def object_members(self): return self.getTypedRuleContext(YiniParser.Object_membersContext,0) @@ -1624,7 +1749,7 @@ def accept(self, visitor:ParseTreeVisitor): def object_literal(self): localctx = YiniParser.Object_literalContext(self, self._ctx, self.state) - self.enterRule(localctx, 44, self.RULE_object_literal) + self.enterRule(localctx, 48, self.RULE_object_literal) self._la = 0 # Token type try: self.state = 223 @@ -1632,66 +1757,44 @@ def object_literal(self): token = self._input.LA(1) if token in [24]: self.enterOuterAlt(localctx, 1) - self.state = 193 + self.state = 205 self.match(YiniParser.OC) - self.state = 197 + self.state = 209 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,20,self._ctx) + _alt = self._interp.adaptivePredict(self._input,21,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 194 - self.match(YiniParser.NL) - self.state = 199 + self.state = 206 + self.multiline_trivia() + self.state = 211 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,20,self._ctx) + _alt = self._interp.adaptivePredict(self._input,21,self._ctx) - self.state = 201 + self.state = 213 self._errHandler.sync(self) _la = self._input.LA(1) - if _la==37: - self.state = 200 + if (((_la) & ~0x3f) == 0 and ((1 << _la) & 137438955264) != 0): + self.state = 212 self.object_members() - self.state = 206 + self.state = 218 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31: - self.state = 203 - self.match(YiniParser.NL) - self.state = 208 + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 215 + self.multiline_trivia() + self.state = 220 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 209 + self.state = 221 self.match(YiniParser.CC) - self.state = 213 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,23,self._ctx) - while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: - if _alt==1: - self.state = 210 - self.match(YiniParser.NL) - self.state = 215 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,23,self._ctx) - pass elif token in [11]: self.enterOuterAlt(localctx, 2) - self.state = 216 + self.state = 222 self.match(YiniParser.EMPTY_OBJECT) - self.state = 220 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,24,self._ctx) - while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: - if _alt==1: - self.state = 217 - self.match(YiniParser.NL) - self.state = 222 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,24,self._ctx) - pass else: raise NoViableAltException(self) @@ -1725,11 +1828,12 @@ def COMMA(self, i:int=None): else: return self.getToken(YiniParser.COMMA, i) - def NL(self, i:int=None): + def multiline_trivia(self, i:int=None): if i is None: - return self.getTokens(YiniParser.NL) + return self.getTypedRuleContexts(YiniParser.Multiline_triviaContext) else: - return self.getToken(YiniParser.NL, i) + return self.getTypedRuleContext(YiniParser.Multiline_triviaContext,i) + def getRuleIndex(self): return YiniParser.RULE_object_members @@ -1746,40 +1850,60 @@ def accept(self, visitor:ParseTreeVisitor): def object_members(self): localctx = YiniParser.Object_membersContext(self, self._ctx, self.state) - self.enterRule(localctx, 46, self.RULE_object_members) + self.enterRule(localctx, 50, self.RULE_object_members) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) self.state = 225 self.object_member() - self.state = 236 + self.state = 242 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,27,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 226 + self.state = 229 + self._errHandler.sync(self) + _la = self._input.LA(1) + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 226 + self.multiline_trivia() + self.state = 231 + self._errHandler.sync(self) + _la = self._input.LA(1) + + self.state = 232 self.match(YiniParser.COMMA) - self.state = 230 + self.state = 236 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31: - self.state = 227 - self.match(YiniParser.NL) - self.state = 232 + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 233 + self.multiline_trivia() + self.state = 238 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 233 + self.state = 239 self.object_member() - self.state = 238 + self.state = 244 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,27,self._ctx) - self.state = 240 + self.state = 252 self._errHandler.sync(self) - _la = self._input.LA(1) - if _la==20: - self.state = 239 + la_ = self._interp.adaptivePredict(self._input,29,self._ctx) + if la_ == 1: + self.state = 248 + self._errHandler.sync(self) + _la = self._input.LA(1) + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 245 + self.multiline_trivia() + self.state = 250 + self._errHandler.sync(self) + _la = self._input.LA(1) + + self.state = 251 self.match(YiniParser.COMMA) @@ -1799,8 +1923,9 @@ def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): super().__init__(parent, invokingState) self.parser = parser - def KEY(self): - return self.getToken(YiniParser.KEY, 0) + def identifier(self): + return self.getTypedRuleContext(YiniParser.IdentifierContext,0) + def object_member_separator(self): return self.getTypedRuleContext(YiniParser.Object_member_separatorContext,0) @@ -1825,14 +1950,14 @@ def accept(self, visitor:ParseTreeVisitor): def object_member(self): localctx = YiniParser.Object_memberContext(self, self._ctx, self.state) - self.enterRule(localctx, 48, self.RULE_object_member) + self.enterRule(localctx, 52, self.RULE_object_member) try: self.enterOuterAlt(localctx, 1) - self.state = 242 - self.match(YiniParser.KEY) - self.state = 243 + self.state = 254 + self.identifier() + self.state = 255 self.object_member_separator() - self.state = 244 + self.state = 256 self.value() except RecognitionException as re: localctx.exception = re @@ -1871,11 +1996,11 @@ def accept(self, visitor:ParseTreeVisitor): def object_member_separator(self): localctx = YiniParser.Object_member_separatorContext(self, self._ctx, self.state) - self.enterRule(localctx, 50, self.RULE_object_member_separator) + self.enterRule(localctx, 54, self.RULE_object_member_separator) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 246 + self.state = 258 _la = self._input.LA(1) if not(_la==19 or _la==21): self._errHandler.recoverInline(self) @@ -1904,11 +2029,12 @@ def OB(self): def CB(self): return self.getToken(YiniParser.CB, 0) - def NL(self, i:int=None): + def multiline_trivia(self, i:int=None): if i is None: - return self.getTokens(YiniParser.NL) + return self.getTypedRuleContexts(YiniParser.Multiline_triviaContext) else: - return self.getToken(YiniParser.NL, i) + return self.getTypedRuleContext(YiniParser.Multiline_triviaContext,i) + def elements(self): return self.getTypedRuleContext(YiniParser.ElementsContext,0) @@ -1932,7 +2058,7 @@ def accept(self, visitor:ParseTreeVisitor): def list_literal(self): localctx = YiniParser.List_literalContext(self, self._ctx, self.state) - self.enterRule(localctx, 52, self.RULE_list_literal) + self.enterRule(localctx, 56, self.RULE_list_literal) self._la = 0 # Token type try: self.state = 278 @@ -1940,66 +2066,44 @@ def list_literal(self): token = self._input.LA(1) if token in [22]: self.enterOuterAlt(localctx, 1) - self.state = 248 + self.state = 260 self.match(YiniParser.OB) - self.state = 252 + self.state = 264 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,29,self._ctx) + _alt = self._interp.adaptivePredict(self._input,30,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 249 - self.match(YiniParser.NL) - self.state = 254 + self.state = 261 + self.multiline_trivia() + self.state = 266 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,29,self._ctx) + _alt = self._interp.adaptivePredict(self._input,30,self._ctx) - self.state = 256 + self.state = 268 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 21004032) != 0): - self.state = 255 + self.state = 267 self.elements() - self.state = 261 + self.state = 273 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31: - self.state = 258 - self.match(YiniParser.NL) - self.state = 263 + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 270 + self.multiline_trivia() + self.state = 275 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 264 + self.state = 276 self.match(YiniParser.CB) - self.state = 268 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,32,self._ctx) - while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: - if _alt==1: - self.state = 265 - self.match(YiniParser.NL) - self.state = 270 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,32,self._ctx) - pass elif token in [12]: self.enterOuterAlt(localctx, 2) - self.state = 271 + self.state = 277 self.match(YiniParser.EMPTY_LIST) - self.state = 275 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,33,self._ctx) - while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: - if _alt==1: - self.state = 272 - self.match(YiniParser.NL) - self.state = 277 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,33,self._ctx) - pass else: raise NoViableAltException(self) @@ -2033,11 +2137,12 @@ def COMMA(self, i:int=None): else: return self.getToken(YiniParser.COMMA, i) - def NL(self, i:int=None): + def multiline_trivia(self, i:int=None): if i is None: - return self.getTokens(YiniParser.NL) + return self.getTypedRuleContexts(YiniParser.Multiline_triviaContext) else: - return self.getToken(YiniParser.NL, i) + return self.getTypedRuleContext(YiniParser.Multiline_triviaContext,i) + def getRuleIndex(self): return YiniParser.RULE_elements @@ -2054,7 +2159,7 @@ def accept(self, visitor:ParseTreeVisitor): def elements(self): localctx = YiniParser.ElementsContext(self, self._ctx, self.state) - self.enterRule(localctx, 54, self.RULE_elements) + self.enterRule(localctx, 58, self.RULE_elements) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) @@ -2062,15 +2167,15 @@ def elements(self): self.value() self.state = 297 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,37,self._ctx) + _alt = self._interp.adaptivePredict(self._input,36,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: self.state = 284 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31: + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): self.state = 281 - self.match(YiniParser.NL) + self.multiline_trivia() self.state = 286 self._errHandler.sync(self) _la = self._input.LA(1) @@ -2080,9 +2185,9 @@ def elements(self): self.state = 291 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31: + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): self.state = 288 - self.match(YiniParser.NL) + self.multiline_trivia() self.state = 293 self._errHandler.sync(self) _la = self._input.LA(1) @@ -2091,13 +2196,23 @@ def elements(self): self.value() self.state = 299 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,37,self._ctx) + _alt = self._interp.adaptivePredict(self._input,36,self._ctx) - self.state = 301 + self.state = 307 self._errHandler.sync(self) - _la = self._input.LA(1) - if _la==20: - self.state = 300 + la_ = self._interp.adaptivePredict(self._input,38,self._ctx) + if la_ == 1: + self.state = 303 + self._errHandler.sync(self) + _la = self._input.LA(1) + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + self.state = 300 + self.multiline_trivia() + self.state = 305 + self._errHandler.sync(self) + _la = self._input.LA(1) + + self.state = 306 self.match(YiniParser.COMMA) @@ -2110,6 +2225,57 @@ def elements(self): return localctx + class Multiline_triviaContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def NL(self): + return self.getToken(YiniParser.NL, 0) + + def DISABLED_LINE(self): + return self.getToken(YiniParser.DISABLED_LINE, 0) + + def FULL_LINE_COMMENT(self): + return self.getToken(YiniParser.FULL_LINE_COMMENT, 0) + + def getRuleIndex(self): + return YiniParser.RULE_multiline_trivia + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitMultiline_trivia" ): + return visitor.visitMultiline_trivia(self) + else: + return visitor.visitChildren(self) + + + + + def multiline_trivia(self): + + localctx = YiniParser.Multiline_triviaContext(self, self._ctx, self.state) + self.enterRule(localctx, 60, self.RULE_multiline_trivia) + self._la = 0 # Token type + try: + self.enterOuterAlt(localctx, 1) + self.state = 309 + _la = self._input.LA(1) + if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0)): + self._errHandler.recoverInline(self) + else: + self._errHandler.reportMatch(self) + self.consume() + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + class Number_literalContext(ParserRuleContext): __slots__ = 'parser' @@ -2135,10 +2301,10 @@ def accept(self, visitor:ParseTreeVisitor): def number_literal(self): localctx = YiniParser.Number_literalContext(self, self._ctx, self.state) - self.enterRule(localctx, 56, self.RULE_number_literal) + self.enterRule(localctx, 62, self.RULE_number_literal) try: self.enterOuterAlt(localctx, 1) - self.state = 303 + self.state = 311 self.match(YiniParser.NUMBER) except RecognitionException as re: localctx.exception = re @@ -2174,10 +2340,10 @@ def accept(self, visitor:ParseTreeVisitor): def null_literal(self): localctx = YiniParser.Null_literalContext(self, self._ctx, self.state) - self.enterRule(localctx, 58, self.RULE_null_literal) + self.enterRule(localctx, 64, self.RULE_null_literal) try: self.enterOuterAlt(localctx, 1) - self.state = 305 + self.state = 313 self.match(YiniParser.NULL) except RecognitionException as re: localctx.exception = re @@ -2216,11 +2382,11 @@ def accept(self, visitor:ParseTreeVisitor): def boolean_literal(self): localctx = YiniParser.Boolean_literalContext(self, self._ctx, self.state) - self.enterRule(localctx, 60, self.RULE_boolean_literal) + self.enterRule(localctx, 66, self.RULE_boolean_literal) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 307 + self.state = 315 _la = self._input.LA(1) if not(_la==8 or _la==9): self._errHandler.recoverInline(self) @@ -2261,10 +2427,10 @@ def accept(self, visitor:ParseTreeVisitor): def bad_meta_text(self): localctx = YiniParser.Bad_meta_textContext(self, self._ctx, self.state) - self.enterRule(localctx, 62, self.RULE_bad_meta_text) + self.enterRule(localctx, 68, self.RULE_bad_meta_text) try: self.enterOuterAlt(localctx, 1) - self.state = 309 + self.state = 317 self.match(YiniParser.META_INVALID) except RecognitionException as re: localctx.exception = re @@ -2317,45 +2483,45 @@ def accept(self, visitor:ParseTreeVisitor): def bad_member(self): localctx = YiniParser.Bad_memberContext(self, self._ctx, self.state) - self.enterRule(localctx, 64, self.RULE_bad_member) + self.enterRule(localctx, 70, self.RULE_bad_member) try: self.enterOuterAlt(localctx, 1) - self.state = 313 + self.state = 321 self._errHandler.sync(self) token = self._input.LA(1) if token in [39]: - self.state = 311 + self.state = 319 self.match(YiniParser.REST) pass elif token in [8, 9, 10, 11, 12, 13, 14, 22, 24]: - self.state = 312 + self.state = 320 self.value() pass elif token in [19]: pass else: pass - self.state = 315 + self.state = 323 self.match(YiniParser.EQ) - self.state = 318 + self.state = 326 self._errHandler.sync(self) token = self._input.LA(1) if token in [8, 9, 10, 11, 12, 13, 14, 22, 24]: - self.state = 316 + self.state = 324 self.value() pass elif token in [39]: - self.state = 317 + self.state = 325 self.match(YiniParser.REST) pass else: raise NoViableAltException(self) - self.state = 321 + self.state = 329 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,41,self._ctx) if la_ == 1: - self.state = 320 + self.state = 328 self.eol() diff --git a/src/yini_parser/grammar/generated/YiniParserVisitor.py b/src/yini_parser/grammar/generated/YiniParserVisitor.py index 81c3ab9..58e7cd5 100644 --- a/src/yini_parser/grammar/generated/YiniParserVisitor.py +++ b/src/yini_parser/grammar/generated/YiniParserVisitor.py @@ -1,4 +1,4 @@ -# Generated from ./grammar/v1.0.0-rc.6/YiniParser.g4 by ANTLR 4.13.2 +# Generated from ./grammar/v1.0.0-rc.6x/YiniParser.g4 by ANTLR 4.13.2 from antlr4 import * if "." in __name__: from .YiniParser import YiniParser @@ -79,11 +79,21 @@ def visitEol(self, ctx:YiniParser.EolContext): return self.visitChildren(ctx) + # Visit a parse tree produced by YiniParser#line_end. + def visitLine_end(self, ctx:YiniParser.Line_endContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by YiniParser#assignment. def visitAssignment(self, ctx:YiniParser.AssignmentContext): return self.visitChildren(ctx) + # Visit a parse tree produced by YiniParser#identifier. + def visitIdentifier(self, ctx:YiniParser.IdentifierContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by YiniParser#member. def visitMember(self, ctx:YiniParser.MemberContext): return self.visitChildren(ctx) @@ -149,6 +159,11 @@ def visitElements(self, ctx:YiniParser.ElementsContext): return self.visitChildren(ctx) + # Visit a parse tree produced by YiniParser#multiline_trivia. + def visitMultiline_trivia(self, ctx:YiniParser.Multiline_triviaContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by YiniParser#number_literal. def visitNumber_literal(self, ctx:YiniParser.Number_literalContext): return self.visitChildren(ctx) diff --git a/src/yini_parser/utils/text.py b/src/yini_parser/utils/text.py index 28db7b4..24cdc98 100644 --- a/src/yini_parser/utils/text.py +++ b/src/yini_parser/utils/text.py @@ -1,5 +1,6 @@ # src/yini_parser/utils/text.py +import re from typing import Any @@ -31,10 +32,10 @@ def strip_whitespaces(txt: str) -> str: def strip_backticks(text: str) -> str: """ - Remove enclosing backticks and decode escaped backslashes. + Remove enclosing backticks and decode permitted identifier escapes. """ text = text.strip() if len(text) >= 2 and text[0] == "`" and text[-1] == "`": - return text[1:-1].replace("\\\\", "\\") + return re.sub(r"\\([`\\])", lambda match: match.group(1), text[1:-1]) return text diff --git a/tests/test_command_strings.py b/tests/test_command_strings.py new file mode 100644 index 0000000..b286ce3 --- /dev/null +++ b/tests/test_command_strings.py @@ -0,0 +1,94 @@ +import pytest + +from yini_parser import YiniParseError, loads + + +def _document(value: str, *, strict: bool) -> str: + marker = "@yini\n" if strict else "" + terminator = "/END\n" if strict else "" + return f"{marker}^ App\nscript = {value}\n{terminator}" + + +@pytest.mark.parametrize("strict", [False, True]) +def test_command_string_removes_structural_indentation(strict: bool) -> None: + value = ( + 'command"""\n' + " npm install\n" + " --verbose\n" + ' echo \\\\n and """ quotes\n' + '"""' + ) + + result = loads(_document(value, strict=strict), strict=strict) + + assert result["App"]["script"] == ( + 'npm install\n --verbose\necho \\\\n and """ quotes' + ) + + +@pytest.mark.parametrize("strict", [False, True]) +def test_command_string_preserves_blank_and_space_only_lines(strict: bool) -> None: + value = 'command"""\n first\n\n \n last\n"""' + + result = loads(_document(value, strict=strict), strict=strict) + + assert result["App"]["script"] == "first\n\n \nlast" + + +@pytest.mark.parametrize("strict", [False, True]) +def test_command_string_can_be_empty_and_end_at_eof(strict: bool) -> None: + value = 'command"""\n"""' + source = _document(value, strict=strict).rstrip("\n") + + result = loads(source, strict=strict) + + assert result["App"]["script"] == "" + + +@pytest.mark.parametrize("strict", [False, True]) +def test_command_string_in_list_and_concatenation(strict: bool) -> None: + marker = "@yini\n" if strict else "" + terminator = "/END\n" if strict else "" + source = ( + f'{marker}^ App\nitems = ["two", command"""\n one\n"""\n]\n' + 'combined = "start:" + command"""\n end\n"""\n' + f"{terminator}" + ) + + result = loads(source, strict=strict) + + assert result["App"]["items"] == ["two", "one"] + assert result["App"]["combined"] == "start:end" + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("ending", ["\n", "\r\n", "\r"]) +def test_command_string_preserves_line_endings(strict: bool, ending: str) -> None: + value = ending.join(['command"""', " one", " two", '"""']) + marker = f"@yini{ending}" if strict else "" + terminator = f"/END{ending}" if strict else "" + source = f"{marker}^ App{ending}script = {value}{ending}{terminator}" + + result = loads(source, strict=strict) + + assert result["App"]["script"] == f"one{ending}two" + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize( + "value", + [ + 'command"""inline\n"""', + 'command"""\n first\n second\n"""', + 'command"""\n \n first\n"""', + 'command"""\n first\n\t"""', + 'command"""\n first\n"""tail', + 'command"""\n first\n""" ', + 'command"""\n first\n""" #comment', + 'Command"""\n first\n"""', + 'command"first"', + ], +) +def test_rejects_invalid_command_string(value: str, strict: bool) -> None: + with pytest.raises(YiniParseError): + loads(_document(value, strict=strict), strict=strict) diff --git a/tests/test_conflicts.py b/tests/test_conflicts.py index 0d1f55e..7855c74 100644 --- a/tests/test_conflicts.py +++ b/tests/test_conflicts.py @@ -10,15 +10,22 @@ """ These rules apply: -- In lenient mode, when duplicate or conflicting definitions occur, the FIRST definition always wins. +- In lenient mode, when duplicate definitions occur, the FIRST definition always wins. - Duplicate keys MUST NOT overwrite an earlier key. Later duplicate keys should emit warnings. - Duplicate section names MUST NOT overwrite or merge with an earlier section. Later duplicate section definitions should emit warnings, and the duplicate section block, not only the header line, should be ignored. -- Key/section name collisions MUST NOT overwrite an earlier definition. In lenient mode, the first definition should win and a warning should be emitted. +- Member/section name collisions MUST result in an error in both modes. - No merging of repeated sections is allowed. -- In strict mode, duplicate keys, duplicate section names, and key/section name collisions MUST result in an error. +- In strict mode, duplicate keys and duplicate section names MUST result in an error. """ +def test_orphan_member_and_top_level_section_collision_is_an_error() -> None: + text = "@yini\nitem = 1\n^ item\nvalue = 2\n" + + with pytest.raises(YiniParseError, match="Orphan member and top-level section"): + loads(text) + + def test_duplicate_key_first_value_wins_in_lenient_mode() -> None: text = """ ^ App @@ -94,9 +101,7 @@ def test_repeated_nested_section_first_definition_wins_in_lenient_mode() -> None } -def test_key_then_section_name_collision_first_definition_wins_in_lenient_mode() -> ( - None -): +def test_key_then_section_name_collision_errors_in_lenient_mode() -> None: text = """ ^ App Server = "localhost" @@ -105,19 +110,11 @@ def test_key_then_section_name_collision_first_definition_wins_in_lenient_mode() port = 8080 """.lstrip() - with pytest.warns(YiniParseWarning, match="Name collision"): - result = loads(text) - - assert result == { - "App": { - "Server": "localhost", - }, - } + with pytest.raises(YiniParseError, match="Name collision"): + loads(text) -def test_section_then_key_name_collision_first_definition_wins_in_lenient_mode() -> ( - None -): +def test_duplicate_parent_section_ignores_later_member_in_lenient_mode() -> None: text = """ ^ App ^^ Server @@ -169,7 +166,7 @@ def test_repeated_section_should_warn_in_lenient_mode() -> None: loads(text) -def test_key_section_collision_should_warn_in_lenient_mode() -> None: +def test_key_section_collision_should_error_in_lenient_mode() -> None: text = """ ^ App Server = "localhost" @@ -178,13 +175,7 @@ def test_key_section_collision_should_warn_in_lenient_mode() -> None: port = 8080 """.lstrip() - with pytest.warns( - YiniParseWarning, - match=( - r"Name collision for 'Server' ignored\. " - r"A key with this name already exists, so the incoming section was ignored\." - ), - ): + with pytest.raises(YiniParseError, match="Name collision for 'Server'"): loads(text) @@ -225,7 +216,7 @@ def test_key_then_section_name_collision_should_error_in_strict_mode() -> None: loads(text, strict=True) -def test_section_then_key_name_collision_should_error_in_strict_mode() -> None: +def test_duplicate_parent_section_should_error_in_strict_mode() -> None: text = """ ^ App ^^ Server diff --git a/tests/test_keys.py b/tests/test_keys.py index 4bc7602..1de1028 100644 --- a/tests/test_keys.py +++ b/tests/test_keys.py @@ -78,6 +78,50 @@ def test_backticked_keys_decode_escaped_backslashes(strict: bool) -> None: } +@pytest.mark.parametrize("strict", [False, True]) +def test_backticked_keys_decode_escaped_backticks(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + '^ Keys\n`member\\`name` = "member"\n' + + 'labels = { `object\\`name`: "object" }\n' + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result["Keys"]["member`name"] == "member" + assert result["Keys"]["labels"]["object`name"] == "object" + + +@pytest.mark.parametrize("strict", [False, True]) +def test_boolean_and_null_words_are_valid_identifiers(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + '^ Keys\ntrue = "member"\nlabels = { null: "object" }\n' + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result["Keys"]["true"] == "member" + assert result["Keys"]["labels"]["null"] == "object" + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("name", [r"bad\q", "bad\x80"]) +def test_rejects_invalid_backticked_identifier_escape_or_control( + strict: bool, name: str +) -> None: + text = ( + ("@yini\n" if strict else "") + + f'^ Keys\n`{name}` = "value"\n' + + ("/END\n" if strict else "") + ) + + with pytest.raises(YiniParseError): + loads(text, strict=strict) + + def test_rejects_plain_key_starting_with_digit() -> None: text = """ ^ Keys diff --git a/tests/test_load.py b/tests/test_load.py index 81b74ac..b062ee8 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -4,6 +4,7 @@ import pytest from yini_parser.api.load import load, loads +from yini_parser.api.errors import YiniParseError from yini_parser.api.warnings import YiniParseWarning @@ -125,6 +126,31 @@ def test_load_accepts_file_without_final_newline(tmp_path) -> None: assert result == {"App": {"name": "demo"}} +@pytest.mark.parametrize("ending", ["\r\n", "\r"]) +def test_load_preserves_string_line_endings(tmp_path, ending: str) -> None: + path = tmp_path / "line-endings.yini" + source = ending.join(["^ App", 'text = """one', 'two"""', ""]) + path.write_bytes(source.encode("utf-8")) + + result = load(path) + + assert result["App"]["text"] == f"one{ending}two" + + +def test_strict_mode_rejects_mixed_line_endings() -> None: + source = "@yini strict\r\n^ App\nvalue = true\r\n/END\r\n" + + with pytest.raises(YiniParseError, match="Mixed line endings"): + loads(source, strict=True) + + +def test_strict_mode_rejects_shebang_with_leading_whitespace() -> None: + source = " #!/usr/bin/env yini\n^ App\nvalue = true\n/END\n" + + with pytest.raises(YiniParseError, match="shebang must start at column 1"): + loads(source, strict=True) + + def test_loads_accepts_utf8_bom_in_lenient_mode_with_warning() -> None: source = '\ufeff@yini\n\n^ Encoding\nname = "utf8-bom"\naccepted = true\n' diff --git a/tests/test_sections.py b/tests/test_sections.py index fc79c1f..8a8c807 100644 --- a/tests/test_sections.py +++ b/tests/test_sections.py @@ -129,6 +129,32 @@ def test_backticked_section_names_decode_escaped_backslashes(strict: bool) -> No assert result == {"path\\name": {"value": "section"}} +@pytest.mark.parametrize("strict", [False, True]) +def test_backticked_section_names_decode_escaped_backticks(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + '^ `section\\`name`\nvalue = "section"\n' + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result == {"section`name": {"value": "section"}} + + +@pytest.mark.parametrize("strict", [False, True]) +def test_section_header_ignores_block_comments(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + "^ Root /* note */\n^^/* note */Child\nvalue = 2\n" + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result == {"Root": {"Child": {"value": 2}}} + + def test_parses_numeric_section_level_shorthand() -> None: text = """ ^ Root diff --git a/tests/test_string_concatenation.py b/tests/test_string_concatenation.py index 4ffdc17..e2e31c2 100644 --- a/tests/test_string_concatenation.py +++ b/tests/test_string_concatenation.py @@ -78,6 +78,23 @@ def test_lenient_concatenation_converts_scalar_tail_operands_canonically() -> No assert result["App"]["plusNumber"] == "n-100" +def test_lenient_concatenation_preserves_normalized_decimal_spelling() -> None: + text = ( + '^ App\nvalue = "n:" + 1_000 + "," + 1.50 + "," + 3E+04 + "," + -0' + ' + "," + 1e3 + "," + 0xFF\n' + ) + + result = loads(text) + + assert result["App"]["value"] == "n:1000,1.50,3e04,-0,1e3,255" + + +def test_lenient_concatenation_preserves_nondecimal_negative_zero() -> None: + result = loads('^ App\nvalue = "n:" + -0x0\n') + + assert result["App"]["value"] == "n:-0" + + # --------- # Test strict string concatenation. # --------- diff --git a/tests/test_values.py b/tests/test_values.py index 7caaeb7..5acfd71 100644 --- a/tests/test_values.py +++ b/tests/test_values.py @@ -108,6 +108,38 @@ def test_parses_classic_octal_escape() -> None: } +@pytest.mark.parametrize("strict", [False, True]) +def test_escaped_prefixes_and_escapes(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + "^ App\nupper = E\"a\\nb\"\nlower = e'\\x41\\o7\\?\\/\\`\\0'\n" + + 'legacy = c"a\\nb"\ntriple = e"""one\\ntwo"""\n' + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result["App"] == { + "upper": "a\nb", + "lower": "A\x07?/`\0", + "legacy": "a\nb", + "triple": "one\ntwo", + } + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("escape", [r"\z", r"\x1", r"\uD800", r"\U00110000", r"\o400"]) +def test_rejects_invalid_escaped_string_escape(strict: bool, escape: str) -> None: + text = ( + ("@yini\n" if strict else "") + + f'^ App\nbad = E"{escape}"\n' + + ("/END\n" if strict else "") + ) + + with pytest.raises(YiniParseError): + loads(text, strict=strict) + + def test_rejects_invalid_classic_octal_escape() -> None: text = r""" ^ App @@ -118,8 +150,21 @@ def test_rejects_invalid_classic_octal_escape() -> None: loads(text) +@pytest.mark.parametrize("strict", [False, True]) +def test_preserves_literal_tabs_in_single_line_strings(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + '^ App\nraw = "alpha\tbeta"\nescaped = E"one\ttwo"\n' + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result["App"] == {"raw": "alpha\tbeta", "escaped": "one\ttwo"} + + def test_rejects_literal_control_character_in_string() -> None: - text = '^ App\nbad = "alpha\tbeta"\n' + text = '^ App\nbad = "alpha\x01beta"\n' with pytest.raises(YiniParseError): loads(text) @@ -255,3 +300,41 @@ def test_parses_base_notation_numbers_with_digit_separators() -> None: "duodecimalValue": 1 * 12 * 12 + 10 * 12 + 11, }, } + + +@pytest.mark.parametrize("strict", [False, True]) +def test_accepts_signed_64_bit_integer_boundaries(strict: bool) -> None: + text = ( + ("@yini\n" if strict else "") + + "^ App\nmax = 9223372036854775807\nmin = -9223372036854775808\n" + + ("/END\n" if strict else "") + ) + + result = loads(text, strict=strict) + + assert result["App"] == { + "max": 9223372036854775807, + "min": -9223372036854775808, + } + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize( + "number", + [ + "9223372036854775808", + "-9223372036854775809", + "0x8000000000000000", + "1e400", + "1e-400", + ], +) +def test_rejects_number_outside_supported_range(strict: bool, number: str) -> None: + text = ( + ("@yini\n" if strict else "") + + f"^ App\nvalue = {number}\n" + + ("/END\n" if strict else "") + ) + + with pytest.raises(YiniParseError): + loads(text, strict=strict) From 10c6448ca3558c59bd8d91579b494c9385490df1 Mon Sep 17 00:00:00 2001 From: "Marko K. S." Date: Sat, 14 Nov 2026 20:57:45 +0100 Subject: [PATCH 2/4] Updated order of utm params --- README.md | 22 +++++++++++++++------- pyproject.toml | 4 ++-- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 09b23db..2f529c6 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ The official Python parser for **YINI** (by the YINI-lang project) — a human-r ## Project links -- [YINI homepage](https://yini-lang.org?utm_source=github&utm_medium=referral&utm_campaign=yini_parser_python&utm_content=readme_project_links) -- [YINI specification](https://yini-lang.org/refs/specification?utm_source=github&utm_medium=referral&utm_campaign=yini_parser_python&utm_content=readme_project_links) +- [YINI homepage](https://yini-lang.org?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme_project_links&utm_medium=referral) +- [YINI specification](https://yini-lang.org/refs/specification?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme_project_links&utm_medium=referral) - [GitHub repository](https://github.com/YINI-lang/yini-parser-python) - [Bug reports and issues](https://github.com/YINI-lang/yini-parser-python/issues) @@ -108,9 +108,16 @@ By default, both functions use lenient parsing. To validate a strict document, pass `strict=True`; strict documents require one top-level section and a final `/END`. +An explicit `@yini strict` or `@yini lenient` declaration must match the parser's +active mode. Duplicate sections under the same parent are errors in both modes. +In lenient mode, empty member values become `None` with a warning, and duplicate +keys keep the first value with a warning. Mixed source line endings and misplaced +shebang-like comments also produce warnings in lenient mode and errors in strict +mode. The `@include` directive is reserved and is rejected in both modes. + Inside backticked keys and section names, write `\\` for one literal backslash. -See the [YINI specification and documentation](https://yini-lang.org/refs/specification?utm_source=github&utm_medium=referral&utm_campaign=yini_parser_python&utm_content=readme). +See the [YINI specification and documentation](https://yini-lang.org/refs/specification?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme&utm_medium=referral). --- @@ -143,7 +150,7 @@ What they show: - `examples/example2.py` reads `examples/nested.yini` and shows nested sections as nested Python dictionaries. - `examples/example3.py` reads `examples/application.yini`, validates required fields, and prints a small configuration report. -More YINI syntax examples are available on the [YINI examples page](https://yini-lang.org/learn-yini/examples/?utm_source=yini-parser-python&utm_medium=github&utm_campaign=repo-link&utm_content=readme). +More YINI syntax examples are available on the [YINI examples page](https://yini-lang.org/learn-yini/examples/?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme&utm_medium=referral). Runnable example projects are available in the [YINI demo apps repository](https://github.com/YINI-lang/yini-demo-apps/tree/main/python): @@ -186,6 +193,7 @@ mode = 'optional' - Strings can use either `'` or `"`. - `E`/`e` strings interpret escapes; `C`/`c` remain valid aliases. - `command"""` starts a multiline literal that removes structural indentation and preserves line breaks. +- Source line endings in triple-quoted and command strings become LF (`\n`) in both modes. Characters produced by escape sequences retain their exact values. ### JSON ```json @@ -348,8 +356,8 @@ strict modes against a pinned release of `yini-test-suite`. ## Links -- [YINI specification](https://yini-lang.org/refs/specification?utm_source=github&utm_medium=referral&utm_campaign=yini_parser_python&utm_content=readme) -- [YINI homepage](https://yini-lang.org?utm_source=github&utm_medium=referral&utm_campaign=yini_parser_python&utm_content=readme) +- [YINI specification](https://yini-lang.org/refs/specification?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme&utm_medium=referral) +- [YINI homepage](https://yini-lang.org?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme&utm_medium=referral) - [YINI-lang on GitHub](https://github.com/YINI-lang) - [yini-parser on PyPI](https://pypi.org/project/yini-parser/) @@ -361,4 +369,4 @@ strict modes against a pinned release of `yini-test-suite`. > > It has a formal specification and a defined grammar. -[yini-lang.org](https://yini-lang.org/?utm_source=github&utm_campaign=yini_parser_python&utm_medium=referral&utm_content=readme_footer) · [YINI-lang on GitHub](https://github.com/YINI-lang) +[yini-lang.org](https://yini-lang.org/?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme_footer&utm_medium=referral) · [YINI-lang on GitHub](https://github.com/YINI-lang) diff --git a/pyproject.toml b/pyproject.toml index 72931a9..2f0e328 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,9 +47,9 @@ dev = [ ] [project.urls] -Homepage = "https://yini-lang.org?utm_campaign=yini_parser_python&utm_content=pyproject" +Homepage = "https://yini-lang.org?utm_source=pypi&utm_campaign=yini_parser_python&utm_content=pyproject&utm_medium=referral" Repository = "https://github.com/YINI-lang/yini-parser-python" -Specification = "https://yini-lang.org/refs/specification?utm_campaign=yini_parser_python&utm_content=pyproject" +Specification = "https://yini-lang.org/refs/specification?utm_source=pypi&utm_campaign=yini_parser_python&utm_content=pyproject&utm_medium=referral" Issues = "https://github.com/YINI-lang/yini-parser-python/issues" [build-system] From 2407b48d708fb55bdd23520ea743a1e8abb3f201 Mon Sep 17 00:00:00 2001 From: "Marko K. S." Date: Sat, 14 Nov 2026 21:53:29 +0100 Subject: [PATCH 3/4] Add support for YINI Specification 1.0.0 RC.6x features Implement parser updates to align with RC.6x, including support for inline object keys named "hex", strict validation for duplicate sections, and warnings for deprecated binary literals and misplaced shebangs. --- CHANGELOG.md | 5 + README.md | 11 +- grammar/v1.0.0-rc.6x/YiniLexer.g4 | 31 +- grammar/v1.0.0-rc.6x/YiniParser.g4 | 13 +- src/yini_parser/api/load.py | 112 ++- src/yini_parser/core/contextual_lexer.py | 46 + src/yini_parser/core/section_headers.py | 11 +- src/yini_parser/core/validator.py | 30 +- src/yini_parser/core/value_decoders.py | 22 +- src/yini_parser/core/yini_builder_visitor.py | 101 ++- .../grammar/generated/YiniLexer.interp | 7 +- .../grammar/generated/YiniLexer.py | 795 +++++++++--------- .../grammar/generated/YiniLexer.tokens | 38 +- .../grammar/generated/YiniParser.interp | 4 +- .../grammar/generated/YiniParser.py | 559 ++++++------ .../grammar/generated/YiniParser.tokens | 38 +- .../9-app-preferences.smoke.warning.json | 5 + tests/test_command_strings.py | 4 +- tests/test_comments.py | 84 +- tests/test_conflicts.py | 53 +- tests/test_fixtures_against_json.py | 18 +- tests/test_inline_objects.py | 43 + tests/test_lenient_mode.py | 6 +- tests/test_load.py | 48 +- tests/test_parser_mode.py | 46 +- tests/test_sections.py | 27 + tests/test_string_concatenation.py | 43 + tests/test_values.py | 58 +- 28 files changed, 1376 insertions(+), 882 deletions(-) create mode 100644 src/yini_parser/core/contextual_lexer.py create mode 100644 tests/fixtures/smoke-fixtures/9-app-preferences.smoke.warning.json diff --git a/CHANGELOG.md b/CHANGELOG.md index dac079e..08310fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ ## [Upcoming/Unreleased] +- Implement parser updates to align with YINI Spec RC6x: + * **Fixed:** Inline object keys named `hex` now accept values without whitespace after `:`, including nested objects, while hexadecimal value literals retain their numeric meaning. + * **Fixed:** `@yini lenient` now emits a mode-mismatch warning in strict mode and continues strict validation instead of rejecting the declaration. + * **Added:** Deprecated `%` binary literals now emit a warning recommending `0b` in both parsing modes, including lenient string concatenation. + ## 1.0.0 release candidate 1 - 2026 October - **Changed:** Updated the package version to `1.0.0rc1` for release-candidate testing against YINI Specification 1.0.0 RC.6. - **Added:** Support for `command"""` multiline strings, including structural indentation removal and preservation of content line endings. Command strings are parsed as text and are not executed. diff --git a/README.md b/README.md index 2f529c6..9f4744f 100644 --- a/README.md +++ b/README.md @@ -108,13 +108,20 @@ By default, both functions use lenient parsing. To validate a strict document, pass `strict=True`; strict documents require one top-level section and a final `/END`. -An explicit `@yini strict` or `@yini lenient` declaration must match the parser's -active mode. Duplicate sections under the same parent are errors in both modes. +An explicit `@yini strict` declaration is rejected in lenient mode. An +`@yini lenient` declaration produces a warning in strict mode, and all strict +validation rules still apply. Duplicate sections under the same parent are +errors in both modes. In lenient mode, empty member values become `None` with a warning, and duplicate keys keep the first value with a warning. Mixed source line endings and misplaced shebang-like comments also produce warnings in lenient mode and errors in strict mode. The `@include` directive is reserved and is rejected in both modes. +The deprecated `%` binary prefix remains valid in both modes and produces a +warning recommending `0b` instead. Inline object keys named `hex` work without +whitespace after the separator: `{ hex:10 }` means `{"hex": 10}`, while +`{ value: hex:10 }` means `{"value": 16}`. + Inside backticked keys and section names, write `\\` for one literal backslash. See the [YINI specification and documentation](https://yini-lang.org/refs/specification?utm_source=github&utm_campaign=yini_parser_python&utm_content=readme&utm_medium=referral). diff --git a/grammar/v1.0.0-rc.6x/YiniLexer.g4 b/grammar/v1.0.0-rc.6x/YiniLexer.g4 index ab54f2f..2c418cf 100644 --- a/grammar/v1.0.0-rc.6x/YiniLexer.g4 +++ b/grammar/v1.0.0-rc.6x/YiniLexer.g4 @@ -10,8 +10,8 @@ /* This LEXER grammar aims to follow, as closely as possible (*), the latest released version of the YINI format specification 1.0.0. - Version: - 1.4.0-RC.1 - 2026 Nov (v1.0.0-rc.6x YINI Spec Package). + Grammar version: + 1.4.0-RC.1 - 2026 Nov (v1.0.0-rc.6x Spec). *) NOTE: Some rules are intentionally more permissive than the specification requires. This relaxation allows the host parser to detect syntax errors @@ -205,7 +205,7 @@ fragment SECTION_MARKER_INVALID fragment REST_CHAR // : ~([@ \t\r\n'"`=,0123456789/-] | '[' | ']' | '{' | '}' | ':') // :~([@#> \t\r\n'"`=,0123456789/-] | '[' | ']' | '{' | '}' | ':') - : ~([@#^§>< \t\r\n'"`=,0123456789/-] | '[' | ']' | '{' | '}' | ':') + : ~([@#^§>< \t\r\n'"`=,+0123456789/-] | '[' | ']' | '{' | '}' | ':') ; /* ------------------------------------------------------------------ @@ -239,10 +239,12 @@ SECTION_HEAD // : SECTION_MARKER HSPACE* SECTION_NAME_PART HSPACE* EOL+ // Repeated/basic section headers do not require whitespace before the name. : SECTION_MARKER_SHORTHAND HSPACE+ (HSPACE | SECTION_SINGLE_LINE_BLOCK_COMMENT)* SECTION_NAME_PART - (HSPACE | SECTION_BLOCK_COMMENT)* (EOL+ | SECTION_TAIL_COMMENT* EOF) + (HSPACE | SECTION_SINGLE_LINE_BLOCK_COMMENT)* + (EOL+ | SECTION_TAIL_COMMENT* EOF | SECTION_MULTILINE_BLOCK_COMMENT) | SECTION_MARKER_BASIC_REPEAT (HSPACE | SECTION_SINGLE_LINE_BLOCK_COMMENT)* SECTION_NAME_PART - (HSPACE | SECTION_BLOCK_COMMENT)* (EOL+ | SECTION_TAIL_COMMENT* EOF) + (HSPACE | SECTION_SINGLE_LINE_BLOCK_COMMENT)* + (EOL+ | SECTION_TAIL_COMMENT* EOF | SECTION_MULTILINE_BLOCK_COMMENT) ; INVALID_SECTION_HEAD @@ -355,10 +357,12 @@ fragment COMMAND_LINE_BREAK ; // NOTE: This NUMBER rule must come before KEY, IDENT, etc. +// Leading signs are separate tokens so '+' can also separate concatenation operands. +// Exponent signs remain part of the NUMBER token. NUMBER - : SIGN? INTEGER FRACTION? EXPONENT? - | SIGN? FRACTION EXPONENT? - | SIGN? (BIN_INTEGER | OCT_INTEGER | DUO_INTEGER | HEX_INTEGER) + : INTEGER FRACTION? EXPONENT? + | FRACTION EXPONENT? + | BIN_INTEGER | OCT_INTEGER | DUO_INTEGER | HEX_INTEGER ; /* ------------------------------------------------------------------ @@ -379,6 +383,7 @@ CB: ']'; // Closing Bracket. OC: '{'; // Opening Curly Brace. CC: '}'; // Closing Curly Brace. PLUS: '+'; +MINUS: '-'; DOLLAR: '$'; // ASTERIX: '*'; PC: '%'; // PerCent sign. @@ -404,11 +409,15 @@ fragment SECTION_TAIL_COMMENT // A section name must begin on the same line as its marker. fragment SECTION_SINGLE_LINE_BLOCK_COMMENT - : '/*' ~[\r\n]*? '*/' + : '/*' ( ~[*\r\n] | '*'+ ~[*/\r\n] )* '*'+ '/' ; -fragment SECTION_BLOCK_COMMENT - : '/*' .*? '*/' +// A newline in a trailing block comment ends the logical section header. +// Consume the closing delimiter before lexing content on the following line. +// The prefix must reach a newline without crossing an earlier closing delimiter. +fragment SECTION_MULTILINE_BLOCK_COMMENT + : '/*' ( ~[*\r\n] | '*'+ ~[*/\r\n] )* '*'* ('\r' '\n'? | '\n') + .*? '*/' ; WS diff --git a/grammar/v1.0.0-rc.6x/YiniParser.g4 b/grammar/v1.0.0-rc.6x/YiniParser.g4 index 1ca34f5..fe8618a 100644 --- a/grammar/v1.0.0-rc.6x/YiniParser.g4 +++ b/grammar/v1.0.0-rc.6x/YiniParser.g4 @@ -10,8 +10,8 @@ /* This PARSER grammar aims to follow, as closely as possible (*), the latest released version of the YINI format specification 1.0.0. - Version: - 1.4.0-RC.1 - 2026 Nov (v1.0.0-rc.6x YINI Spec Package). + Grammar version: + 1.4.0-RC.1 - 2026 Nov (v1.0.0-rc.6x Spec). *) NOTE: Some rules are intentionally more permissive than the specification requires. This relaxation allows the host parser to detect syntax errors @@ -205,7 +205,7 @@ scalar_value * Strict-vs-lenient validation: * - Strict mode: every concat operand MUST be STRING. * - Lenient mode: the first operand MUST be STRING. - * Later operands MAY be STRING, NUMBER, BOOLEAN, or NULL. + * Later operands may be strings, signed numbers, booleans, or null. */ // This accepts: // @@ -236,7 +236,7 @@ concat_tail concat_operand : STRING - | NUMBER + | number_literal | BOOLEAN_TRUE | BOOLEAN_FALSE | NULL @@ -313,8 +313,11 @@ multiline_trivia * Terminals forwarded from the lexer * ------------------------------------------------------------------ */ +// Host validation must check that a leading sign immediately precedes NUMBER. +// The sign and number together form the literal used for numeric validation +// and source-spelling normalization. number_literal - : NUMBER + : (PLUS | MINUS)? NUMBER ; null_literal diff --git a/src/yini_parser/api/load.py b/src/yini_parser/api/load.py index 89e8ac2..23e2539 100644 --- a/src/yini_parser/api/load.py +++ b/src/yini_parser/api/load.py @@ -6,12 +6,13 @@ import re import warnings -from antlr4 import CommonTokenStream, InputStream, Token +from antlr4 import CommonTokenStream, InputStream from antlr4.error.ErrorListener import ErrorListener from yini_parser.api.errors import YiniParseError from yini_parser.api.warnings import YiniParseWarning +from ..core.contextual_lexer import ContextualYiniLexer from ..core.yini_builder_visitor import YiniBuilderVisitor from ..grammar.generated.YiniLexer import YiniLexer from ..grammar.generated.YiniParser import YiniParser @@ -47,13 +48,13 @@ def load(path: str | Path, strict: bool = False) -> dict[str, Any]: def _parse_input_stream(input_stream: InputStream, strict: bool) -> dict[str, Any]: - lexer = YiniLexer(input_stream) + lexer = ContextualYiniLexer(input_stream) lexer_errors = _SyntaxErrorCollector() lexer.removeErrorListeners() lexer.addErrorListener(lexer_errors) stream = CommonTokenStream(lexer) - _normalize_shebang_comment_tokens(stream) + _normalize_shebang_comment_tokens(stream, strict=strict) _validate_command_closing_lines(stream, input_stream) parser = YiniParser(stream) @@ -92,30 +93,31 @@ def _ensure_final_newline(text: str) -> str: def _validate_document_text(text: str, *, strict: bool) -> None: - if not strict: - return - - if re.match(r"[ \t]+#!", text): - raise YiniParseError( - "A shebang must start at column 1; leading whitespace is invalid in strict mode.", - line=1, - column=1, - ) - first_ending = None for line_number, ending in enumerate(re.finditer(r"\r\n|\r|\n", text), start=1): if first_ending is None: first_ending = ending.group() elif ending.group() != first_ending: - raise YiniParseError( - "Mixed line endings are not allowed in strict mode.", - line=line_number, - column=ending.start() - - max( - text.rfind("\r", 0, ending.start()), - text.rfind("\n", 0, ending.start()), + column = ending.start() - max( + text.rfind("\r", 0, ending.start()), + text.rfind("\n", 0, ending.start()), + ) + if strict: + raise YiniParseError( + "Mixed line endings are not allowed in strict mode.", + line=line_number, + column=column, + ) + warnings.warn( + YiniParseWarning( + "Mixed line endings are accepted in lenient mode.", + line=line_number, + column=column, + code="mixed-line-endings", ), + stacklevel=2, ) + return def _normalize_leading_bom(text: str, *, strict: bool) -> str: @@ -153,31 +155,55 @@ def syntaxError( # noqa: N802 self.errors.append((line, column + 1, msg)) -def _normalize_shebang_comment_tokens(stream: CommonTokenStream) -> None: - """ - Keep a leading shebang available to the prolog rule, but treat later - shebang-looking lines as ordinary ignored line content. - """ - +def _normalize_shebang_comment_tokens( + stream: CommonTokenStream, *, strict: bool +) -> None: + """Validate shebang placement and treat misplaced sequences as comments.""" stream.fill() - - seen_meaningful_token = False - + source = stream.tokenSource.inputStream.strdata + comment_pattern = re.compile( + r"`(?:\\.|[^`\\])*`|/\*.*?\*/|//[^\r\n]*|#[^\r\n]*", re.DOTALL + ) + previous_end = 0 + misplaced_position = None + + # Inspect skipped trivia and section tails without inspecting string contents. for token in stream.tokens: - if token.type == Token.EOF: - continue - - if token.type == YiniLexer.NL: - continue - - if token.type == YiniLexer.SHEBANG: - if seen_meaningful_token: - token.type = YiniLexer.NL - else: - seen_meaningful_token = True - continue - - seen_meaningful_token = True + regions = [(previous_end, source[previous_end : token.start])] + if token.type in {YiniLexer.SHEBANG, YiniLexer.SECTION_HEAD}: + regions.append((token.start, token.text)) + for start, region in regions: + for match in comment_pattern.finditer(region): + position = start + match.start() + if ( + match.group().startswith("#!") + and position != 0 + and misplaced_position is None + ): + misplaced_position = position + if token.type == YiniLexer.SHEBANG and token.start != 0: + token.type = YiniLexer.NL + previous_end = token.stop + 1 + + if misplaced_position is not None: + preceding = source[:misplaced_position] + line = len(re.findall(r"\r\n|\r|\n", preceding)) + 1 + column = misplaced_position - max(preceding.rfind("\r"), preceding.rfind("\n")) + if strict: + raise YiniParseError( + "A shebang must start at column 1 of the first line; misplaced-shebang is invalid in strict mode.", + line=line, + column=column, + ) + warnings.warn( + YiniParseWarning( + "A misplaced shebang-like sequence is treated as a comment.", + line=line, + column=column, + code="misplaced-shebang", + ), + stacklevel=2, + ) stream.seek(0) diff --git a/src/yini_parser/core/contextual_lexer.py b/src/yini_parser/core/contextual_lexer.py new file mode 100644 index 0000000..e309e76 --- /dev/null +++ b/src/yini_parser/core/contextual_lexer.py @@ -0,0 +1,46 @@ +from antlr4 import InputStream +from antlr4.Token import Token + +from ..grammar.generated.YiniLexer import YiniLexer + + +class ContextualYiniLexer(YiniLexer): + """Distinguish inline keys named hex from hexadecimal value literals.""" + + def __init__(self, input_stream: InputStream) -> None: + super().__init__(input_stream) + self._delimiters: list[int] = [] + self._previous_token_type: int | None = None + + def nextToken(self) -> Token: # noqa: N802 + token = super().nextToken() + + if ( + token.type == self.NUMBER + and token.text[:4].lower() == "hex:" + and self._delimiters + and self._delimiters[-1] == self.OC + and self._previous_token_type in {self.OC, self.COMMA} + ): + # Emit only the key, then let the lexer read the separator and value. + # Relexing the value preserves decimal fractions and exponent signs. + self.inputStream.seek(token.start + 3) + self.column = token.column + 3 + self._hitEOF = False + token.type = self.KEY + token.stop = token.start + 2 + + if token.type in {self.OC, self.OB}: + self._delimiters.append(token.type) + elif token.type in {self.CC, self.CB} and self._delimiters: + self._delimiters.pop() + + if token.type not in { + self.NL, + self.DISABLED_LINE, + self.FULL_LINE_COMMENT, + self.SHEBANG, + }: + self._previous_token_type = token.type + + return token diff --git a/src/yini_parser/core/section_headers.py b/src/yini_parser/core/section_headers.py index 8f657e7..edda4ae 100644 --- a/src/yini_parser/core/section_headers.py +++ b/src/yini_parser/core/section_headers.py @@ -31,10 +31,10 @@ def parse_section_head( marker = text[0] - if marker not in {"^", "<", "§"}: + if marker not in {"^", "<", ">", "§"}: raise YiniParseError( f"Invalid section header: {marker!r} is not a valid section marker. " - "Use one of: '^', '<', or '§'.", + "Use one of: '^', '<', '>', or '§'.", line=line, column=column, ) @@ -88,6 +88,13 @@ def parse_section_head( name = text[i:].strip() + if level > 255: + raise YiniParseError( + "The maximum supported section depth is 255 levels.", + line=line, + column=column, + ) + if not name: raise YiniParseError( f"Missing section name after section marker {marker!r}.", diff --git a/src/yini_parser/core/validator.py b/src/yini_parser/core/validator.py index 0697c5e..608ce61 100644 --- a/src/yini_parser/core/validator.py +++ b/src/yini_parser/core/validator.py @@ -13,8 +13,8 @@ class YiniValidator: """ Handles validation policy for strict and lenient parsing. - Duplicate keys and sections warn in lenient mode and fail in strict mode. - Member/section name collisions fail in both modes. + Duplicate keys warn in lenient mode and fail in strict mode. + Duplicate sections and member/section name collisions fail in both modes. """ def __init__(self, strict: bool = False) -> None: @@ -58,32 +58,14 @@ def handle_duplicate_section( *, line: int | None = None, column: int | None = None, - ) -> bool: - """ - Handles duplicate sections. - - Returns: - True -> caller may reuse/merge the existing section - False -> caller should ignore the new section block - """ - message = f"Duplicate section {name!r} ignored. The first section is kept." - - if self.strict: - raise YiniParseError( - f"Duplicate section {name!r} is not allowed in strict mode.", - line=line, - column=column, - ) - - self._warn( - message, + ) -> NoReturn: + """Reject duplicate sections in both parsing modes.""" + raise YiniParseError( + f"Duplicate section {name!r} is not allowed.", line=line, column=column, - code="duplicate-section", ) - return False - def handle_key_section_collision( self, name: str, diff --git a/src/yini_parser/core/value_decoders.py b/src/yini_parser/core/value_decoders.py index cacfa06..6bfcb75 100644 --- a/src/yini_parser/core/value_decoders.py +++ b/src/yini_parser/core/value_decoders.py @@ -1,9 +1,11 @@ # src/yini_parser/core/value_decoders.py import re import math +import warnings from typing import NoReturn from ..api.errors import YiniParseError +from ..api.warnings import YiniParseWarning """ - Parsers reads raw/source text and recognizes its structure as tokens. @@ -53,7 +55,7 @@ def decode_string_token( # Triple-quoted string. if text.startswith('"""') and text.endswith('"""') and len(text) >= 6: - inner = text[3:-3] + inner = text[3:-3].replace("\r\n", "\n").replace("\r", "\n") if prefix in {"C", "c", "E", "e"}: return _decode_classic_string( @@ -140,7 +142,6 @@ def _decode_command_string( parts = re.split(r"(\r\n|\r|\n)", content) lines = parts[::2] - content_breaks = parts[1::2] first_nonempty_index = next( (index for index, part in enumerate(lines) if part.strip(" ")), None ) @@ -171,10 +172,7 @@ def _decode_command_string( ) decoded_lines.append(part[min(leading_spaces, indentation) :]) - return "".join( - part + (content_breaks[index] if index < len(content_breaks) else "") - for index, part in enumerate(decoded_lines) - ) + return "\n".join(decoded_lines) def normalize_number_literal( @@ -232,9 +230,19 @@ def parse_number_literal(text, line=None, column=None): ) if lowered.startswith("%"): - return _check_integer_range( + value = _check_integer_range( sign * int(body[1:].replace("_", ""), 2), text, line, column ) + warnings.warn( + YiniParseWarning( + "The '%' binary prefix is deprecated. Use '0b' instead.", + line=line, + column=column, + code="deprecated-binary-prefix", + ), + stacklevel=2, + ) + return value if lowered.startswith("0o"): return _check_integer_range( diff --git a/src/yini_parser/core/yini_builder_visitor.py b/src/yini_parser/core/yini_builder_visitor.py index 4e04233..6ab2593 100644 --- a/src/yini_parser/core/yini_builder_visitor.py +++ b/src/yini_parser/core/yini_builder_visitor.py @@ -43,8 +43,9 @@ class YiniBuilderVisitor(YiniParserVisitor): - Numbers become int or float. Conflict behavior: - - lenient mode: first definition wins, later conflicting definitions warn - - strict mode: conflicting definitions raise YiniParseError + - Lenient mode keeps the first duplicate key and warns. + - Strict mode rejects duplicate keys. + - Both modes reject duplicate sections and key/section collisions. """ def __init__(self, strict: bool = False) -> None: @@ -53,7 +54,6 @@ def __init__(self, strict: bool = False) -> None: self._root: dict[str, Any] = {} self._section_stack: list[dict[str, Any]] = [] self._section_names: list[str] = [] - self._ignored_section_level: int | None = None self._top_level_section_count = 0 self._seen_content = False self._validator = YiniValidator(strict=strict) @@ -104,13 +104,6 @@ def visit_stmt(self, ctx: YiniParser.StmtContext) -> Any: column=column, ) - # If we are inside an ignored duplicate/conflicting section block, - # skip deeper nested sections too. Resume only at same or shallower level. - if self._ignored_section_level is not None: - if level > self._ignored_section_level: - return None - self._ignored_section_level = None - if self._strict and level == 1: self._top_level_section_count += 1 if self._top_level_section_count > 1: @@ -128,10 +121,6 @@ def visit_stmt(self, ctx: YiniParser.StmtContext) -> Any: ) return None - # Skip assignments while inside an ignored duplicate/conflicting section block. - if self._ignored_section_level is not None: - return None - meta_ctx = ctx.meta_stmt() if meta_ctx is not None: return self.visit(meta_ctx) @@ -156,7 +145,7 @@ def visit_meta_stmt(self, ctx: YiniParser.Meta_stmtContext) -> None: Handles metadata-level statements. A meta statement can be: - - A valid directive, such as `@yini`, `@yini strict`, or `@include`. + - A valid directive, such as `@yini` or `@yini strict`. - A valid annotation, currently recognized but ignored. - Invalid metadata text, which must raise a parse error. """ @@ -180,9 +169,13 @@ def visit_directive(self, ctx: YiniParser.DirectiveContext) -> None: if yini_directive_ctx is not None: return self.visit(yini_directive_ctx) - # @include is reserved/recognized but has no runtime behavior yet. if ctx.INCLUDE_TOKEN() is not None: - return None + line, column = ctx_location(ctx) + raise YiniParseError( + "The @include directive is reserved for future use.", + line=line, + column=column, + ) return None @@ -230,9 +223,8 @@ def visit_yini_mode_declaration( "This document declares '@yini lenient', but the parser is running in strict mode.", line=line, column=column, - code="YINI_MODE_MISMATCH", + code="mode-mismatch", ) - return None return None @@ -312,18 +304,27 @@ def visit_assignment(self, ctx: YiniParser.AssignmentContext) -> None: def visit_member(self, ctx: YiniParser.MemberContext) -> tuple[str, Any]: key = self._decode_key_token(ctx.identifier().getChild(0), description="key") + equals = ctx.EQ().getSymbol() + self._require_same_line(ctx.identifier().stop, equals, "A member key and '='") value_ctx = ctx.value() if value_ctx is None: + line, column = ctx_location(ctx) if self._strict: - line, column = ctx_location(ctx) raise YiniParseError( "Strict mode does not allow empty member values. Use 'null' explicitly.", line=line, column=column, ) + self._add_warning( + "An empty value is treated as null in lenient mode. Use 'null' explicitly.", + line=line, + column=column, + code="empty-value", + ) return key, None + self._require_same_line(equals, value_ctx.start, "A member value and '='") value = self.visit(value_ctx) return key, value @@ -392,8 +393,15 @@ def visit_concat_expression(self, ctx: YiniParser.Concat_expressionContext) -> s ) ) + previous_token = first_token.getSymbol() for tail_ctx in ctx.concat_tail(): + self._require_same_line( + previous_token, + tail_ctx.PLUS().getSymbol(), + "A concatenation operator and the preceding operand", + ) operands.append(self.visit(tail_ctx)) + previous_token = tail_ctx.stop if self._strict: for operand in operands: @@ -428,10 +436,11 @@ def visit_concat_operand(self, ctx: YiniParser.Concat_operandContext) -> str: column=column, ) - number_token = ctx.NUMBER() - if number_token is not None: + number_ctx = ctx.number_literal() + if number_ctx is not None: + self._validate_number_sign(number_ctx) return normalize_number_literal( - number_token.getText(), line=line, column=column + number_ctx.getText(), line=line, column=column ) true_token = ctx.BOOLEAN_TRUE() @@ -471,6 +480,7 @@ def visit_number_literal( self, ctx: YiniParser.Number_literalContext ) -> int | float: line, column = ctx_location(ctx) + self._validate_number_sign(ctx) return parse_number_literal( ctx.getText().strip(), line=line, @@ -555,9 +565,19 @@ def visit_object_member( key = self._decode_key_token( ctx.identifier().getChild(0), description="inline object key" ) + separator_ctx = ctx.object_member_separator() + self._require_same_line( + ctx.identifier().stop, + separator_ctx.start, + "An inline object key and its separator", + ) + self._require_same_line( + separator_ctx.stop, + ctx.value().start, + "An inline object value and its separator", + ) value = self.visit(ctx.value()) - separator_ctx = ctx.object_member_separator() separator = ( separator_ctx.getText().strip() if separator_ctx is not None else ":" ) @@ -604,6 +624,26 @@ def visit_object_member( # Helpers # ------------------------------------------------------------ + def _require_same_line(self, left: Any, right: Any, description: str) -> None: + """Keep logical line boundaries inside skipped block comments.""" + source = left.getInputStream().strdata + between = source[left.stop + 1 : right.start] + if "\r" in between or "\n" in between: + raise YiniParseError( + f"{description} must appear on the same logical line.", + line=right.line, + column=right.column + 1, + ) + + def _validate_number_sign(self, ctx: YiniParser.Number_literalContext) -> None: + number = ctx.NUMBER().getSymbol() + if ctx.start is not number and ctx.start.stop + 1 != number.start: + raise YiniParseError( + "A numeric sign must immediately precede the number.", + line=ctx.start.line, + column=ctx.start.column + 1, + ) + def _current_container(self) -> dict[str, Any]: if self._section_stack: return self._section_stack[-1] @@ -664,20 +704,13 @@ def _enter_section_with_parsed( self._section_names.append(name) return - # Duplicate section name: first definition wins. + # Duplicate section names are invalid in both modes. if isinstance(existing, dict): - if not self._validator.handle_duplicate_section( + self._validator.handle_duplicate_section( name, line=line, column=column, - ): - self._ignored_section_level = level - return - - # If validator policy ever changes to allow this. - self._section_stack.append(existing) - self._section_names.append(name) - return + ) # Existing scalar/other value, incoming section -> collision. if parent is self._root: diff --git a/src/yini_parser/grammar/generated/YiniLexer.interp b/src/yini_parser/grammar/generated/YiniLexer.interp index 2c4a196..cef0679 100644 --- a/src/yini_parser/grammar/generated/YiniLexer.interp +++ b/src/yini_parser/grammar/generated/YiniLexer.interp @@ -26,6 +26,7 @@ null '{' '}' '+' +'-' '$' '%' '@' @@ -69,6 +70,7 @@ CB OC CC PLUS +MINUS DOLLAR PC AT @@ -156,6 +158,7 @@ CB OC CC PLUS +MINUS DOLLAR PC AT @@ -164,7 +167,7 @@ EOL NL SECTION_TAIL_COMMENT SECTION_SINGLE_LINE_BLOCK_COMMENT -SECTION_BLOCK_COMMENT +SECTION_MULTILINE_BLOCK_COMMENT WS BLOCK_COMMENT DISABLE_LINE_MARKER @@ -184,4 +187,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 40, 970, 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, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 3, 8, 202, 8, 8, 1, 9, 1, 9, 3, 9, 206, 8, 9, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 212, 8, 11, 1, 11, 5, 11, 215, 8, 11, 10, 11, 12, 11, 218, 9, 11, 1, 12, 3, 12, 221, 8, 12, 1, 12, 1, 12, 3, 12, 225, 8, 12, 1, 12, 5, 12, 228, 8, 12, 10, 12, 12, 12, 231, 9, 12, 1, 13, 3, 13, 234, 8, 13, 1, 13, 1, 13, 3, 13, 238, 8, 13, 1, 13, 5, 13, 241, 8, 13, 10, 13, 12, 13, 244, 9, 13, 1, 14, 3, 14, 247, 8, 14, 1, 14, 1, 14, 3, 14, 251, 8, 14, 1, 14, 5, 14, 254, 8, 14, 10, 14, 12, 14, 257, 9, 14, 1, 15, 3, 15, 260, 8, 15, 1, 15, 1, 15, 3, 15, 264, 8, 15, 1, 15, 5, 15, 267, 8, 15, 10, 15, 12, 15, 270, 9, 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, 18, 1, 18, 1, 18, 3, 18, 291, 8, 18, 1, 18, 5, 18, 294, 8, 18, 10, 18, 12, 18, 297, 9, 18, 3, 18, 299, 8, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 308, 8, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 317, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 335, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 340, 8, 26, 10, 26, 12, 26, 343, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 349, 8, 27, 10, 27, 12, 27, 352, 9, 27, 1, 27, 1, 27, 1, 28, 1, 28, 3, 28, 358, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 364, 8, 29, 1, 30, 1, 30, 3, 30, 368, 8, 30, 1, 30, 5, 30, 371, 8, 30, 10, 30, 12, 30, 374, 9, 30, 1, 31, 1, 31, 3, 31, 378, 8, 31, 1, 31, 5, 31, 381, 8, 31, 10, 31, 12, 31, 384, 9, 31, 1, 32, 1, 32, 3, 32, 388, 8, 32, 1, 32, 5, 32, 391, 8, 32, 10, 32, 12, 32, 394, 9, 32, 1, 33, 1, 33, 3, 33, 398, 8, 33, 1, 33, 5, 33, 401, 8, 33, 10, 33, 12, 33, 404, 9, 33, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 410, 8, 34, 1, 34, 1, 34, 5, 34, 414, 8, 34, 10, 34, 12, 34, 417, 9, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 4, 35, 424, 8, 35, 11, 35, 12, 35, 425, 1, 35, 5, 35, 429, 8, 35, 10, 35, 12, 35, 432, 9, 35, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 440, 8, 37, 10, 37, 12, 37, 443, 9, 37, 1, 37, 1, 37, 3, 37, 447, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 4, 42, 483, 8, 42, 11, 42, 12, 42, 484, 1, 42, 1, 42, 5, 42, 489, 8, 42, 10, 42, 12, 42, 492, 9, 42, 1, 42, 1, 42, 1, 42, 5, 42, 497, 8, 42, 10, 42, 12, 42, 500, 9, 42, 1, 42, 4, 42, 503, 8, 42, 11, 42, 12, 42, 504, 1, 42, 5, 42, 508, 8, 42, 10, 42, 12, 42, 511, 9, 42, 1, 42, 3, 42, 514, 8, 42, 1, 42, 1, 42, 1, 42, 5, 42, 519, 8, 42, 10, 42, 12, 42, 522, 9, 42, 1, 42, 1, 42, 1, 42, 5, 42, 527, 8, 42, 10, 42, 12, 42, 530, 9, 42, 1, 42, 4, 42, 533, 8, 42, 11, 42, 12, 42, 534, 1, 42, 5, 42, 538, 8, 42, 10, 42, 12, 42, 541, 9, 42, 1, 42, 3, 42, 544, 8, 42, 3, 42, 546, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 552, 8, 43, 1, 43, 5, 43, 555, 8, 43, 10, 43, 12, 43, 558, 9, 43, 1, 43, 4, 43, 561, 8, 43, 11, 43, 12, 43, 562, 1, 43, 3, 43, 566, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 578, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 589, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 609, 8, 49, 1, 50, 3, 50, 612, 8, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 619, 8, 50, 10, 50, 12, 50, 622, 9, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 636, 8, 51, 10, 51, 12, 51, 639, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 653, 8, 52, 10, 52, 12, 52, 656, 9, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 3, 53, 663, 8, 53, 1, 53, 1, 53, 5, 53, 667, 8, 53, 10, 53, 12, 53, 670, 9, 53, 1, 53, 1, 53, 3, 53, 674, 8, 53, 1, 53, 1, 53, 5, 53, 678, 8, 53, 10, 53, 12, 53, 681, 9, 53, 1, 53, 3, 53, 684, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 691, 8, 54, 10, 54, 12, 54, 694, 9, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 702, 8, 54, 10, 54, 12, 54, 705, 9, 54, 1, 54, 3, 54, 708, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 715, 8, 55, 10, 55, 12, 55, 718, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 726, 8, 55, 10, 55, 12, 55, 729, 9, 55, 1, 55, 3, 55, 732, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 748, 8, 56, 10, 56, 12, 56, 751, 9, 56, 1, 56, 5, 56, 754, 8, 56, 10, 56, 12, 56, 757, 9, 56, 1, 56, 5, 56, 760, 8, 56, 10, 56, 12, 56, 763, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 3, 57, 771, 8, 57, 1, 57, 3, 57, 774, 8, 57, 1, 58, 3, 58, 777, 8, 58, 1, 58, 1, 58, 3, 58, 781, 8, 58, 1, 58, 3, 58, 784, 8, 58, 1, 58, 3, 58, 787, 8, 58, 1, 58, 1, 58, 3, 58, 791, 8, 58, 1, 58, 3, 58, 794, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 800, 8, 58, 3, 58, 802, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 5, 75, 837, 8, 75, 10, 75, 12, 75, 840, 9, 75, 1, 75, 1, 75, 1, 76, 1, 76, 3, 76, 846, 8, 76, 1, 76, 4, 76, 849, 8, 76, 11, 76, 12, 76, 850, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 857, 8, 77, 10, 77, 12, 77, 860, 9, 77, 1, 77, 1, 77, 5, 77, 864, 8, 77, 10, 77, 12, 77, 867, 9, 77, 3, 77, 869, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 875, 8, 78, 10, 78, 12, 78, 878, 9, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 5, 79, 887, 8, 79, 10, 79, 12, 79, 890, 9, 79, 1, 79, 1, 79, 1, 79, 1, 80, 4, 80, 896, 8, 80, 11, 80, 12, 80, 897, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 906, 8, 81, 10, 81, 12, 81, 909, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 5, 83, 921, 8, 83, 10, 83, 12, 83, 924, 9, 83, 1, 83, 3, 83, 927, 8, 83, 1, 84, 1, 84, 5, 84, 931, 8, 84, 10, 84, 12, 84, 934, 9, 84, 1, 85, 1, 85, 1, 85, 3, 85, 939, 8, 85, 1, 85, 5, 85, 942, 8, 85, 10, 85, 12, 85, 945, 9, 85, 1, 85, 1, 85, 1, 86, 1, 86, 3, 86, 951, 8, 86, 1, 87, 1, 87, 5, 87, 955, 8, 87, 10, 87, 12, 87, 958, 9, 87, 1, 88, 4, 88, 961, 8, 88, 11, 88, 12, 88, 962, 1, 89, 1, 89, 4, 89, 967, 8, 89, 11, 89, 12, 89, 968, 7, 620, 637, 654, 755, 876, 888, 907, 0, 90, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 0, 15, 0, 17, 0, 19, 0, 21, 0, 23, 0, 25, 0, 27, 0, 29, 0, 31, 0, 33, 0, 35, 0, 37, 0, 39, 0, 41, 0, 43, 0, 45, 0, 47, 0, 49, 0, 51, 0, 53, 0, 55, 0, 57, 0, 59, 0, 61, 0, 63, 0, 65, 0, 67, 0, 69, 0, 71, 0, 73, 0, 75, 1, 77, 2, 79, 3, 81, 4, 83, 5, 85, 6, 87, 7, 89, 8, 91, 9, 93, 10, 95, 11, 97, 12, 99, 13, 101, 0, 103, 0, 105, 0, 107, 0, 109, 0, 111, 0, 113, 0, 115, 0, 117, 14, 119, 15, 121, 16, 123, 17, 125, 18, 127, 19, 129, 20, 131, 21, 133, 22, 135, 23, 137, 24, 139, 25, 141, 26, 143, 27, 145, 28, 147, 29, 149, 30, 151, 0, 153, 31, 155, 0, 157, 0, 159, 0, 161, 32, 163, 33, 165, 0, 167, 34, 169, 35, 171, 36, 173, 37, 175, 38, 177, 39, 179, 40, 1, 0, 37, 2, 0, 9, 9, 32, 32, 1, 0, 48, 57, 2, 0, 43, 43, 45, 45, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 1, 0, 48, 55, 6, 0, 65, 66, 69, 69, 88, 88, 97, 98, 101, 101, 120, 120, 2, 0, 65, 70, 97, 102, 1, 0, 49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 66, 66, 98, 98, 2, 0, 79, 79, 111, 111, 2, 0, 90, 90, 122, 122, 2, 0, 88, 88, 120, 120, 2, 0, 72, 72, 104, 104, 2, 0, 92, 92, 96, 96, 4, 0, 0, 31, 92, 92, 96, 96, 127, 159, 15, 0, 9, 10, 13, 13, 32, 32, 34, 35, 39, 39, 44, 45, 47, 58, 60, 62, 64, 64, 91, 91, 93, 94, 96, 96, 123, 123, 125, 125, 167, 167, 2, 0, 10, 10, 13, 13, 2, 0, 89, 89, 121, 121, 2, 0, 73, 73, 105, 105, 2, 0, 78, 78, 110, 110, 2, 0, 67, 67, 99, 99, 2, 0, 76, 76, 108, 108, 2, 0, 85, 85, 117, 117, 2, 0, 68, 68, 100, 100, 2, 0, 80, 80, 112, 112, 2, 0, 82, 82, 114, 114, 2, 0, 65, 65, 97, 97, 2, 0, 84, 84, 116, 116, 2, 0, 70, 70, 102, 102, 2, 0, 83, 83, 115, 115, 3, 0, 10, 10, 13, 13, 39, 39, 3, 0, 10, 10, 13, 13, 34, 34, 4, 0, 10, 10, 13, 13, 39, 39, 92, 92, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 1, 0, 32, 32, 1058, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 1, 181, 1, 0, 0, 0, 3, 185, 1, 0, 0, 0, 5, 187, 1, 0, 0, 0, 7, 189, 1, 0, 0, 0, 9, 191, 1, 0, 0, 0, 11, 193, 1, 0, 0, 0, 13, 195, 1, 0, 0, 0, 15, 197, 1, 0, 0, 0, 17, 201, 1, 0, 0, 0, 19, 205, 1, 0, 0, 0, 21, 207, 1, 0, 0, 0, 23, 209, 1, 0, 0, 0, 25, 220, 1, 0, 0, 0, 27, 233, 1, 0, 0, 0, 29, 246, 1, 0, 0, 0, 31, 259, 1, 0, 0, 0, 33, 271, 1, 0, 0, 0, 35, 277, 1, 0, 0, 0, 37, 298, 1, 0, 0, 0, 39, 300, 1, 0, 0, 0, 41, 302, 1, 0, 0, 0, 43, 305, 1, 0, 0, 0, 45, 316, 1, 0, 0, 0, 47, 318, 1, 0, 0, 0, 49, 322, 1, 0, 0, 0, 51, 334, 1, 0, 0, 0, 53, 336, 1, 0, 0, 0, 55, 344, 1, 0, 0, 0, 57, 357, 1, 0, 0, 0, 59, 363, 1, 0, 0, 0, 61, 365, 1, 0, 0, 0, 63, 375, 1, 0, 0, 0, 65, 385, 1, 0, 0, 0, 67, 395, 1, 0, 0, 0, 69, 409, 1, 0, 0, 0, 71, 423, 1, 0, 0, 0, 73, 433, 1, 0, 0, 0, 75, 435, 1, 0, 0, 0, 77, 448, 1, 0, 0, 0, 79, 454, 1, 0, 0, 0, 81, 463, 1, 0, 0, 0, 83, 475, 1, 0, 0, 0, 85, 545, 1, 0, 0, 0, 87, 551, 1, 0, 0, 0, 89, 577, 1, 0, 0, 0, 91, 588, 1, 0, 0, 0, 93, 590, 1, 0, 0, 0, 95, 595, 1, 0, 0, 0, 97, 598, 1, 0, 0, 0, 99, 608, 1, 0, 0, 0, 101, 611, 1, 0, 0, 0, 103, 627, 1, 0, 0, 0, 105, 644, 1, 0, 0, 0, 107, 683, 1, 0, 0, 0, 109, 707, 1, 0, 0, 0, 111, 731, 1, 0, 0, 0, 113, 733, 1, 0, 0, 0, 115, 773, 1, 0, 0, 0, 117, 801, 1, 0, 0, 0, 119, 803, 1, 0, 0, 0, 121, 805, 1, 0, 0, 0, 123, 807, 1, 0, 0, 0, 125, 809, 1, 0, 0, 0, 127, 811, 1, 0, 0, 0, 129, 813, 1, 0, 0, 0, 131, 815, 1, 0, 0, 0, 133, 817, 1, 0, 0, 0, 135, 819, 1, 0, 0, 0, 137, 821, 1, 0, 0, 0, 139, 823, 1, 0, 0, 0, 141, 825, 1, 0, 0, 0, 143, 827, 1, 0, 0, 0, 145, 829, 1, 0, 0, 0, 147, 831, 1, 0, 0, 0, 149, 833, 1, 0, 0, 0, 151, 838, 1, 0, 0, 0, 153, 848, 1, 0, 0, 0, 155, 868, 1, 0, 0, 0, 157, 870, 1, 0, 0, 0, 159, 882, 1, 0, 0, 0, 161, 895, 1, 0, 0, 0, 163, 901, 1, 0, 0, 0, 165, 915, 1, 0, 0, 0, 167, 918, 1, 0, 0, 0, 169, 928, 1, 0, 0, 0, 171, 938, 1, 0, 0, 0, 173, 950, 1, 0, 0, 0, 175, 952, 1, 0, 0, 0, 177, 960, 1, 0, 0, 0, 179, 964, 1, 0, 0, 0, 181, 182, 2, 48, 49, 0, 182, 183, 2, 48, 49, 0, 183, 184, 2, 48, 49, 0, 184, 2, 1, 0, 0, 0, 185, 186, 7, 0, 0, 0, 186, 4, 1, 0, 0, 0, 187, 188, 7, 1, 0, 0, 188, 6, 1, 0, 0, 0, 189, 190, 7, 2, 0, 0, 190, 8, 1, 0, 0, 0, 191, 192, 7, 3, 0, 0, 192, 10, 1, 0, 0, 0, 193, 194, 7, 4, 0, 0, 194, 12, 1, 0, 0, 0, 195, 196, 2, 48, 49, 0, 196, 14, 1, 0, 0, 0, 197, 198, 7, 5, 0, 0, 198, 16, 1, 0, 0, 0, 199, 202, 3, 5, 2, 0, 200, 202, 7, 6, 0, 0, 201, 199, 1, 0, 0, 0, 201, 200, 1, 0, 0, 0, 202, 18, 1, 0, 0, 0, 203, 206, 3, 5, 2, 0, 204, 206, 7, 7, 0, 0, 205, 203, 1, 0, 0, 0, 205, 204, 1, 0, 0, 0, 206, 20, 1, 0, 0, 0, 207, 208, 5, 95, 0, 0, 208, 22, 1, 0, 0, 0, 209, 216, 3, 5, 2, 0, 210, 212, 3, 21, 10, 0, 211, 210, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 215, 3, 5, 2, 0, 214, 211, 1, 0, 0, 0, 215, 218, 1, 0, 0, 0, 216, 214, 1, 0, 0, 0, 216, 217, 1, 0, 0, 0, 217, 24, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 219, 221, 3, 21, 10, 0, 220, 219, 1, 0, 0, 0, 220, 221, 1, 0, 0, 0, 221, 222, 1, 0, 0, 0, 222, 229, 3, 13, 6, 0, 223, 225, 3, 21, 10, 0, 224, 223, 1, 0, 0, 0, 224, 225, 1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 228, 3, 13, 6, 0, 227, 224, 1, 0, 0, 0, 228, 231, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 230, 1, 0, 0, 0, 230, 26, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 232, 234, 3, 21, 10, 0, 233, 232, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 242, 3, 15, 7, 0, 236, 238, 3, 21, 10, 0, 237, 236, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 239, 1, 0, 0, 0, 239, 241, 3, 15, 7, 0, 240, 237, 1, 0, 0, 0, 241, 244, 1, 0, 0, 0, 242, 240, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 28, 1, 0, 0, 0, 244, 242, 1, 0, 0, 0, 245, 247, 3, 21, 10, 0, 246, 245, 1, 0, 0, 0, 246, 247, 1, 0, 0, 0, 247, 248, 1, 0, 0, 0, 248, 255, 3, 17, 8, 0, 249, 251, 3, 21, 10, 0, 250, 249, 1, 0, 0, 0, 250, 251, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 254, 3, 17, 8, 0, 253, 250, 1, 0, 0, 0, 254, 257, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 255, 256, 1, 0, 0, 0, 256, 30, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 258, 260, 3, 21, 10, 0, 259, 258, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 268, 3, 19, 9, 0, 262, 264, 3, 21, 10, 0, 263, 262, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 267, 3, 19, 9, 0, 266, 263, 1, 0, 0, 0, 267, 270, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 32, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 271, 272, 5, 117, 0, 0, 272, 273, 3, 19, 9, 0, 273, 274, 3, 19, 9, 0, 274, 275, 3, 19, 9, 0, 275, 276, 3, 19, 9, 0, 276, 34, 1, 0, 0, 0, 277, 278, 5, 85, 0, 0, 278, 279, 3, 19, 9, 0, 279, 280, 3, 19, 9, 0, 280, 281, 3, 19, 9, 0, 281, 282, 3, 19, 9, 0, 282, 283, 3, 19, 9, 0, 283, 284, 3, 19, 9, 0, 284, 285, 3, 19, 9, 0, 285, 286, 3, 19, 9, 0, 286, 36, 1, 0, 0, 0, 287, 299, 5, 48, 0, 0, 288, 295, 7, 8, 0, 0, 289, 291, 3, 21, 10, 0, 290, 289, 1, 0, 0, 0, 290, 291, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 294, 3, 5, 2, 0, 293, 290, 1, 0, 0, 0, 294, 297, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 298, 287, 1, 0, 0, 0, 298, 288, 1, 0, 0, 0, 299, 38, 1, 0, 0, 0, 300, 301, 3, 37, 18, 0, 301, 40, 1, 0, 0, 0, 302, 303, 5, 46, 0, 0, 303, 304, 3, 23, 11, 0, 304, 42, 1, 0, 0, 0, 305, 307, 7, 9, 0, 0, 306, 308, 3, 7, 3, 0, 307, 306, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 310, 3, 23, 11, 0, 310, 44, 1, 0, 0, 0, 311, 312, 5, 48, 0, 0, 312, 313, 7, 10, 0, 0, 313, 317, 3, 25, 12, 0, 314, 315, 5, 37, 0, 0, 315, 317, 3, 25, 12, 0, 316, 311, 1, 0, 0, 0, 316, 314, 1, 0, 0, 0, 317, 46, 1, 0, 0, 0, 318, 319, 5, 48, 0, 0, 319, 320, 7, 11, 0, 0, 320, 321, 3, 27, 13, 0, 321, 48, 1, 0, 0, 0, 322, 323, 5, 48, 0, 0, 323, 324, 7, 12, 0, 0, 324, 325, 3, 29, 14, 0, 325, 50, 1, 0, 0, 0, 326, 327, 5, 48, 0, 0, 327, 328, 7, 13, 0, 0, 328, 335, 3, 31, 15, 0, 329, 330, 7, 14, 0, 0, 330, 331, 7, 9, 0, 0, 331, 332, 7, 13, 0, 0, 332, 333, 5, 58, 0, 0, 333, 335, 3, 31, 15, 0, 334, 326, 1, 0, 0, 0, 334, 329, 1, 0, 0, 0, 335, 52, 1, 0, 0, 0, 336, 341, 3, 9, 4, 0, 337, 340, 3, 11, 5, 0, 338, 340, 5, 46, 0, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 343, 1, 0, 0, 0, 341, 339, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 54, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 344, 350, 5, 96, 0, 0, 345, 346, 5, 92, 0, 0, 346, 349, 7, 15, 0, 0, 347, 349, 8, 16, 0, 0, 348, 345, 1, 0, 0, 0, 348, 347, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 353, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 353, 354, 5, 96, 0, 0, 354, 56, 1, 0, 0, 0, 355, 358, 3, 53, 26, 0, 356, 358, 3, 55, 27, 0, 357, 355, 1, 0, 0, 0, 357, 356, 1, 0, 0, 0, 358, 58, 1, 0, 0, 0, 359, 364, 3, 61, 30, 0, 360, 364, 3, 63, 31, 0, 361, 364, 3, 65, 32, 0, 362, 364, 3, 67, 33, 0, 363, 359, 1, 0, 0, 0, 363, 360, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 362, 1, 0, 0, 0, 364, 60, 1, 0, 0, 0, 365, 372, 3, 119, 59, 0, 366, 368, 3, 21, 10, 0, 367, 366, 1, 0, 0, 0, 367, 368, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 371, 3, 119, 59, 0, 370, 367, 1, 0, 0, 0, 371, 374, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 62, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 375, 382, 3, 121, 60, 0, 376, 378, 3, 21, 10, 0, 377, 376, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 381, 3, 121, 60, 0, 380, 377, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 64, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 385, 392, 3, 123, 61, 0, 386, 388, 3, 21, 10, 0, 387, 386, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 391, 3, 123, 61, 0, 390, 387, 1, 0, 0, 0, 391, 394, 1, 0, 0, 0, 392, 390, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 66, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 395, 402, 3, 125, 62, 0, 396, 398, 3, 21, 10, 0, 397, 396, 1, 0, 0, 0, 397, 398, 1, 0, 0, 0, 398, 399, 1, 0, 0, 0, 399, 401, 3, 125, 62, 0, 400, 397, 1, 0, 0, 0, 401, 404, 1, 0, 0, 0, 402, 400, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 68, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 405, 410, 3, 119, 59, 0, 406, 410, 3, 121, 60, 0, 407, 410, 3, 123, 61, 0, 408, 410, 3, 125, 62, 0, 409, 405, 1, 0, 0, 0, 409, 406, 1, 0, 0, 0, 409, 407, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 415, 7, 8, 0, 0, 412, 414, 3, 5, 2, 0, 413, 412, 1, 0, 0, 0, 414, 417, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 70, 1, 0, 0, 0, 417, 415, 1, 0, 0, 0, 418, 424, 3, 119, 59, 0, 419, 424, 3, 121, 60, 0, 420, 424, 3, 123, 61, 0, 421, 424, 3, 125, 62, 0, 422, 424, 3, 21, 10, 0, 423, 418, 1, 0, 0, 0, 423, 419, 1, 0, 0, 0, 423, 420, 1, 0, 0, 0, 423, 421, 1, 0, 0, 0, 423, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 423, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 430, 1, 0, 0, 0, 427, 429, 3, 5, 2, 0, 428, 427, 1, 0, 0, 0, 429, 432, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 72, 1, 0, 0, 0, 432, 430, 1, 0, 0, 0, 433, 434, 8, 17, 0, 0, 434, 74, 1, 0, 0, 0, 435, 436, 5, 35, 0, 0, 436, 437, 5, 33, 0, 0, 437, 441, 1, 0, 0, 0, 438, 440, 8, 18, 0, 0, 439, 438, 1, 0, 0, 0, 440, 443, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 446, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 444, 447, 3, 151, 75, 0, 445, 447, 5, 0, 0, 1, 446, 444, 1, 0, 0, 0, 446, 445, 1, 0, 0, 0, 447, 76, 1, 0, 0, 0, 448, 449, 5, 64, 0, 0, 449, 450, 7, 19, 0, 0, 450, 451, 7, 20, 0, 0, 451, 452, 7, 21, 0, 0, 452, 453, 7, 20, 0, 0, 453, 78, 1, 0, 0, 0, 454, 455, 5, 64, 0, 0, 455, 456, 7, 20, 0, 0, 456, 457, 7, 21, 0, 0, 457, 458, 7, 22, 0, 0, 458, 459, 7, 23, 0, 0, 459, 460, 7, 24, 0, 0, 460, 461, 7, 25, 0, 0, 461, 462, 7, 9, 0, 0, 462, 80, 1, 0, 0, 0, 463, 464, 5, 64, 0, 0, 464, 465, 7, 25, 0, 0, 465, 466, 7, 9, 0, 0, 466, 467, 7, 26, 0, 0, 467, 468, 7, 27, 0, 0, 468, 469, 7, 9, 0, 0, 469, 470, 7, 22, 0, 0, 470, 471, 7, 28, 0, 0, 471, 472, 7, 29, 0, 0, 472, 473, 7, 9, 0, 0, 473, 474, 7, 25, 0, 0, 474, 82, 1, 0, 0, 0, 475, 476, 5, 47, 0, 0, 476, 477, 7, 9, 0, 0, 477, 478, 7, 21, 0, 0, 478, 479, 7, 25, 0, 0, 479, 84, 1, 0, 0, 0, 480, 482, 3, 69, 34, 0, 481, 483, 3, 3, 1, 0, 482, 481, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 482, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 490, 1, 0, 0, 0, 486, 489, 3, 3, 1, 0, 487, 489, 3, 157, 78, 0, 488, 486, 1, 0, 0, 0, 488, 487, 1, 0, 0, 0, 489, 492, 1, 0, 0, 0, 490, 488, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 493, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 493, 498, 3, 57, 28, 0, 494, 497, 3, 3, 1, 0, 495, 497, 3, 159, 79, 0, 496, 494, 1, 0, 0, 0, 496, 495, 1, 0, 0, 0, 497, 500, 1, 0, 0, 0, 498, 496, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 513, 1, 0, 0, 0, 500, 498, 1, 0, 0, 0, 501, 503, 3, 151, 75, 0, 502, 501, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 502, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 514, 1, 0, 0, 0, 506, 508, 3, 155, 77, 0, 507, 506, 1, 0, 0, 0, 508, 511, 1, 0, 0, 0, 509, 507, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 512, 1, 0, 0, 0, 511, 509, 1, 0, 0, 0, 512, 514, 5, 0, 0, 1, 513, 502, 1, 0, 0, 0, 513, 509, 1, 0, 0, 0, 514, 546, 1, 0, 0, 0, 515, 520, 3, 59, 29, 0, 516, 519, 3, 3, 1, 0, 517, 519, 3, 157, 78, 0, 518, 516, 1, 0, 0, 0, 518, 517, 1, 0, 0, 0, 519, 522, 1, 0, 0, 0, 520, 518, 1, 0, 0, 0, 520, 521, 1, 0, 0, 0, 521, 523, 1, 0, 0, 0, 522, 520, 1, 0, 0, 0, 523, 528, 3, 57, 28, 0, 524, 527, 3, 3, 1, 0, 525, 527, 3, 159, 79, 0, 526, 524, 1, 0, 0, 0, 526, 525, 1, 0, 0, 0, 527, 530, 1, 0, 0, 0, 528, 526, 1, 0, 0, 0, 528, 529, 1, 0, 0, 0, 529, 543, 1, 0, 0, 0, 530, 528, 1, 0, 0, 0, 531, 533, 3, 151, 75, 0, 532, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 532, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 544, 1, 0, 0, 0, 536, 538, 3, 155, 77, 0, 537, 536, 1, 0, 0, 0, 538, 541, 1, 0, 0, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 542, 1, 0, 0, 0, 541, 539, 1, 0, 0, 0, 542, 544, 5, 0, 0, 1, 543, 532, 1, 0, 0, 0, 543, 539, 1, 0, 0, 0, 544, 546, 1, 0, 0, 0, 545, 480, 1, 0, 0, 0, 545, 515, 1, 0, 0, 0, 546, 86, 1, 0, 0, 0, 547, 552, 3, 119, 59, 0, 548, 552, 3, 121, 60, 0, 549, 552, 3, 123, 61, 0, 550, 552, 3, 125, 62, 0, 551, 547, 1, 0, 0, 0, 551, 548, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 551, 550, 1, 0, 0, 0, 552, 556, 1, 0, 0, 0, 553, 555, 8, 18, 0, 0, 554, 553, 1, 0, 0, 0, 555, 558, 1, 0, 0, 0, 556, 554, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 565, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 559, 561, 3, 151, 75, 0, 560, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 566, 1, 0, 0, 0, 564, 566, 5, 0, 0, 1, 565, 560, 1, 0, 0, 0, 565, 564, 1, 0, 0, 0, 566, 88, 1, 0, 0, 0, 567, 568, 7, 30, 0, 0, 568, 569, 7, 28, 0, 0, 569, 570, 7, 23, 0, 0, 570, 571, 7, 31, 0, 0, 571, 578, 7, 9, 0, 0, 572, 573, 7, 11, 0, 0, 573, 574, 7, 30, 0, 0, 574, 578, 7, 30, 0, 0, 575, 576, 7, 21, 0, 0, 576, 578, 7, 11, 0, 0, 577, 567, 1, 0, 0, 0, 577, 572, 1, 0, 0, 0, 577, 575, 1, 0, 0, 0, 578, 90, 1, 0, 0, 0, 579, 580, 7, 29, 0, 0, 580, 581, 7, 27, 0, 0, 581, 582, 7, 24, 0, 0, 582, 589, 7, 9, 0, 0, 583, 584, 7, 11, 0, 0, 584, 589, 7, 21, 0, 0, 585, 586, 7, 19, 0, 0, 586, 587, 7, 9, 0, 0, 587, 589, 7, 31, 0, 0, 588, 579, 1, 0, 0, 0, 588, 583, 1, 0, 0, 0, 588, 585, 1, 0, 0, 0, 589, 92, 1, 0, 0, 0, 590, 591, 7, 21, 0, 0, 591, 592, 7, 24, 0, 0, 592, 593, 7, 23, 0, 0, 593, 594, 7, 23, 0, 0, 594, 94, 1, 0, 0, 0, 595, 596, 5, 123, 0, 0, 596, 597, 5, 125, 0, 0, 597, 96, 1, 0, 0, 0, 598, 599, 5, 91, 0, 0, 599, 600, 5, 93, 0, 0, 600, 98, 1, 0, 0, 0, 601, 609, 3, 103, 51, 0, 602, 609, 3, 105, 52, 0, 603, 609, 3, 101, 50, 0, 604, 609, 3, 109, 54, 0, 605, 609, 3, 111, 55, 0, 606, 609, 3, 107, 53, 0, 607, 609, 3, 113, 56, 0, 608, 601, 1, 0, 0, 0, 608, 602, 1, 0, 0, 0, 608, 603, 1, 0, 0, 0, 608, 604, 1, 0, 0, 0, 608, 605, 1, 0, 0, 0, 608, 606, 1, 0, 0, 0, 608, 607, 1, 0, 0, 0, 609, 100, 1, 0, 0, 0, 610, 612, 7, 27, 0, 0, 611, 610, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 5, 34, 0, 0, 614, 615, 5, 34, 0, 0, 615, 616, 5, 34, 0, 0, 616, 620, 1, 0, 0, 0, 617, 619, 9, 0, 0, 0, 618, 617, 1, 0, 0, 0, 619, 622, 1, 0, 0, 0, 620, 621, 1, 0, 0, 0, 620, 618, 1, 0, 0, 0, 621, 623, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 623, 624, 5, 34, 0, 0, 624, 625, 5, 34, 0, 0, 625, 626, 5, 34, 0, 0, 626, 102, 1, 0, 0, 0, 627, 628, 7, 22, 0, 0, 628, 629, 5, 34, 0, 0, 629, 630, 5, 34, 0, 0, 630, 631, 5, 34, 0, 0, 631, 637, 1, 0, 0, 0, 632, 633, 5, 92, 0, 0, 633, 636, 9, 0, 0, 0, 634, 636, 9, 0, 0, 0, 635, 632, 1, 0, 0, 0, 635, 634, 1, 0, 0, 0, 636, 639, 1, 0, 0, 0, 637, 638, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 640, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 640, 641, 5, 34, 0, 0, 641, 642, 5, 34, 0, 0, 642, 643, 5, 34, 0, 0, 643, 104, 1, 0, 0, 0, 644, 645, 7, 9, 0, 0, 645, 646, 5, 34, 0, 0, 646, 647, 5, 34, 0, 0, 647, 648, 5, 34, 0, 0, 648, 654, 1, 0, 0, 0, 649, 650, 5, 92, 0, 0, 650, 653, 9, 0, 0, 0, 651, 653, 9, 0, 0, 0, 652, 649, 1, 0, 0, 0, 652, 651, 1, 0, 0, 0, 653, 656, 1, 0, 0, 0, 654, 655, 1, 0, 0, 0, 654, 652, 1, 0, 0, 0, 655, 657, 1, 0, 0, 0, 656, 654, 1, 0, 0, 0, 657, 658, 5, 34, 0, 0, 658, 659, 5, 34, 0, 0, 659, 660, 5, 34, 0, 0, 660, 106, 1, 0, 0, 0, 661, 663, 7, 27, 0, 0, 662, 661, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 668, 5, 39, 0, 0, 665, 667, 8, 32, 0, 0, 666, 665, 1, 0, 0, 0, 667, 670, 1, 0, 0, 0, 668, 666, 1, 0, 0, 0, 668, 669, 1, 0, 0, 0, 669, 671, 1, 0, 0, 0, 670, 668, 1, 0, 0, 0, 671, 684, 5, 39, 0, 0, 672, 674, 7, 27, 0, 0, 673, 672, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 679, 5, 34, 0, 0, 676, 678, 8, 33, 0, 0, 677, 676, 1, 0, 0, 0, 678, 681, 1, 0, 0, 0, 679, 677, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 682, 1, 0, 0, 0, 681, 679, 1, 0, 0, 0, 682, 684, 5, 34, 0, 0, 683, 662, 1, 0, 0, 0, 683, 673, 1, 0, 0, 0, 684, 108, 1, 0, 0, 0, 685, 686, 7, 22, 0, 0, 686, 692, 5, 39, 0, 0, 687, 688, 5, 92, 0, 0, 688, 691, 8, 18, 0, 0, 689, 691, 8, 34, 0, 0, 690, 687, 1, 0, 0, 0, 690, 689, 1, 0, 0, 0, 691, 694, 1, 0, 0, 0, 692, 690, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 695, 1, 0, 0, 0, 694, 692, 1, 0, 0, 0, 695, 708, 5, 39, 0, 0, 696, 697, 7, 22, 0, 0, 697, 703, 5, 34, 0, 0, 698, 699, 5, 92, 0, 0, 699, 702, 8, 18, 0, 0, 700, 702, 8, 35, 0, 0, 701, 698, 1, 0, 0, 0, 701, 700, 1, 0, 0, 0, 702, 705, 1, 0, 0, 0, 703, 701, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 706, 1, 0, 0, 0, 705, 703, 1, 0, 0, 0, 706, 708, 5, 34, 0, 0, 707, 685, 1, 0, 0, 0, 707, 696, 1, 0, 0, 0, 708, 110, 1, 0, 0, 0, 709, 710, 7, 9, 0, 0, 710, 716, 5, 39, 0, 0, 711, 712, 5, 92, 0, 0, 712, 715, 8, 18, 0, 0, 713, 715, 8, 34, 0, 0, 714, 711, 1, 0, 0, 0, 714, 713, 1, 0, 0, 0, 715, 718, 1, 0, 0, 0, 716, 714, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 719, 1, 0, 0, 0, 718, 716, 1, 0, 0, 0, 719, 732, 5, 39, 0, 0, 720, 721, 7, 9, 0, 0, 721, 727, 5, 34, 0, 0, 722, 723, 5, 92, 0, 0, 723, 726, 8, 18, 0, 0, 724, 726, 8, 35, 0, 0, 725, 722, 1, 0, 0, 0, 725, 724, 1, 0, 0, 0, 726, 729, 1, 0, 0, 0, 727, 725, 1, 0, 0, 0, 727, 728, 1, 0, 0, 0, 728, 730, 1, 0, 0, 0, 729, 727, 1, 0, 0, 0, 730, 732, 5, 34, 0, 0, 731, 709, 1, 0, 0, 0, 731, 720, 1, 0, 0, 0, 732, 112, 1, 0, 0, 0, 733, 734, 5, 99, 0, 0, 734, 735, 5, 111, 0, 0, 735, 736, 5, 109, 0, 0, 736, 737, 5, 109, 0, 0, 737, 738, 5, 97, 0, 0, 738, 739, 5, 110, 0, 0, 739, 740, 5, 100, 0, 0, 740, 741, 1, 0, 0, 0, 741, 742, 5, 34, 0, 0, 742, 743, 5, 34, 0, 0, 743, 744, 5, 34, 0, 0, 744, 745, 1, 0, 0, 0, 745, 755, 3, 115, 57, 0, 746, 748, 8, 18, 0, 0, 747, 746, 1, 0, 0, 0, 748, 751, 1, 0, 0, 0, 749, 747, 1, 0, 0, 0, 749, 750, 1, 0, 0, 0, 750, 752, 1, 0, 0, 0, 751, 749, 1, 0, 0, 0, 752, 754, 3, 115, 57, 0, 753, 749, 1, 0, 0, 0, 754, 757, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 755, 753, 1, 0, 0, 0, 756, 761, 1, 0, 0, 0, 757, 755, 1, 0, 0, 0, 758, 760, 7, 36, 0, 0, 759, 758, 1, 0, 0, 0, 760, 763, 1, 0, 0, 0, 761, 759, 1, 0, 0, 0, 761, 762, 1, 0, 0, 0, 762, 764, 1, 0, 0, 0, 763, 761, 1, 0, 0, 0, 764, 765, 5, 34, 0, 0, 765, 766, 5, 34, 0, 0, 766, 767, 5, 34, 0, 0, 767, 114, 1, 0, 0, 0, 768, 770, 5, 13, 0, 0, 769, 771, 5, 10, 0, 0, 770, 769, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 774, 1, 0, 0, 0, 772, 774, 5, 10, 0, 0, 773, 768, 1, 0, 0, 0, 773, 772, 1, 0, 0, 0, 774, 116, 1, 0, 0, 0, 775, 777, 3, 7, 3, 0, 776, 775, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 780, 3, 39, 19, 0, 779, 781, 3, 41, 20, 0, 780, 779, 1, 0, 0, 0, 780, 781, 1, 0, 0, 0, 781, 783, 1, 0, 0, 0, 782, 784, 3, 43, 21, 0, 783, 782, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 802, 1, 0, 0, 0, 785, 787, 3, 7, 3, 0, 786, 785, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 790, 3, 41, 20, 0, 789, 791, 3, 43, 21, 0, 790, 789, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, 802, 1, 0, 0, 0, 792, 794, 3, 7, 3, 0, 793, 792, 1, 0, 0, 0, 793, 794, 1, 0, 0, 0, 794, 799, 1, 0, 0, 0, 795, 800, 3, 45, 22, 0, 796, 800, 3, 47, 23, 0, 797, 800, 3, 49, 24, 0, 798, 800, 3, 51, 25, 0, 799, 795, 1, 0, 0, 0, 799, 796, 1, 0, 0, 0, 799, 797, 1, 0, 0, 0, 799, 798, 1, 0, 0, 0, 800, 802, 1, 0, 0, 0, 801, 776, 1, 0, 0, 0, 801, 786, 1, 0, 0, 0, 801, 793, 1, 0, 0, 0, 802, 118, 1, 0, 0, 0, 803, 804, 5, 94, 0, 0, 804, 120, 1, 0, 0, 0, 805, 806, 5, 167, 0, 0, 806, 122, 1, 0, 0, 0, 807, 808, 5, 62, 0, 0, 808, 124, 1, 0, 0, 0, 809, 810, 5, 60, 0, 0, 810, 126, 1, 0, 0, 0, 811, 812, 5, 61, 0, 0, 812, 128, 1, 0, 0, 0, 813, 814, 5, 44, 0, 0, 814, 130, 1, 0, 0, 0, 815, 816, 5, 58, 0, 0, 816, 132, 1, 0, 0, 0, 817, 818, 5, 91, 0, 0, 818, 134, 1, 0, 0, 0, 819, 820, 5, 93, 0, 0, 820, 136, 1, 0, 0, 0, 821, 822, 5, 123, 0, 0, 822, 138, 1, 0, 0, 0, 823, 824, 5, 125, 0, 0, 824, 140, 1, 0, 0, 0, 825, 826, 5, 43, 0, 0, 826, 142, 1, 0, 0, 0, 827, 828, 5, 36, 0, 0, 828, 144, 1, 0, 0, 0, 829, 830, 5, 37, 0, 0, 830, 146, 1, 0, 0, 0, 831, 832, 5, 64, 0, 0, 832, 148, 1, 0, 0, 0, 833, 834, 5, 59, 0, 0, 834, 150, 1, 0, 0, 0, 835, 837, 3, 155, 77, 0, 836, 835, 1, 0, 0, 0, 837, 840, 1, 0, 0, 0, 838, 836, 1, 0, 0, 0, 838, 839, 1, 0, 0, 0, 839, 841, 1, 0, 0, 0, 840, 838, 1, 0, 0, 0, 841, 842, 3, 153, 76, 0, 842, 152, 1, 0, 0, 0, 843, 845, 5, 13, 0, 0, 844, 846, 5, 10, 0, 0, 845, 844, 1, 0, 0, 0, 845, 846, 1, 0, 0, 0, 846, 849, 1, 0, 0, 0, 847, 849, 5, 10, 0, 0, 848, 843, 1, 0, 0, 0, 848, 847, 1, 0, 0, 0, 849, 850, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 850, 851, 1, 0, 0, 0, 851, 154, 1, 0, 0, 0, 852, 853, 5, 47, 0, 0, 853, 854, 5, 47, 0, 0, 854, 858, 1, 0, 0, 0, 855, 857, 8, 18, 0, 0, 856, 855, 1, 0, 0, 0, 857, 860, 1, 0, 0, 0, 858, 856, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 869, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 861, 865, 5, 35, 0, 0, 862, 864, 8, 18, 0, 0, 863, 862, 1, 0, 0, 0, 864, 867, 1, 0, 0, 0, 865, 863, 1, 0, 0, 0, 865, 866, 1, 0, 0, 0, 866, 869, 1, 0, 0, 0, 867, 865, 1, 0, 0, 0, 868, 852, 1, 0, 0, 0, 868, 861, 1, 0, 0, 0, 869, 156, 1, 0, 0, 0, 870, 871, 5, 47, 0, 0, 871, 872, 5, 42, 0, 0, 872, 876, 1, 0, 0, 0, 873, 875, 8, 18, 0, 0, 874, 873, 1, 0, 0, 0, 875, 878, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 876, 874, 1, 0, 0, 0, 877, 879, 1, 0, 0, 0, 878, 876, 1, 0, 0, 0, 879, 880, 5, 42, 0, 0, 880, 881, 5, 47, 0, 0, 881, 158, 1, 0, 0, 0, 882, 883, 5, 47, 0, 0, 883, 884, 5, 42, 0, 0, 884, 888, 1, 0, 0, 0, 885, 887, 9, 0, 0, 0, 886, 885, 1, 0, 0, 0, 887, 890, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 888, 886, 1, 0, 0, 0, 889, 891, 1, 0, 0, 0, 890, 888, 1, 0, 0, 0, 891, 892, 5, 42, 0, 0, 892, 893, 5, 47, 0, 0, 893, 160, 1, 0, 0, 0, 894, 896, 3, 3, 1, 0, 895, 894, 1, 0, 0, 0, 896, 897, 1, 0, 0, 0, 897, 895, 1, 0, 0, 0, 897, 898, 1, 0, 0, 0, 898, 899, 1, 0, 0, 0, 899, 900, 6, 80, 0, 0, 900, 162, 1, 0, 0, 0, 901, 902, 5, 47, 0, 0, 902, 903, 5, 42, 0, 0, 903, 907, 1, 0, 0, 0, 904, 906, 9, 0, 0, 0, 905, 904, 1, 0, 0, 0, 906, 909, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 908, 910, 1, 0, 0, 0, 909, 907, 1, 0, 0, 0, 910, 911, 5, 42, 0, 0, 911, 912, 5, 47, 0, 0, 912, 913, 1, 0, 0, 0, 913, 914, 6, 81, 0, 0, 914, 164, 1, 0, 0, 0, 915, 916, 5, 45, 0, 0, 916, 917, 5, 45, 0, 0, 917, 166, 1, 0, 0, 0, 918, 922, 3, 165, 82, 0, 919, 921, 8, 18, 0, 0, 920, 919, 1, 0, 0, 0, 921, 924, 1, 0, 0, 0, 922, 920, 1, 0, 0, 0, 922, 923, 1, 0, 0, 0, 923, 926, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 925, 927, 3, 151, 75, 0, 926, 925, 1, 0, 0, 0, 926, 927, 1, 0, 0, 0, 927, 168, 1, 0, 0, 0, 928, 932, 5, 59, 0, 0, 929, 931, 8, 18, 0, 0, 930, 929, 1, 0, 0, 0, 931, 934, 1, 0, 0, 0, 932, 930, 1, 0, 0, 0, 932, 933, 1, 0, 0, 0, 933, 170, 1, 0, 0, 0, 934, 932, 1, 0, 0, 0, 935, 936, 5, 47, 0, 0, 936, 939, 5, 47, 0, 0, 937, 939, 5, 35, 0, 0, 938, 935, 1, 0, 0, 0, 938, 937, 1, 0, 0, 0, 939, 943, 1, 0, 0, 0, 940, 942, 8, 18, 0, 0, 941, 940, 1, 0, 0, 0, 942, 945, 1, 0, 0, 0, 943, 941, 1, 0, 0, 0, 943, 944, 1, 0, 0, 0, 944, 946, 1, 0, 0, 0, 945, 943, 1, 0, 0, 0, 946, 947, 6, 85, 0, 0, 947, 172, 1, 0, 0, 0, 948, 951, 3, 57, 28, 0, 949, 951, 3, 175, 87, 0, 950, 948, 1, 0, 0, 0, 950, 949, 1, 0, 0, 0, 951, 174, 1, 0, 0, 0, 952, 956, 7, 1, 0, 0, 953, 955, 7, 4, 0, 0, 954, 953, 1, 0, 0, 0, 955, 958, 1, 0, 0, 0, 956, 954, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 176, 1, 0, 0, 0, 958, 956, 1, 0, 0, 0, 959, 961, 3, 73, 36, 0, 960, 959, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 960, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 178, 1, 0, 0, 0, 964, 966, 3, 147, 73, 0, 965, 967, 3, 177, 88, 0, 966, 965, 1, 0, 0, 0, 967, 968, 1, 0, 0, 0, 968, 966, 1, 0, 0, 0, 968, 969, 1, 0, 0, 0, 969, 180, 1, 0, 0, 0, 121, 0, 201, 205, 211, 216, 220, 224, 229, 233, 237, 242, 246, 250, 255, 259, 263, 268, 290, 295, 298, 307, 316, 334, 339, 341, 348, 350, 357, 363, 367, 372, 377, 382, 387, 392, 397, 402, 409, 415, 423, 425, 430, 441, 446, 484, 488, 490, 496, 498, 504, 509, 513, 518, 520, 526, 528, 534, 539, 543, 545, 551, 556, 562, 565, 577, 588, 608, 611, 620, 635, 637, 652, 654, 662, 668, 673, 679, 683, 690, 692, 701, 703, 707, 714, 716, 725, 727, 731, 749, 755, 761, 770, 773, 776, 780, 783, 786, 790, 793, 799, 801, 838, 845, 848, 850, 858, 865, 868, 876, 888, 897, 907, 922, 926, 932, 938, 943, 950, 956, 962, 968, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 41, 1000, 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, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 3, 8, 204, 8, 8, 1, 9, 1, 9, 3, 9, 208, 8, 9, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 214, 8, 11, 1, 11, 5, 11, 217, 8, 11, 10, 11, 12, 11, 220, 9, 11, 1, 12, 3, 12, 223, 8, 12, 1, 12, 1, 12, 3, 12, 227, 8, 12, 1, 12, 5, 12, 230, 8, 12, 10, 12, 12, 12, 233, 9, 12, 1, 13, 3, 13, 236, 8, 13, 1, 13, 1, 13, 3, 13, 240, 8, 13, 1, 13, 5, 13, 243, 8, 13, 10, 13, 12, 13, 246, 9, 13, 1, 14, 3, 14, 249, 8, 14, 1, 14, 1, 14, 3, 14, 253, 8, 14, 1, 14, 5, 14, 256, 8, 14, 10, 14, 12, 14, 259, 9, 14, 1, 15, 3, 15, 262, 8, 15, 1, 15, 1, 15, 3, 15, 266, 8, 15, 1, 15, 5, 15, 269, 8, 15, 10, 15, 12, 15, 272, 9, 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, 18, 1, 18, 1, 18, 3, 18, 293, 8, 18, 1, 18, 5, 18, 296, 8, 18, 10, 18, 12, 18, 299, 9, 18, 3, 18, 301, 8, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 310, 8, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 319, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 337, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 342, 8, 26, 10, 26, 12, 26, 345, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 351, 8, 27, 10, 27, 12, 27, 354, 9, 27, 1, 27, 1, 27, 1, 28, 1, 28, 3, 28, 360, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 366, 8, 29, 1, 30, 1, 30, 3, 30, 370, 8, 30, 1, 30, 5, 30, 373, 8, 30, 10, 30, 12, 30, 376, 9, 30, 1, 31, 1, 31, 3, 31, 380, 8, 31, 1, 31, 5, 31, 383, 8, 31, 10, 31, 12, 31, 386, 9, 31, 1, 32, 1, 32, 3, 32, 390, 8, 32, 1, 32, 5, 32, 393, 8, 32, 10, 32, 12, 32, 396, 9, 32, 1, 33, 1, 33, 3, 33, 400, 8, 33, 1, 33, 5, 33, 403, 8, 33, 10, 33, 12, 33, 406, 9, 33, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 412, 8, 34, 1, 34, 1, 34, 5, 34, 416, 8, 34, 10, 34, 12, 34, 419, 9, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 4, 35, 426, 8, 35, 11, 35, 12, 35, 427, 1, 35, 5, 35, 431, 8, 35, 10, 35, 12, 35, 434, 9, 35, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 442, 8, 37, 10, 37, 12, 37, 445, 9, 37, 1, 37, 1, 37, 3, 37, 449, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 4, 42, 485, 8, 42, 11, 42, 12, 42, 486, 1, 42, 1, 42, 5, 42, 491, 8, 42, 10, 42, 12, 42, 494, 9, 42, 1, 42, 1, 42, 1, 42, 5, 42, 499, 8, 42, 10, 42, 12, 42, 502, 9, 42, 1, 42, 4, 42, 505, 8, 42, 11, 42, 12, 42, 506, 1, 42, 5, 42, 510, 8, 42, 10, 42, 12, 42, 513, 9, 42, 1, 42, 1, 42, 3, 42, 517, 8, 42, 1, 42, 1, 42, 1, 42, 5, 42, 522, 8, 42, 10, 42, 12, 42, 525, 9, 42, 1, 42, 1, 42, 1, 42, 5, 42, 530, 8, 42, 10, 42, 12, 42, 533, 9, 42, 1, 42, 4, 42, 536, 8, 42, 11, 42, 12, 42, 537, 1, 42, 5, 42, 541, 8, 42, 10, 42, 12, 42, 544, 9, 42, 1, 42, 1, 42, 3, 42, 548, 8, 42, 3, 42, 550, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 556, 8, 43, 1, 43, 5, 43, 559, 8, 43, 10, 43, 12, 43, 562, 9, 43, 1, 43, 4, 43, 565, 8, 43, 11, 43, 12, 43, 566, 1, 43, 3, 43, 570, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 582, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 593, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 613, 8, 49, 1, 50, 3, 50, 616, 8, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 623, 8, 50, 10, 50, 12, 50, 626, 9, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 640, 8, 51, 10, 51, 12, 51, 643, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 657, 8, 52, 10, 52, 12, 52, 660, 9, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 3, 53, 667, 8, 53, 1, 53, 1, 53, 5, 53, 671, 8, 53, 10, 53, 12, 53, 674, 9, 53, 1, 53, 1, 53, 3, 53, 678, 8, 53, 1, 53, 1, 53, 5, 53, 682, 8, 53, 10, 53, 12, 53, 685, 9, 53, 1, 53, 3, 53, 688, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 695, 8, 54, 10, 54, 12, 54, 698, 9, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 706, 8, 54, 10, 54, 12, 54, 709, 9, 54, 1, 54, 3, 54, 712, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 719, 8, 55, 10, 55, 12, 55, 722, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 730, 8, 55, 10, 55, 12, 55, 733, 9, 55, 1, 55, 3, 55, 736, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 752, 8, 56, 10, 56, 12, 56, 755, 9, 56, 1, 56, 5, 56, 758, 8, 56, 10, 56, 12, 56, 761, 9, 56, 1, 56, 5, 56, 764, 8, 56, 10, 56, 12, 56, 767, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 3, 57, 775, 8, 57, 1, 57, 3, 57, 778, 8, 57, 1, 58, 1, 58, 3, 58, 782, 8, 58, 1, 58, 3, 58, 785, 8, 58, 1, 58, 1, 58, 3, 58, 789, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 795, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 5, 76, 832, 8, 76, 10, 76, 12, 76, 835, 9, 76, 1, 76, 1, 76, 1, 77, 1, 77, 3, 77, 841, 8, 77, 1, 77, 4, 77, 844, 8, 77, 11, 77, 12, 77, 845, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 852, 8, 78, 10, 78, 12, 78, 855, 9, 78, 1, 78, 1, 78, 5, 78, 859, 8, 78, 10, 78, 12, 78, 862, 9, 78, 3, 78, 864, 8, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 4, 79, 871, 8, 79, 11, 79, 12, 79, 872, 1, 79, 5, 79, 876, 8, 79, 10, 79, 12, 79, 879, 9, 79, 1, 79, 4, 79, 882, 8, 79, 11, 79, 12, 79, 883, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 4, 80, 893, 8, 80, 11, 80, 12, 80, 894, 1, 80, 5, 80, 898, 8, 80, 10, 80, 12, 80, 901, 9, 80, 1, 80, 5, 80, 904, 8, 80, 10, 80, 12, 80, 907, 9, 80, 1, 80, 1, 80, 3, 80, 911, 8, 80, 1, 80, 3, 80, 914, 8, 80, 1, 80, 5, 80, 917, 8, 80, 10, 80, 12, 80, 920, 9, 80, 1, 80, 1, 80, 1, 80, 1, 81, 4, 81, 926, 8, 81, 11, 81, 12, 81, 927, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 5, 82, 936, 8, 82, 10, 82, 12, 82, 939, 9, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 5, 84, 951, 8, 84, 10, 84, 12, 84, 954, 9, 84, 1, 84, 3, 84, 957, 8, 84, 1, 85, 1, 85, 5, 85, 961, 8, 85, 10, 85, 12, 85, 964, 9, 85, 1, 86, 1, 86, 1, 86, 3, 86, 969, 8, 86, 1, 86, 5, 86, 972, 8, 86, 10, 86, 12, 86, 975, 9, 86, 1, 86, 1, 86, 1, 87, 1, 87, 3, 87, 981, 8, 87, 1, 88, 1, 88, 5, 88, 985, 8, 88, 10, 88, 12, 88, 988, 9, 88, 1, 89, 4, 89, 991, 8, 89, 11, 89, 12, 89, 992, 1, 90, 1, 90, 4, 90, 997, 8, 90, 11, 90, 12, 90, 998, 6, 624, 641, 658, 759, 918, 937, 0, 91, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 0, 15, 0, 17, 0, 19, 0, 21, 0, 23, 0, 25, 0, 27, 0, 29, 0, 31, 0, 33, 0, 35, 0, 37, 0, 39, 0, 41, 0, 43, 0, 45, 0, 47, 0, 49, 0, 51, 0, 53, 0, 55, 0, 57, 0, 59, 0, 61, 0, 63, 0, 65, 0, 67, 0, 69, 0, 71, 0, 73, 0, 75, 1, 77, 2, 79, 3, 81, 4, 83, 5, 85, 6, 87, 7, 89, 8, 91, 9, 93, 10, 95, 11, 97, 12, 99, 13, 101, 0, 103, 0, 105, 0, 107, 0, 109, 0, 111, 0, 113, 0, 115, 0, 117, 14, 119, 15, 121, 16, 123, 17, 125, 18, 127, 19, 129, 20, 131, 21, 133, 22, 135, 23, 137, 24, 139, 25, 141, 26, 143, 27, 145, 28, 147, 29, 149, 30, 151, 31, 153, 0, 155, 32, 157, 0, 159, 0, 161, 0, 163, 33, 165, 34, 167, 0, 169, 35, 171, 36, 173, 37, 175, 38, 177, 39, 179, 40, 181, 41, 1, 0, 39, 2, 0, 9, 9, 32, 32, 1, 0, 48, 57, 2, 0, 43, 43, 45, 45, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 1, 0, 48, 55, 6, 0, 65, 66, 69, 69, 88, 88, 97, 98, 101, 101, 120, 120, 2, 0, 65, 70, 97, 102, 1, 0, 49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 66, 66, 98, 98, 2, 0, 79, 79, 111, 111, 2, 0, 90, 90, 122, 122, 2, 0, 88, 88, 120, 120, 2, 0, 72, 72, 104, 104, 2, 0, 92, 92, 96, 96, 4, 0, 0, 31, 92, 92, 96, 96, 127, 159, 15, 0, 9, 10, 13, 13, 32, 32, 34, 35, 39, 39, 43, 45, 47, 58, 60, 62, 64, 64, 91, 91, 93, 94, 96, 96, 123, 123, 125, 125, 167, 167, 2, 0, 10, 10, 13, 13, 2, 0, 89, 89, 121, 121, 2, 0, 73, 73, 105, 105, 2, 0, 78, 78, 110, 110, 2, 0, 67, 67, 99, 99, 2, 0, 76, 76, 108, 108, 2, 0, 85, 85, 117, 117, 2, 0, 68, 68, 100, 100, 2, 0, 80, 80, 112, 112, 2, 0, 82, 82, 114, 114, 2, 0, 65, 65, 97, 97, 2, 0, 84, 84, 116, 116, 2, 0, 70, 70, 102, 102, 2, 0, 83, 83, 115, 115, 3, 0, 10, 10, 13, 13, 39, 39, 3, 0, 10, 10, 13, 13, 34, 34, 4, 0, 10, 10, 13, 13, 39, 39, 92, 92, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 1, 0, 32, 32, 3, 0, 10, 10, 13, 13, 42, 42, 4, 0, 10, 10, 13, 13, 42, 42, 47, 47, 1096, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 1, 183, 1, 0, 0, 0, 3, 187, 1, 0, 0, 0, 5, 189, 1, 0, 0, 0, 7, 191, 1, 0, 0, 0, 9, 193, 1, 0, 0, 0, 11, 195, 1, 0, 0, 0, 13, 197, 1, 0, 0, 0, 15, 199, 1, 0, 0, 0, 17, 203, 1, 0, 0, 0, 19, 207, 1, 0, 0, 0, 21, 209, 1, 0, 0, 0, 23, 211, 1, 0, 0, 0, 25, 222, 1, 0, 0, 0, 27, 235, 1, 0, 0, 0, 29, 248, 1, 0, 0, 0, 31, 261, 1, 0, 0, 0, 33, 273, 1, 0, 0, 0, 35, 279, 1, 0, 0, 0, 37, 300, 1, 0, 0, 0, 39, 302, 1, 0, 0, 0, 41, 304, 1, 0, 0, 0, 43, 307, 1, 0, 0, 0, 45, 318, 1, 0, 0, 0, 47, 320, 1, 0, 0, 0, 49, 324, 1, 0, 0, 0, 51, 336, 1, 0, 0, 0, 53, 338, 1, 0, 0, 0, 55, 346, 1, 0, 0, 0, 57, 359, 1, 0, 0, 0, 59, 365, 1, 0, 0, 0, 61, 367, 1, 0, 0, 0, 63, 377, 1, 0, 0, 0, 65, 387, 1, 0, 0, 0, 67, 397, 1, 0, 0, 0, 69, 411, 1, 0, 0, 0, 71, 425, 1, 0, 0, 0, 73, 435, 1, 0, 0, 0, 75, 437, 1, 0, 0, 0, 77, 450, 1, 0, 0, 0, 79, 456, 1, 0, 0, 0, 81, 465, 1, 0, 0, 0, 83, 477, 1, 0, 0, 0, 85, 549, 1, 0, 0, 0, 87, 555, 1, 0, 0, 0, 89, 581, 1, 0, 0, 0, 91, 592, 1, 0, 0, 0, 93, 594, 1, 0, 0, 0, 95, 599, 1, 0, 0, 0, 97, 602, 1, 0, 0, 0, 99, 612, 1, 0, 0, 0, 101, 615, 1, 0, 0, 0, 103, 631, 1, 0, 0, 0, 105, 648, 1, 0, 0, 0, 107, 687, 1, 0, 0, 0, 109, 711, 1, 0, 0, 0, 111, 735, 1, 0, 0, 0, 113, 737, 1, 0, 0, 0, 115, 777, 1, 0, 0, 0, 117, 794, 1, 0, 0, 0, 119, 796, 1, 0, 0, 0, 121, 798, 1, 0, 0, 0, 123, 800, 1, 0, 0, 0, 125, 802, 1, 0, 0, 0, 127, 804, 1, 0, 0, 0, 129, 806, 1, 0, 0, 0, 131, 808, 1, 0, 0, 0, 133, 810, 1, 0, 0, 0, 135, 812, 1, 0, 0, 0, 137, 814, 1, 0, 0, 0, 139, 816, 1, 0, 0, 0, 141, 818, 1, 0, 0, 0, 143, 820, 1, 0, 0, 0, 145, 822, 1, 0, 0, 0, 147, 824, 1, 0, 0, 0, 149, 826, 1, 0, 0, 0, 151, 828, 1, 0, 0, 0, 153, 833, 1, 0, 0, 0, 155, 843, 1, 0, 0, 0, 157, 863, 1, 0, 0, 0, 159, 865, 1, 0, 0, 0, 161, 887, 1, 0, 0, 0, 163, 925, 1, 0, 0, 0, 165, 931, 1, 0, 0, 0, 167, 945, 1, 0, 0, 0, 169, 948, 1, 0, 0, 0, 171, 958, 1, 0, 0, 0, 173, 968, 1, 0, 0, 0, 175, 980, 1, 0, 0, 0, 177, 982, 1, 0, 0, 0, 179, 990, 1, 0, 0, 0, 181, 994, 1, 0, 0, 0, 183, 184, 2, 48, 49, 0, 184, 185, 2, 48, 49, 0, 185, 186, 2, 48, 49, 0, 186, 2, 1, 0, 0, 0, 187, 188, 7, 0, 0, 0, 188, 4, 1, 0, 0, 0, 189, 190, 7, 1, 0, 0, 190, 6, 1, 0, 0, 0, 191, 192, 7, 2, 0, 0, 192, 8, 1, 0, 0, 0, 193, 194, 7, 3, 0, 0, 194, 10, 1, 0, 0, 0, 195, 196, 7, 4, 0, 0, 196, 12, 1, 0, 0, 0, 197, 198, 2, 48, 49, 0, 198, 14, 1, 0, 0, 0, 199, 200, 7, 5, 0, 0, 200, 16, 1, 0, 0, 0, 201, 204, 3, 5, 2, 0, 202, 204, 7, 6, 0, 0, 203, 201, 1, 0, 0, 0, 203, 202, 1, 0, 0, 0, 204, 18, 1, 0, 0, 0, 205, 208, 3, 5, 2, 0, 206, 208, 7, 7, 0, 0, 207, 205, 1, 0, 0, 0, 207, 206, 1, 0, 0, 0, 208, 20, 1, 0, 0, 0, 209, 210, 5, 95, 0, 0, 210, 22, 1, 0, 0, 0, 211, 218, 3, 5, 2, 0, 212, 214, 3, 21, 10, 0, 213, 212, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 217, 3, 5, 2, 0, 216, 213, 1, 0, 0, 0, 217, 220, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 24, 1, 0, 0, 0, 220, 218, 1, 0, 0, 0, 221, 223, 3, 21, 10, 0, 222, 221, 1, 0, 0, 0, 222, 223, 1, 0, 0, 0, 223, 224, 1, 0, 0, 0, 224, 231, 3, 13, 6, 0, 225, 227, 3, 21, 10, 0, 226, 225, 1, 0, 0, 0, 226, 227, 1, 0, 0, 0, 227, 228, 1, 0, 0, 0, 228, 230, 3, 13, 6, 0, 229, 226, 1, 0, 0, 0, 230, 233, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 231, 232, 1, 0, 0, 0, 232, 26, 1, 0, 0, 0, 233, 231, 1, 0, 0, 0, 234, 236, 3, 21, 10, 0, 235, 234, 1, 0, 0, 0, 235, 236, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 244, 3, 15, 7, 0, 238, 240, 3, 21, 10, 0, 239, 238, 1, 0, 0, 0, 239, 240, 1, 0, 0, 0, 240, 241, 1, 0, 0, 0, 241, 243, 3, 15, 7, 0, 242, 239, 1, 0, 0, 0, 243, 246, 1, 0, 0, 0, 244, 242, 1, 0, 0, 0, 244, 245, 1, 0, 0, 0, 245, 28, 1, 0, 0, 0, 246, 244, 1, 0, 0, 0, 247, 249, 3, 21, 10, 0, 248, 247, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250, 257, 3, 17, 8, 0, 251, 253, 3, 21, 10, 0, 252, 251, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 254, 1, 0, 0, 0, 254, 256, 3, 17, 8, 0, 255, 252, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 30, 1, 0, 0, 0, 259, 257, 1, 0, 0, 0, 260, 262, 3, 21, 10, 0, 261, 260, 1, 0, 0, 0, 261, 262, 1, 0, 0, 0, 262, 263, 1, 0, 0, 0, 263, 270, 3, 19, 9, 0, 264, 266, 3, 21, 10, 0, 265, 264, 1, 0, 0, 0, 265, 266, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 269, 3, 19, 9, 0, 268, 265, 1, 0, 0, 0, 269, 272, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 270, 271, 1, 0, 0, 0, 271, 32, 1, 0, 0, 0, 272, 270, 1, 0, 0, 0, 273, 274, 5, 117, 0, 0, 274, 275, 3, 19, 9, 0, 275, 276, 3, 19, 9, 0, 276, 277, 3, 19, 9, 0, 277, 278, 3, 19, 9, 0, 278, 34, 1, 0, 0, 0, 279, 280, 5, 85, 0, 0, 280, 281, 3, 19, 9, 0, 281, 282, 3, 19, 9, 0, 282, 283, 3, 19, 9, 0, 283, 284, 3, 19, 9, 0, 284, 285, 3, 19, 9, 0, 285, 286, 3, 19, 9, 0, 286, 287, 3, 19, 9, 0, 287, 288, 3, 19, 9, 0, 288, 36, 1, 0, 0, 0, 289, 301, 5, 48, 0, 0, 290, 297, 7, 8, 0, 0, 291, 293, 3, 21, 10, 0, 292, 291, 1, 0, 0, 0, 292, 293, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 296, 3, 5, 2, 0, 295, 292, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 301, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 289, 1, 0, 0, 0, 300, 290, 1, 0, 0, 0, 301, 38, 1, 0, 0, 0, 302, 303, 3, 37, 18, 0, 303, 40, 1, 0, 0, 0, 304, 305, 5, 46, 0, 0, 305, 306, 3, 23, 11, 0, 306, 42, 1, 0, 0, 0, 307, 309, 7, 9, 0, 0, 308, 310, 3, 7, 3, 0, 309, 308, 1, 0, 0, 0, 309, 310, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 312, 3, 23, 11, 0, 312, 44, 1, 0, 0, 0, 313, 314, 5, 48, 0, 0, 314, 315, 7, 10, 0, 0, 315, 319, 3, 25, 12, 0, 316, 317, 5, 37, 0, 0, 317, 319, 3, 25, 12, 0, 318, 313, 1, 0, 0, 0, 318, 316, 1, 0, 0, 0, 319, 46, 1, 0, 0, 0, 320, 321, 5, 48, 0, 0, 321, 322, 7, 11, 0, 0, 322, 323, 3, 27, 13, 0, 323, 48, 1, 0, 0, 0, 324, 325, 5, 48, 0, 0, 325, 326, 7, 12, 0, 0, 326, 327, 3, 29, 14, 0, 327, 50, 1, 0, 0, 0, 328, 329, 5, 48, 0, 0, 329, 330, 7, 13, 0, 0, 330, 337, 3, 31, 15, 0, 331, 332, 7, 14, 0, 0, 332, 333, 7, 9, 0, 0, 333, 334, 7, 13, 0, 0, 334, 335, 5, 58, 0, 0, 335, 337, 3, 31, 15, 0, 336, 328, 1, 0, 0, 0, 336, 331, 1, 0, 0, 0, 337, 52, 1, 0, 0, 0, 338, 343, 3, 9, 4, 0, 339, 342, 3, 11, 5, 0, 340, 342, 5, 46, 0, 0, 341, 339, 1, 0, 0, 0, 341, 340, 1, 0, 0, 0, 342, 345, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 54, 1, 0, 0, 0, 345, 343, 1, 0, 0, 0, 346, 352, 5, 96, 0, 0, 347, 348, 5, 92, 0, 0, 348, 351, 7, 15, 0, 0, 349, 351, 8, 16, 0, 0, 350, 347, 1, 0, 0, 0, 350, 349, 1, 0, 0, 0, 351, 354, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 355, 1, 0, 0, 0, 354, 352, 1, 0, 0, 0, 355, 356, 5, 96, 0, 0, 356, 56, 1, 0, 0, 0, 357, 360, 3, 53, 26, 0, 358, 360, 3, 55, 27, 0, 359, 357, 1, 0, 0, 0, 359, 358, 1, 0, 0, 0, 360, 58, 1, 0, 0, 0, 361, 366, 3, 61, 30, 0, 362, 366, 3, 63, 31, 0, 363, 366, 3, 65, 32, 0, 364, 366, 3, 67, 33, 0, 365, 361, 1, 0, 0, 0, 365, 362, 1, 0, 0, 0, 365, 363, 1, 0, 0, 0, 365, 364, 1, 0, 0, 0, 366, 60, 1, 0, 0, 0, 367, 374, 3, 119, 59, 0, 368, 370, 3, 21, 10, 0, 369, 368, 1, 0, 0, 0, 369, 370, 1, 0, 0, 0, 370, 371, 1, 0, 0, 0, 371, 373, 3, 119, 59, 0, 372, 369, 1, 0, 0, 0, 373, 376, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 62, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 377, 384, 3, 121, 60, 0, 378, 380, 3, 21, 10, 0, 379, 378, 1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 383, 3, 121, 60, 0, 382, 379, 1, 0, 0, 0, 383, 386, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 64, 1, 0, 0, 0, 386, 384, 1, 0, 0, 0, 387, 394, 3, 123, 61, 0, 388, 390, 3, 21, 10, 0, 389, 388, 1, 0, 0, 0, 389, 390, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 393, 3, 123, 61, 0, 392, 389, 1, 0, 0, 0, 393, 396, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 66, 1, 0, 0, 0, 396, 394, 1, 0, 0, 0, 397, 404, 3, 125, 62, 0, 398, 400, 3, 21, 10, 0, 399, 398, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 403, 3, 125, 62, 0, 402, 399, 1, 0, 0, 0, 403, 406, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 68, 1, 0, 0, 0, 406, 404, 1, 0, 0, 0, 407, 412, 3, 119, 59, 0, 408, 412, 3, 121, 60, 0, 409, 412, 3, 123, 61, 0, 410, 412, 3, 125, 62, 0, 411, 407, 1, 0, 0, 0, 411, 408, 1, 0, 0, 0, 411, 409, 1, 0, 0, 0, 411, 410, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 417, 7, 8, 0, 0, 414, 416, 3, 5, 2, 0, 415, 414, 1, 0, 0, 0, 416, 419, 1, 0, 0, 0, 417, 415, 1, 0, 0, 0, 417, 418, 1, 0, 0, 0, 418, 70, 1, 0, 0, 0, 419, 417, 1, 0, 0, 0, 420, 426, 3, 119, 59, 0, 421, 426, 3, 121, 60, 0, 422, 426, 3, 123, 61, 0, 423, 426, 3, 125, 62, 0, 424, 426, 3, 21, 10, 0, 425, 420, 1, 0, 0, 0, 425, 421, 1, 0, 0, 0, 425, 422, 1, 0, 0, 0, 425, 423, 1, 0, 0, 0, 425, 424, 1, 0, 0, 0, 426, 427, 1, 0, 0, 0, 427, 425, 1, 0, 0, 0, 427, 428, 1, 0, 0, 0, 428, 432, 1, 0, 0, 0, 429, 431, 3, 5, 2, 0, 430, 429, 1, 0, 0, 0, 431, 434, 1, 0, 0, 0, 432, 430, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, 72, 1, 0, 0, 0, 434, 432, 1, 0, 0, 0, 435, 436, 8, 17, 0, 0, 436, 74, 1, 0, 0, 0, 437, 438, 5, 35, 0, 0, 438, 439, 5, 33, 0, 0, 439, 443, 1, 0, 0, 0, 440, 442, 8, 18, 0, 0, 441, 440, 1, 0, 0, 0, 442, 445, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 443, 444, 1, 0, 0, 0, 444, 448, 1, 0, 0, 0, 445, 443, 1, 0, 0, 0, 446, 449, 3, 153, 76, 0, 447, 449, 5, 0, 0, 1, 448, 446, 1, 0, 0, 0, 448, 447, 1, 0, 0, 0, 449, 76, 1, 0, 0, 0, 450, 451, 5, 64, 0, 0, 451, 452, 7, 19, 0, 0, 452, 453, 7, 20, 0, 0, 453, 454, 7, 21, 0, 0, 454, 455, 7, 20, 0, 0, 455, 78, 1, 0, 0, 0, 456, 457, 5, 64, 0, 0, 457, 458, 7, 20, 0, 0, 458, 459, 7, 21, 0, 0, 459, 460, 7, 22, 0, 0, 460, 461, 7, 23, 0, 0, 461, 462, 7, 24, 0, 0, 462, 463, 7, 25, 0, 0, 463, 464, 7, 9, 0, 0, 464, 80, 1, 0, 0, 0, 465, 466, 5, 64, 0, 0, 466, 467, 7, 25, 0, 0, 467, 468, 7, 9, 0, 0, 468, 469, 7, 26, 0, 0, 469, 470, 7, 27, 0, 0, 470, 471, 7, 9, 0, 0, 471, 472, 7, 22, 0, 0, 472, 473, 7, 28, 0, 0, 473, 474, 7, 29, 0, 0, 474, 475, 7, 9, 0, 0, 475, 476, 7, 25, 0, 0, 476, 82, 1, 0, 0, 0, 477, 478, 5, 47, 0, 0, 478, 479, 7, 9, 0, 0, 479, 480, 7, 21, 0, 0, 480, 481, 7, 25, 0, 0, 481, 84, 1, 0, 0, 0, 482, 484, 3, 69, 34, 0, 483, 485, 3, 3, 1, 0, 484, 483, 1, 0, 0, 0, 485, 486, 1, 0, 0, 0, 486, 484, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 492, 1, 0, 0, 0, 488, 491, 3, 3, 1, 0, 489, 491, 3, 159, 79, 0, 490, 488, 1, 0, 0, 0, 490, 489, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 495, 1, 0, 0, 0, 494, 492, 1, 0, 0, 0, 495, 500, 3, 57, 28, 0, 496, 499, 3, 3, 1, 0, 497, 499, 3, 159, 79, 0, 498, 496, 1, 0, 0, 0, 498, 497, 1, 0, 0, 0, 499, 502, 1, 0, 0, 0, 500, 498, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 516, 1, 0, 0, 0, 502, 500, 1, 0, 0, 0, 503, 505, 3, 153, 76, 0, 504, 503, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 517, 1, 0, 0, 0, 508, 510, 3, 157, 78, 0, 509, 508, 1, 0, 0, 0, 510, 513, 1, 0, 0, 0, 511, 509, 1, 0, 0, 0, 511, 512, 1, 0, 0, 0, 512, 514, 1, 0, 0, 0, 513, 511, 1, 0, 0, 0, 514, 517, 5, 0, 0, 1, 515, 517, 3, 161, 80, 0, 516, 504, 1, 0, 0, 0, 516, 511, 1, 0, 0, 0, 516, 515, 1, 0, 0, 0, 517, 550, 1, 0, 0, 0, 518, 523, 3, 59, 29, 0, 519, 522, 3, 3, 1, 0, 520, 522, 3, 159, 79, 0, 521, 519, 1, 0, 0, 0, 521, 520, 1, 0, 0, 0, 522, 525, 1, 0, 0, 0, 523, 521, 1, 0, 0, 0, 523, 524, 1, 0, 0, 0, 524, 526, 1, 0, 0, 0, 525, 523, 1, 0, 0, 0, 526, 531, 3, 57, 28, 0, 527, 530, 3, 3, 1, 0, 528, 530, 3, 159, 79, 0, 529, 527, 1, 0, 0, 0, 529, 528, 1, 0, 0, 0, 530, 533, 1, 0, 0, 0, 531, 529, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 547, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 534, 536, 3, 153, 76, 0, 535, 534, 1, 0, 0, 0, 536, 537, 1, 0, 0, 0, 537, 535, 1, 0, 0, 0, 537, 538, 1, 0, 0, 0, 538, 548, 1, 0, 0, 0, 539, 541, 3, 157, 78, 0, 540, 539, 1, 0, 0, 0, 541, 544, 1, 0, 0, 0, 542, 540, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 545, 1, 0, 0, 0, 544, 542, 1, 0, 0, 0, 545, 548, 5, 0, 0, 1, 546, 548, 3, 161, 80, 0, 547, 535, 1, 0, 0, 0, 547, 542, 1, 0, 0, 0, 547, 546, 1, 0, 0, 0, 548, 550, 1, 0, 0, 0, 549, 482, 1, 0, 0, 0, 549, 518, 1, 0, 0, 0, 550, 86, 1, 0, 0, 0, 551, 556, 3, 119, 59, 0, 552, 556, 3, 121, 60, 0, 553, 556, 3, 123, 61, 0, 554, 556, 3, 125, 62, 0, 555, 551, 1, 0, 0, 0, 555, 552, 1, 0, 0, 0, 555, 553, 1, 0, 0, 0, 555, 554, 1, 0, 0, 0, 556, 560, 1, 0, 0, 0, 557, 559, 8, 18, 0, 0, 558, 557, 1, 0, 0, 0, 559, 562, 1, 0, 0, 0, 560, 558, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 569, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 563, 565, 3, 153, 76, 0, 564, 563, 1, 0, 0, 0, 565, 566, 1, 0, 0, 0, 566, 564, 1, 0, 0, 0, 566, 567, 1, 0, 0, 0, 567, 570, 1, 0, 0, 0, 568, 570, 5, 0, 0, 1, 569, 564, 1, 0, 0, 0, 569, 568, 1, 0, 0, 0, 570, 88, 1, 0, 0, 0, 571, 572, 7, 30, 0, 0, 572, 573, 7, 28, 0, 0, 573, 574, 7, 23, 0, 0, 574, 575, 7, 31, 0, 0, 575, 582, 7, 9, 0, 0, 576, 577, 7, 11, 0, 0, 577, 578, 7, 30, 0, 0, 578, 582, 7, 30, 0, 0, 579, 580, 7, 21, 0, 0, 580, 582, 7, 11, 0, 0, 581, 571, 1, 0, 0, 0, 581, 576, 1, 0, 0, 0, 581, 579, 1, 0, 0, 0, 582, 90, 1, 0, 0, 0, 583, 584, 7, 29, 0, 0, 584, 585, 7, 27, 0, 0, 585, 586, 7, 24, 0, 0, 586, 593, 7, 9, 0, 0, 587, 588, 7, 11, 0, 0, 588, 593, 7, 21, 0, 0, 589, 590, 7, 19, 0, 0, 590, 591, 7, 9, 0, 0, 591, 593, 7, 31, 0, 0, 592, 583, 1, 0, 0, 0, 592, 587, 1, 0, 0, 0, 592, 589, 1, 0, 0, 0, 593, 92, 1, 0, 0, 0, 594, 595, 7, 21, 0, 0, 595, 596, 7, 24, 0, 0, 596, 597, 7, 23, 0, 0, 597, 598, 7, 23, 0, 0, 598, 94, 1, 0, 0, 0, 599, 600, 5, 123, 0, 0, 600, 601, 5, 125, 0, 0, 601, 96, 1, 0, 0, 0, 602, 603, 5, 91, 0, 0, 603, 604, 5, 93, 0, 0, 604, 98, 1, 0, 0, 0, 605, 613, 3, 103, 51, 0, 606, 613, 3, 105, 52, 0, 607, 613, 3, 101, 50, 0, 608, 613, 3, 109, 54, 0, 609, 613, 3, 111, 55, 0, 610, 613, 3, 107, 53, 0, 611, 613, 3, 113, 56, 0, 612, 605, 1, 0, 0, 0, 612, 606, 1, 0, 0, 0, 612, 607, 1, 0, 0, 0, 612, 608, 1, 0, 0, 0, 612, 609, 1, 0, 0, 0, 612, 610, 1, 0, 0, 0, 612, 611, 1, 0, 0, 0, 613, 100, 1, 0, 0, 0, 614, 616, 7, 27, 0, 0, 615, 614, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 618, 5, 34, 0, 0, 618, 619, 5, 34, 0, 0, 619, 620, 5, 34, 0, 0, 620, 624, 1, 0, 0, 0, 621, 623, 9, 0, 0, 0, 622, 621, 1, 0, 0, 0, 623, 626, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 625, 627, 1, 0, 0, 0, 626, 624, 1, 0, 0, 0, 627, 628, 5, 34, 0, 0, 628, 629, 5, 34, 0, 0, 629, 630, 5, 34, 0, 0, 630, 102, 1, 0, 0, 0, 631, 632, 7, 22, 0, 0, 632, 633, 5, 34, 0, 0, 633, 634, 5, 34, 0, 0, 634, 635, 5, 34, 0, 0, 635, 641, 1, 0, 0, 0, 636, 637, 5, 92, 0, 0, 637, 640, 9, 0, 0, 0, 638, 640, 9, 0, 0, 0, 639, 636, 1, 0, 0, 0, 639, 638, 1, 0, 0, 0, 640, 643, 1, 0, 0, 0, 641, 642, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 642, 644, 1, 0, 0, 0, 643, 641, 1, 0, 0, 0, 644, 645, 5, 34, 0, 0, 645, 646, 5, 34, 0, 0, 646, 647, 5, 34, 0, 0, 647, 104, 1, 0, 0, 0, 648, 649, 7, 9, 0, 0, 649, 650, 5, 34, 0, 0, 650, 651, 5, 34, 0, 0, 651, 652, 5, 34, 0, 0, 652, 658, 1, 0, 0, 0, 653, 654, 5, 92, 0, 0, 654, 657, 9, 0, 0, 0, 655, 657, 9, 0, 0, 0, 656, 653, 1, 0, 0, 0, 656, 655, 1, 0, 0, 0, 657, 660, 1, 0, 0, 0, 658, 659, 1, 0, 0, 0, 658, 656, 1, 0, 0, 0, 659, 661, 1, 0, 0, 0, 660, 658, 1, 0, 0, 0, 661, 662, 5, 34, 0, 0, 662, 663, 5, 34, 0, 0, 663, 664, 5, 34, 0, 0, 664, 106, 1, 0, 0, 0, 665, 667, 7, 27, 0, 0, 666, 665, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 668, 1, 0, 0, 0, 668, 672, 5, 39, 0, 0, 669, 671, 8, 32, 0, 0, 670, 669, 1, 0, 0, 0, 671, 674, 1, 0, 0, 0, 672, 670, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 675, 1, 0, 0, 0, 674, 672, 1, 0, 0, 0, 675, 688, 5, 39, 0, 0, 676, 678, 7, 27, 0, 0, 677, 676, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, 679, 1, 0, 0, 0, 679, 683, 5, 34, 0, 0, 680, 682, 8, 33, 0, 0, 681, 680, 1, 0, 0, 0, 682, 685, 1, 0, 0, 0, 683, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 686, 1, 0, 0, 0, 685, 683, 1, 0, 0, 0, 686, 688, 5, 34, 0, 0, 687, 666, 1, 0, 0, 0, 687, 677, 1, 0, 0, 0, 688, 108, 1, 0, 0, 0, 689, 690, 7, 22, 0, 0, 690, 696, 5, 39, 0, 0, 691, 692, 5, 92, 0, 0, 692, 695, 8, 18, 0, 0, 693, 695, 8, 34, 0, 0, 694, 691, 1, 0, 0, 0, 694, 693, 1, 0, 0, 0, 695, 698, 1, 0, 0, 0, 696, 694, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 699, 1, 0, 0, 0, 698, 696, 1, 0, 0, 0, 699, 712, 5, 39, 0, 0, 700, 701, 7, 22, 0, 0, 701, 707, 5, 34, 0, 0, 702, 703, 5, 92, 0, 0, 703, 706, 8, 18, 0, 0, 704, 706, 8, 35, 0, 0, 705, 702, 1, 0, 0, 0, 705, 704, 1, 0, 0, 0, 706, 709, 1, 0, 0, 0, 707, 705, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 710, 1, 0, 0, 0, 709, 707, 1, 0, 0, 0, 710, 712, 5, 34, 0, 0, 711, 689, 1, 0, 0, 0, 711, 700, 1, 0, 0, 0, 712, 110, 1, 0, 0, 0, 713, 714, 7, 9, 0, 0, 714, 720, 5, 39, 0, 0, 715, 716, 5, 92, 0, 0, 716, 719, 8, 18, 0, 0, 717, 719, 8, 34, 0, 0, 718, 715, 1, 0, 0, 0, 718, 717, 1, 0, 0, 0, 719, 722, 1, 0, 0, 0, 720, 718, 1, 0, 0, 0, 720, 721, 1, 0, 0, 0, 721, 723, 1, 0, 0, 0, 722, 720, 1, 0, 0, 0, 723, 736, 5, 39, 0, 0, 724, 725, 7, 9, 0, 0, 725, 731, 5, 34, 0, 0, 726, 727, 5, 92, 0, 0, 727, 730, 8, 18, 0, 0, 728, 730, 8, 35, 0, 0, 729, 726, 1, 0, 0, 0, 729, 728, 1, 0, 0, 0, 730, 733, 1, 0, 0, 0, 731, 729, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 734, 1, 0, 0, 0, 733, 731, 1, 0, 0, 0, 734, 736, 5, 34, 0, 0, 735, 713, 1, 0, 0, 0, 735, 724, 1, 0, 0, 0, 736, 112, 1, 0, 0, 0, 737, 738, 5, 99, 0, 0, 738, 739, 5, 111, 0, 0, 739, 740, 5, 109, 0, 0, 740, 741, 5, 109, 0, 0, 741, 742, 5, 97, 0, 0, 742, 743, 5, 110, 0, 0, 743, 744, 5, 100, 0, 0, 744, 745, 1, 0, 0, 0, 745, 746, 5, 34, 0, 0, 746, 747, 5, 34, 0, 0, 747, 748, 5, 34, 0, 0, 748, 749, 1, 0, 0, 0, 749, 759, 3, 115, 57, 0, 750, 752, 8, 18, 0, 0, 751, 750, 1, 0, 0, 0, 752, 755, 1, 0, 0, 0, 753, 751, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 756, 1, 0, 0, 0, 755, 753, 1, 0, 0, 0, 756, 758, 3, 115, 57, 0, 757, 753, 1, 0, 0, 0, 758, 761, 1, 0, 0, 0, 759, 760, 1, 0, 0, 0, 759, 757, 1, 0, 0, 0, 760, 765, 1, 0, 0, 0, 761, 759, 1, 0, 0, 0, 762, 764, 7, 36, 0, 0, 763, 762, 1, 0, 0, 0, 764, 767, 1, 0, 0, 0, 765, 763, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 768, 1, 0, 0, 0, 767, 765, 1, 0, 0, 0, 768, 769, 5, 34, 0, 0, 769, 770, 5, 34, 0, 0, 770, 771, 5, 34, 0, 0, 771, 114, 1, 0, 0, 0, 772, 774, 5, 13, 0, 0, 773, 775, 5, 10, 0, 0, 774, 773, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 778, 1, 0, 0, 0, 776, 778, 5, 10, 0, 0, 777, 772, 1, 0, 0, 0, 777, 776, 1, 0, 0, 0, 778, 116, 1, 0, 0, 0, 779, 781, 3, 39, 19, 0, 780, 782, 3, 41, 20, 0, 781, 780, 1, 0, 0, 0, 781, 782, 1, 0, 0, 0, 782, 784, 1, 0, 0, 0, 783, 785, 3, 43, 21, 0, 784, 783, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 795, 1, 0, 0, 0, 786, 788, 3, 41, 20, 0, 787, 789, 3, 43, 21, 0, 788, 787, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 795, 1, 0, 0, 0, 790, 795, 3, 45, 22, 0, 791, 795, 3, 47, 23, 0, 792, 795, 3, 49, 24, 0, 793, 795, 3, 51, 25, 0, 794, 779, 1, 0, 0, 0, 794, 786, 1, 0, 0, 0, 794, 790, 1, 0, 0, 0, 794, 791, 1, 0, 0, 0, 794, 792, 1, 0, 0, 0, 794, 793, 1, 0, 0, 0, 795, 118, 1, 0, 0, 0, 796, 797, 5, 94, 0, 0, 797, 120, 1, 0, 0, 0, 798, 799, 5, 167, 0, 0, 799, 122, 1, 0, 0, 0, 800, 801, 5, 62, 0, 0, 801, 124, 1, 0, 0, 0, 802, 803, 5, 60, 0, 0, 803, 126, 1, 0, 0, 0, 804, 805, 5, 61, 0, 0, 805, 128, 1, 0, 0, 0, 806, 807, 5, 44, 0, 0, 807, 130, 1, 0, 0, 0, 808, 809, 5, 58, 0, 0, 809, 132, 1, 0, 0, 0, 810, 811, 5, 91, 0, 0, 811, 134, 1, 0, 0, 0, 812, 813, 5, 93, 0, 0, 813, 136, 1, 0, 0, 0, 814, 815, 5, 123, 0, 0, 815, 138, 1, 0, 0, 0, 816, 817, 5, 125, 0, 0, 817, 140, 1, 0, 0, 0, 818, 819, 5, 43, 0, 0, 819, 142, 1, 0, 0, 0, 820, 821, 5, 45, 0, 0, 821, 144, 1, 0, 0, 0, 822, 823, 5, 36, 0, 0, 823, 146, 1, 0, 0, 0, 824, 825, 5, 37, 0, 0, 825, 148, 1, 0, 0, 0, 826, 827, 5, 64, 0, 0, 827, 150, 1, 0, 0, 0, 828, 829, 5, 59, 0, 0, 829, 152, 1, 0, 0, 0, 830, 832, 3, 157, 78, 0, 831, 830, 1, 0, 0, 0, 832, 835, 1, 0, 0, 0, 833, 831, 1, 0, 0, 0, 833, 834, 1, 0, 0, 0, 834, 836, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 836, 837, 3, 155, 77, 0, 837, 154, 1, 0, 0, 0, 838, 840, 5, 13, 0, 0, 839, 841, 5, 10, 0, 0, 840, 839, 1, 0, 0, 0, 840, 841, 1, 0, 0, 0, 841, 844, 1, 0, 0, 0, 842, 844, 5, 10, 0, 0, 843, 838, 1, 0, 0, 0, 843, 842, 1, 0, 0, 0, 844, 845, 1, 0, 0, 0, 845, 843, 1, 0, 0, 0, 845, 846, 1, 0, 0, 0, 846, 156, 1, 0, 0, 0, 847, 848, 5, 47, 0, 0, 848, 849, 5, 47, 0, 0, 849, 853, 1, 0, 0, 0, 850, 852, 8, 18, 0, 0, 851, 850, 1, 0, 0, 0, 852, 855, 1, 0, 0, 0, 853, 851, 1, 0, 0, 0, 853, 854, 1, 0, 0, 0, 854, 864, 1, 0, 0, 0, 855, 853, 1, 0, 0, 0, 856, 860, 5, 35, 0, 0, 857, 859, 8, 18, 0, 0, 858, 857, 1, 0, 0, 0, 859, 862, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 864, 1, 0, 0, 0, 862, 860, 1, 0, 0, 0, 863, 847, 1, 0, 0, 0, 863, 856, 1, 0, 0, 0, 864, 158, 1, 0, 0, 0, 865, 866, 5, 47, 0, 0, 866, 867, 5, 42, 0, 0, 867, 877, 1, 0, 0, 0, 868, 876, 8, 37, 0, 0, 869, 871, 5, 42, 0, 0, 870, 869, 1, 0, 0, 0, 871, 872, 1, 0, 0, 0, 872, 870, 1, 0, 0, 0, 872, 873, 1, 0, 0, 0, 873, 874, 1, 0, 0, 0, 874, 876, 8, 38, 0, 0, 875, 868, 1, 0, 0, 0, 875, 870, 1, 0, 0, 0, 876, 879, 1, 0, 0, 0, 877, 875, 1, 0, 0, 0, 877, 878, 1, 0, 0, 0, 878, 881, 1, 0, 0, 0, 879, 877, 1, 0, 0, 0, 880, 882, 5, 42, 0, 0, 881, 880, 1, 0, 0, 0, 882, 883, 1, 0, 0, 0, 883, 881, 1, 0, 0, 0, 883, 884, 1, 0, 0, 0, 884, 885, 1, 0, 0, 0, 885, 886, 5, 47, 0, 0, 886, 160, 1, 0, 0, 0, 887, 888, 5, 47, 0, 0, 888, 889, 5, 42, 0, 0, 889, 899, 1, 0, 0, 0, 890, 898, 8, 37, 0, 0, 891, 893, 5, 42, 0, 0, 892, 891, 1, 0, 0, 0, 893, 894, 1, 0, 0, 0, 894, 892, 1, 0, 0, 0, 894, 895, 1, 0, 0, 0, 895, 896, 1, 0, 0, 0, 896, 898, 8, 38, 0, 0, 897, 890, 1, 0, 0, 0, 897, 892, 1, 0, 0, 0, 898, 901, 1, 0, 0, 0, 899, 897, 1, 0, 0, 0, 899, 900, 1, 0, 0, 0, 900, 905, 1, 0, 0, 0, 901, 899, 1, 0, 0, 0, 902, 904, 5, 42, 0, 0, 903, 902, 1, 0, 0, 0, 904, 907, 1, 0, 0, 0, 905, 903, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 913, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 908, 910, 5, 13, 0, 0, 909, 911, 5, 10, 0, 0, 910, 909, 1, 0, 0, 0, 910, 911, 1, 0, 0, 0, 911, 914, 1, 0, 0, 0, 912, 914, 5, 10, 0, 0, 913, 908, 1, 0, 0, 0, 913, 912, 1, 0, 0, 0, 914, 918, 1, 0, 0, 0, 915, 917, 9, 0, 0, 0, 916, 915, 1, 0, 0, 0, 917, 920, 1, 0, 0, 0, 918, 919, 1, 0, 0, 0, 918, 916, 1, 0, 0, 0, 919, 921, 1, 0, 0, 0, 920, 918, 1, 0, 0, 0, 921, 922, 5, 42, 0, 0, 922, 923, 5, 47, 0, 0, 923, 162, 1, 0, 0, 0, 924, 926, 3, 3, 1, 0, 925, 924, 1, 0, 0, 0, 926, 927, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 927, 928, 1, 0, 0, 0, 928, 929, 1, 0, 0, 0, 929, 930, 6, 81, 0, 0, 930, 164, 1, 0, 0, 0, 931, 932, 5, 47, 0, 0, 932, 933, 5, 42, 0, 0, 933, 937, 1, 0, 0, 0, 934, 936, 9, 0, 0, 0, 935, 934, 1, 0, 0, 0, 936, 939, 1, 0, 0, 0, 937, 938, 1, 0, 0, 0, 937, 935, 1, 0, 0, 0, 938, 940, 1, 0, 0, 0, 939, 937, 1, 0, 0, 0, 940, 941, 5, 42, 0, 0, 941, 942, 5, 47, 0, 0, 942, 943, 1, 0, 0, 0, 943, 944, 6, 82, 0, 0, 944, 166, 1, 0, 0, 0, 945, 946, 5, 45, 0, 0, 946, 947, 5, 45, 0, 0, 947, 168, 1, 0, 0, 0, 948, 952, 3, 167, 83, 0, 949, 951, 8, 18, 0, 0, 950, 949, 1, 0, 0, 0, 951, 954, 1, 0, 0, 0, 952, 950, 1, 0, 0, 0, 952, 953, 1, 0, 0, 0, 953, 956, 1, 0, 0, 0, 954, 952, 1, 0, 0, 0, 955, 957, 3, 153, 76, 0, 956, 955, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 170, 1, 0, 0, 0, 958, 962, 5, 59, 0, 0, 959, 961, 8, 18, 0, 0, 960, 959, 1, 0, 0, 0, 961, 964, 1, 0, 0, 0, 962, 960, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 172, 1, 0, 0, 0, 964, 962, 1, 0, 0, 0, 965, 966, 5, 47, 0, 0, 966, 969, 5, 47, 0, 0, 967, 969, 5, 35, 0, 0, 968, 965, 1, 0, 0, 0, 968, 967, 1, 0, 0, 0, 969, 973, 1, 0, 0, 0, 970, 972, 8, 18, 0, 0, 971, 970, 1, 0, 0, 0, 972, 975, 1, 0, 0, 0, 973, 971, 1, 0, 0, 0, 973, 974, 1, 0, 0, 0, 974, 976, 1, 0, 0, 0, 975, 973, 1, 0, 0, 0, 976, 977, 6, 86, 0, 0, 977, 174, 1, 0, 0, 0, 978, 981, 3, 57, 28, 0, 979, 981, 3, 177, 88, 0, 980, 978, 1, 0, 0, 0, 980, 979, 1, 0, 0, 0, 981, 176, 1, 0, 0, 0, 982, 986, 7, 1, 0, 0, 983, 985, 7, 4, 0, 0, 984, 983, 1, 0, 0, 0, 985, 988, 1, 0, 0, 0, 986, 984, 1, 0, 0, 0, 986, 987, 1, 0, 0, 0, 987, 178, 1, 0, 0, 0, 988, 986, 1, 0, 0, 0, 989, 991, 3, 73, 36, 0, 990, 989, 1, 0, 0, 0, 991, 992, 1, 0, 0, 0, 992, 990, 1, 0, 0, 0, 992, 993, 1, 0, 0, 0, 993, 180, 1, 0, 0, 0, 994, 996, 3, 149, 74, 0, 995, 997, 3, 179, 89, 0, 996, 995, 1, 0, 0, 0, 997, 998, 1, 0, 0, 0, 998, 996, 1, 0, 0, 0, 998, 999, 1, 0, 0, 0, 999, 182, 1, 0, 0, 0, 126, 0, 203, 207, 213, 218, 222, 226, 231, 235, 239, 244, 248, 252, 257, 261, 265, 270, 292, 297, 300, 309, 318, 336, 341, 343, 350, 352, 359, 365, 369, 374, 379, 384, 389, 394, 399, 404, 411, 417, 425, 427, 432, 443, 448, 486, 490, 492, 498, 500, 506, 511, 516, 521, 523, 529, 531, 537, 542, 547, 549, 555, 560, 566, 569, 581, 592, 612, 615, 624, 639, 641, 656, 658, 666, 672, 677, 683, 687, 694, 696, 705, 707, 711, 718, 720, 729, 731, 735, 753, 759, 765, 774, 777, 781, 784, 788, 794, 833, 840, 843, 845, 853, 860, 863, 872, 875, 877, 883, 894, 897, 899, 905, 910, 913, 918, 927, 937, 952, 956, 962, 968, 973, 980, 986, 992, 998, 1, 6, 0, 0] \ No newline at end of file diff --git a/src/yini_parser/grammar/generated/YiniLexer.py b/src/yini_parser/grammar/generated/YiniLexer.py index 354a05a..e0f6dbf 100644 --- a/src/yini_parser/grammar/generated/YiniLexer.py +++ b/src/yini_parser/grammar/generated/YiniLexer.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,0,40,970,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, + 4,0,41,1000,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, @@ -23,372 +23,385 @@ def serializedATN(): 65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7, 71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77,7,77,2, 78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,2,84,7, - 84,2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,1,0,1,0,1,0, - 1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,8, - 1,8,3,8,202,8,8,1,9,1,9,3,9,206,8,9,1,10,1,10,1,11,1,11,3,11,212, - 8,11,1,11,5,11,215,8,11,10,11,12,11,218,9,11,1,12,3,12,221,8,12, - 1,12,1,12,3,12,225,8,12,1,12,5,12,228,8,12,10,12,12,12,231,9,12, - 1,13,3,13,234,8,13,1,13,1,13,3,13,238,8,13,1,13,5,13,241,8,13,10, - 13,12,13,244,9,13,1,14,3,14,247,8,14,1,14,1,14,3,14,251,8,14,1,14, - 5,14,254,8,14,10,14,12,14,257,9,14,1,15,3,15,260,8,15,1,15,1,15, - 3,15,264,8,15,1,15,5,15,267,8,15,10,15,12,15,270,9,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,18,1,18,1,18,3,18,291,8,18,1,18,5,18,294,8,18,10,18,12,18, - 297,9,18,3,18,299,8,18,1,19,1,19,1,20,1,20,1,20,1,21,1,21,3,21,308, - 8,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,3,22,317,8,22,1,23,1,23, - 1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,25,1,25, - 1,25,3,25,335,8,25,1,26,1,26,1,26,5,26,340,8,26,10,26,12,26,343, - 9,26,1,27,1,27,1,27,1,27,5,27,349,8,27,10,27,12,27,352,9,27,1,27, - 1,27,1,28,1,28,3,28,358,8,28,1,29,1,29,1,29,1,29,3,29,364,8,29,1, - 30,1,30,3,30,368,8,30,1,30,5,30,371,8,30,10,30,12,30,374,9,30,1, - 31,1,31,3,31,378,8,31,1,31,5,31,381,8,31,10,31,12,31,384,9,31,1, - 32,1,32,3,32,388,8,32,1,32,5,32,391,8,32,10,32,12,32,394,9,32,1, - 33,1,33,3,33,398,8,33,1,33,5,33,401,8,33,10,33,12,33,404,9,33,1, - 34,1,34,1,34,1,34,3,34,410,8,34,1,34,1,34,5,34,414,8,34,10,34,12, - 34,417,9,34,1,35,1,35,1,35,1,35,1,35,4,35,424,8,35,11,35,12,35,425, - 1,35,5,35,429,8,35,10,35,12,35,432,9,35,1,36,1,36,1,37,1,37,1,37, - 1,37,5,37,440,8,37,10,37,12,37,443,9,37,1,37,1,37,3,37,447,8,37, - 1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39, - 1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40, - 1,40,1,41,1,41,1,41,1,41,1,41,1,42,1,42,4,42,483,8,42,11,42,12,42, - 484,1,42,1,42,5,42,489,8,42,10,42,12,42,492,9,42,1,42,1,42,1,42, - 5,42,497,8,42,10,42,12,42,500,9,42,1,42,4,42,503,8,42,11,42,12,42, - 504,1,42,5,42,508,8,42,10,42,12,42,511,9,42,1,42,3,42,514,8,42,1, - 42,1,42,1,42,5,42,519,8,42,10,42,12,42,522,9,42,1,42,1,42,1,42,5, - 42,527,8,42,10,42,12,42,530,9,42,1,42,4,42,533,8,42,11,42,12,42, - 534,1,42,5,42,538,8,42,10,42,12,42,541,9,42,1,42,3,42,544,8,42,3, - 42,546,8,42,1,43,1,43,1,43,1,43,3,43,552,8,43,1,43,5,43,555,8,43, - 10,43,12,43,558,9,43,1,43,4,43,561,8,43,11,43,12,43,562,1,43,3,43, - 566,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44, - 578,8,44,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,589,8, - 45,1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,49,1, - 49,1,49,1,49,1,49,1,49,1,49,3,49,609,8,49,1,50,3,50,612,8,50,1,50, - 1,50,1,50,1,50,1,50,5,50,619,8,50,10,50,12,50,622,9,50,1,50,1,50, - 1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,5,51,636,8,51, - 10,51,12,51,639,9,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52, - 1,52,1,52,1,52,5,52,653,8,52,10,52,12,52,656,9,52,1,52,1,52,1,52, - 1,52,1,53,3,53,663,8,53,1,53,1,53,5,53,667,8,53,10,53,12,53,670, - 9,53,1,53,1,53,3,53,674,8,53,1,53,1,53,5,53,678,8,53,10,53,12,53, - 681,9,53,1,53,3,53,684,8,53,1,54,1,54,1,54,1,54,1,54,5,54,691,8, - 54,10,54,12,54,694,9,54,1,54,1,54,1,54,1,54,1,54,1,54,5,54,702,8, - 54,10,54,12,54,705,9,54,1,54,3,54,708,8,54,1,55,1,55,1,55,1,55,1, - 55,5,55,715,8,55,10,55,12,55,718,9,55,1,55,1,55,1,55,1,55,1,55,1, - 55,5,55,726,8,55,10,55,12,55,729,9,55,1,55,3,55,732,8,55,1,56,1, - 56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,5, - 56,748,8,56,10,56,12,56,751,9,56,1,56,5,56,754,8,56,10,56,12,56, - 757,9,56,1,56,5,56,760,8,56,10,56,12,56,763,9,56,1,56,1,56,1,56, - 1,56,1,57,1,57,3,57,771,8,57,1,57,3,57,774,8,57,1,58,3,58,777,8, - 58,1,58,1,58,3,58,781,8,58,1,58,3,58,784,8,58,1,58,3,58,787,8,58, - 1,58,1,58,3,58,791,8,58,1,58,3,58,794,8,58,1,58,1,58,1,58,1,58,3, - 58,800,8,58,3,58,802,8,58,1,59,1,59,1,60,1,60,1,61,1,61,1,62,1,62, - 1,63,1,63,1,64,1,64,1,65,1,65,1,66,1,66,1,67,1,67,1,68,1,68,1,69, - 1,69,1,70,1,70,1,71,1,71,1,72,1,72,1,73,1,73,1,74,1,74,1,75,5,75, - 837,8,75,10,75,12,75,840,9,75,1,75,1,75,1,76,1,76,3,76,846,8,76, - 1,76,4,76,849,8,76,11,76,12,76,850,1,77,1,77,1,77,1,77,5,77,857, - 8,77,10,77,12,77,860,9,77,1,77,1,77,5,77,864,8,77,10,77,12,77,867, - 9,77,3,77,869,8,77,1,78,1,78,1,78,1,78,5,78,875,8,78,10,78,12,78, - 878,9,78,1,78,1,78,1,78,1,79,1,79,1,79,1,79,5,79,887,8,79,10,79, - 12,79,890,9,79,1,79,1,79,1,79,1,80,4,80,896,8,80,11,80,12,80,897, - 1,80,1,80,1,81,1,81,1,81,1,81,5,81,906,8,81,10,81,12,81,909,9,81, - 1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1,83,1,83,5,83,921,8,83, - 10,83,12,83,924,9,83,1,83,3,83,927,8,83,1,84,1,84,5,84,931,8,84, - 10,84,12,84,934,9,84,1,85,1,85,1,85,3,85,939,8,85,1,85,5,85,942, - 8,85,10,85,12,85,945,9,85,1,85,1,85,1,86,1,86,3,86,951,8,86,1,87, - 1,87,5,87,955,8,87,10,87,12,87,958,9,87,1,88,4,88,961,8,88,11,88, - 12,88,962,1,89,1,89,4,89,967,8,89,11,89,12,89,968,7,620,637,654, - 755,876,888,907,0,90,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,17,0,19, - 0,21,0,23,0,25,0,27,0,29,0,31,0,33,0,35,0,37,0,39,0,41,0,43,0,45, - 0,47,0,49,0,51,0,53,0,55,0,57,0,59,0,61,0,63,0,65,0,67,0,69,0,71, - 0,73,0,75,1,77,2,79,3,81,4,83,5,85,6,87,7,89,8,91,9,93,10,95,11, - 97,12,99,13,101,0,103,0,105,0,107,0,109,0,111,0,113,0,115,0,117, - 14,119,15,121,16,123,17,125,18,127,19,129,20,131,21,133,22,135,23, - 137,24,139,25,141,26,143,27,145,28,147,29,149,30,151,0,153,31,155, - 0,157,0,159,0,161,32,163,33,165,0,167,34,169,35,171,36,173,37,175, - 38,177,39,179,40,1,0,37,2,0,9,9,32,32,1,0,48,57,2,0,43,43,45,45, - 3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,48,55,6, - 0,65,66,69,69,88,88,97,98,101,101,120,120,2,0,65,70,97,102,1,0,49, - 57,2,0,69,69,101,101,2,0,66,66,98,98,2,0,79,79,111,111,2,0,90,90, - 122,122,2,0,88,88,120,120,2,0,72,72,104,104,2,0,92,92,96,96,4,0, - 0,31,92,92,96,96,127,159,15,0,9,10,13,13,32,32,34,35,39,39,44,45, - 47,58,60,62,64,64,91,91,93,94,96,96,123,123,125,125,167,167,2,0, - 10,10,13,13,2,0,89,89,121,121,2,0,73,73,105,105,2,0,78,78,110,110, - 2,0,67,67,99,99,2,0,76,76,108,108,2,0,85,85,117,117,2,0,68,68,100, - 100,2,0,80,80,112,112,2,0,82,82,114,114,2,0,65,65,97,97,2,0,84,84, - 116,116,2,0,70,70,102,102,2,0,83,83,115,115,3,0,10,10,13,13,39,39, - 3,0,10,10,13,13,34,34,4,0,10,10,13,13,39,39,92,92,4,0,10,10,13,13, - 34,34,92,92,1,0,32,32,1058,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0, - 0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0, - 0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0, - 0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125, - 1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0, - 0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1, - 0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,153,1,0,0,0,0, - 161,1,0,0,0,0,163,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0, - 0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,1,181, - 1,0,0,0,3,185,1,0,0,0,5,187,1,0,0,0,7,189,1,0,0,0,9,191,1,0,0,0, - 11,193,1,0,0,0,13,195,1,0,0,0,15,197,1,0,0,0,17,201,1,0,0,0,19,205, - 1,0,0,0,21,207,1,0,0,0,23,209,1,0,0,0,25,220,1,0,0,0,27,233,1,0, - 0,0,29,246,1,0,0,0,31,259,1,0,0,0,33,271,1,0,0,0,35,277,1,0,0,0, - 37,298,1,0,0,0,39,300,1,0,0,0,41,302,1,0,0,0,43,305,1,0,0,0,45,316, - 1,0,0,0,47,318,1,0,0,0,49,322,1,0,0,0,51,334,1,0,0,0,53,336,1,0, - 0,0,55,344,1,0,0,0,57,357,1,0,0,0,59,363,1,0,0,0,61,365,1,0,0,0, - 63,375,1,0,0,0,65,385,1,0,0,0,67,395,1,0,0,0,69,409,1,0,0,0,71,423, - 1,0,0,0,73,433,1,0,0,0,75,435,1,0,0,0,77,448,1,0,0,0,79,454,1,0, - 0,0,81,463,1,0,0,0,83,475,1,0,0,0,85,545,1,0,0,0,87,551,1,0,0,0, - 89,577,1,0,0,0,91,588,1,0,0,0,93,590,1,0,0,0,95,595,1,0,0,0,97,598, - 1,0,0,0,99,608,1,0,0,0,101,611,1,0,0,0,103,627,1,0,0,0,105,644,1, - 0,0,0,107,683,1,0,0,0,109,707,1,0,0,0,111,731,1,0,0,0,113,733,1, - 0,0,0,115,773,1,0,0,0,117,801,1,0,0,0,119,803,1,0,0,0,121,805,1, - 0,0,0,123,807,1,0,0,0,125,809,1,0,0,0,127,811,1,0,0,0,129,813,1, - 0,0,0,131,815,1,0,0,0,133,817,1,0,0,0,135,819,1,0,0,0,137,821,1, - 0,0,0,139,823,1,0,0,0,141,825,1,0,0,0,143,827,1,0,0,0,145,829,1, - 0,0,0,147,831,1,0,0,0,149,833,1,0,0,0,151,838,1,0,0,0,153,848,1, - 0,0,0,155,868,1,0,0,0,157,870,1,0,0,0,159,882,1,0,0,0,161,895,1, - 0,0,0,163,901,1,0,0,0,165,915,1,0,0,0,167,918,1,0,0,0,169,928,1, - 0,0,0,171,938,1,0,0,0,173,950,1,0,0,0,175,952,1,0,0,0,177,960,1, - 0,0,0,179,964,1,0,0,0,181,182,2,48,49,0,182,183,2,48,49,0,183,184, - 2,48,49,0,184,2,1,0,0,0,185,186,7,0,0,0,186,4,1,0,0,0,187,188,7, - 1,0,0,188,6,1,0,0,0,189,190,7,2,0,0,190,8,1,0,0,0,191,192,7,3,0, - 0,192,10,1,0,0,0,193,194,7,4,0,0,194,12,1,0,0,0,195,196,2,48,49, - 0,196,14,1,0,0,0,197,198,7,5,0,0,198,16,1,0,0,0,199,202,3,5,2,0, - 200,202,7,6,0,0,201,199,1,0,0,0,201,200,1,0,0,0,202,18,1,0,0,0,203, - 206,3,5,2,0,204,206,7,7,0,0,205,203,1,0,0,0,205,204,1,0,0,0,206, - 20,1,0,0,0,207,208,5,95,0,0,208,22,1,0,0,0,209,216,3,5,2,0,210,212, - 3,21,10,0,211,210,1,0,0,0,211,212,1,0,0,0,212,213,1,0,0,0,213,215, - 3,5,2,0,214,211,1,0,0,0,215,218,1,0,0,0,216,214,1,0,0,0,216,217, - 1,0,0,0,217,24,1,0,0,0,218,216,1,0,0,0,219,221,3,21,10,0,220,219, - 1,0,0,0,220,221,1,0,0,0,221,222,1,0,0,0,222,229,3,13,6,0,223,225, - 3,21,10,0,224,223,1,0,0,0,224,225,1,0,0,0,225,226,1,0,0,0,226,228, - 3,13,6,0,227,224,1,0,0,0,228,231,1,0,0,0,229,227,1,0,0,0,229,230, - 1,0,0,0,230,26,1,0,0,0,231,229,1,0,0,0,232,234,3,21,10,0,233,232, - 1,0,0,0,233,234,1,0,0,0,234,235,1,0,0,0,235,242,3,15,7,0,236,238, - 3,21,10,0,237,236,1,0,0,0,237,238,1,0,0,0,238,239,1,0,0,0,239,241, - 3,15,7,0,240,237,1,0,0,0,241,244,1,0,0,0,242,240,1,0,0,0,242,243, - 1,0,0,0,243,28,1,0,0,0,244,242,1,0,0,0,245,247,3,21,10,0,246,245, - 1,0,0,0,246,247,1,0,0,0,247,248,1,0,0,0,248,255,3,17,8,0,249,251, - 3,21,10,0,250,249,1,0,0,0,250,251,1,0,0,0,251,252,1,0,0,0,252,254, - 3,17,8,0,253,250,1,0,0,0,254,257,1,0,0,0,255,253,1,0,0,0,255,256, - 1,0,0,0,256,30,1,0,0,0,257,255,1,0,0,0,258,260,3,21,10,0,259,258, - 1,0,0,0,259,260,1,0,0,0,260,261,1,0,0,0,261,268,3,19,9,0,262,264, - 3,21,10,0,263,262,1,0,0,0,263,264,1,0,0,0,264,265,1,0,0,0,265,267, - 3,19,9,0,266,263,1,0,0,0,267,270,1,0,0,0,268,266,1,0,0,0,268,269, - 1,0,0,0,269,32,1,0,0,0,270,268,1,0,0,0,271,272,5,117,0,0,272,273, - 3,19,9,0,273,274,3,19,9,0,274,275,3,19,9,0,275,276,3,19,9,0,276, - 34,1,0,0,0,277,278,5,85,0,0,278,279,3,19,9,0,279,280,3,19,9,0,280, - 281,3,19,9,0,281,282,3,19,9,0,282,283,3,19,9,0,283,284,3,19,9,0, - 284,285,3,19,9,0,285,286,3,19,9,0,286,36,1,0,0,0,287,299,5,48,0, - 0,288,295,7,8,0,0,289,291,3,21,10,0,290,289,1,0,0,0,290,291,1,0, - 0,0,291,292,1,0,0,0,292,294,3,5,2,0,293,290,1,0,0,0,294,297,1,0, - 0,0,295,293,1,0,0,0,295,296,1,0,0,0,296,299,1,0,0,0,297,295,1,0, - 0,0,298,287,1,0,0,0,298,288,1,0,0,0,299,38,1,0,0,0,300,301,3,37, - 18,0,301,40,1,0,0,0,302,303,5,46,0,0,303,304,3,23,11,0,304,42,1, - 0,0,0,305,307,7,9,0,0,306,308,3,7,3,0,307,306,1,0,0,0,307,308,1, - 0,0,0,308,309,1,0,0,0,309,310,3,23,11,0,310,44,1,0,0,0,311,312,5, - 48,0,0,312,313,7,10,0,0,313,317,3,25,12,0,314,315,5,37,0,0,315,317, - 3,25,12,0,316,311,1,0,0,0,316,314,1,0,0,0,317,46,1,0,0,0,318,319, - 5,48,0,0,319,320,7,11,0,0,320,321,3,27,13,0,321,48,1,0,0,0,322,323, - 5,48,0,0,323,324,7,12,0,0,324,325,3,29,14,0,325,50,1,0,0,0,326,327, - 5,48,0,0,327,328,7,13,0,0,328,335,3,31,15,0,329,330,7,14,0,0,330, - 331,7,9,0,0,331,332,7,13,0,0,332,333,5,58,0,0,333,335,3,31,15,0, - 334,326,1,0,0,0,334,329,1,0,0,0,335,52,1,0,0,0,336,341,3,9,4,0,337, - 340,3,11,5,0,338,340,5,46,0,0,339,337,1,0,0,0,339,338,1,0,0,0,340, - 343,1,0,0,0,341,339,1,0,0,0,341,342,1,0,0,0,342,54,1,0,0,0,343,341, - 1,0,0,0,344,350,5,96,0,0,345,346,5,92,0,0,346,349,7,15,0,0,347,349, - 8,16,0,0,348,345,1,0,0,0,348,347,1,0,0,0,349,352,1,0,0,0,350,348, - 1,0,0,0,350,351,1,0,0,0,351,353,1,0,0,0,352,350,1,0,0,0,353,354, - 5,96,0,0,354,56,1,0,0,0,355,358,3,53,26,0,356,358,3,55,27,0,357, - 355,1,0,0,0,357,356,1,0,0,0,358,58,1,0,0,0,359,364,3,61,30,0,360, - 364,3,63,31,0,361,364,3,65,32,0,362,364,3,67,33,0,363,359,1,0,0, - 0,363,360,1,0,0,0,363,361,1,0,0,0,363,362,1,0,0,0,364,60,1,0,0,0, - 365,372,3,119,59,0,366,368,3,21,10,0,367,366,1,0,0,0,367,368,1,0, - 0,0,368,369,1,0,0,0,369,371,3,119,59,0,370,367,1,0,0,0,371,374,1, - 0,0,0,372,370,1,0,0,0,372,373,1,0,0,0,373,62,1,0,0,0,374,372,1,0, - 0,0,375,382,3,121,60,0,376,378,3,21,10,0,377,376,1,0,0,0,377,378, - 1,0,0,0,378,379,1,0,0,0,379,381,3,121,60,0,380,377,1,0,0,0,381,384, - 1,0,0,0,382,380,1,0,0,0,382,383,1,0,0,0,383,64,1,0,0,0,384,382,1, - 0,0,0,385,392,3,123,61,0,386,388,3,21,10,0,387,386,1,0,0,0,387,388, - 1,0,0,0,388,389,1,0,0,0,389,391,3,123,61,0,390,387,1,0,0,0,391,394, - 1,0,0,0,392,390,1,0,0,0,392,393,1,0,0,0,393,66,1,0,0,0,394,392,1, - 0,0,0,395,402,3,125,62,0,396,398,3,21,10,0,397,396,1,0,0,0,397,398, - 1,0,0,0,398,399,1,0,0,0,399,401,3,125,62,0,400,397,1,0,0,0,401,404, - 1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,68,1,0,0,0,404,402,1, - 0,0,0,405,410,3,119,59,0,406,410,3,121,60,0,407,410,3,123,61,0,408, - 410,3,125,62,0,409,405,1,0,0,0,409,406,1,0,0,0,409,407,1,0,0,0,409, - 408,1,0,0,0,410,411,1,0,0,0,411,415,7,8,0,0,412,414,3,5,2,0,413, - 412,1,0,0,0,414,417,1,0,0,0,415,413,1,0,0,0,415,416,1,0,0,0,416, - 70,1,0,0,0,417,415,1,0,0,0,418,424,3,119,59,0,419,424,3,121,60,0, - 420,424,3,123,61,0,421,424,3,125,62,0,422,424,3,21,10,0,423,418, - 1,0,0,0,423,419,1,0,0,0,423,420,1,0,0,0,423,421,1,0,0,0,423,422, - 1,0,0,0,424,425,1,0,0,0,425,423,1,0,0,0,425,426,1,0,0,0,426,430, - 1,0,0,0,427,429,3,5,2,0,428,427,1,0,0,0,429,432,1,0,0,0,430,428, - 1,0,0,0,430,431,1,0,0,0,431,72,1,0,0,0,432,430,1,0,0,0,433,434,8, - 17,0,0,434,74,1,0,0,0,435,436,5,35,0,0,436,437,5,33,0,0,437,441, - 1,0,0,0,438,440,8,18,0,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439, - 1,0,0,0,441,442,1,0,0,0,442,446,1,0,0,0,443,441,1,0,0,0,444,447, - 3,151,75,0,445,447,5,0,0,1,446,444,1,0,0,0,446,445,1,0,0,0,447,76, - 1,0,0,0,448,449,5,64,0,0,449,450,7,19,0,0,450,451,7,20,0,0,451,452, - 7,21,0,0,452,453,7,20,0,0,453,78,1,0,0,0,454,455,5,64,0,0,455,456, - 7,20,0,0,456,457,7,21,0,0,457,458,7,22,0,0,458,459,7,23,0,0,459, - 460,7,24,0,0,460,461,7,25,0,0,461,462,7,9,0,0,462,80,1,0,0,0,463, - 464,5,64,0,0,464,465,7,25,0,0,465,466,7,9,0,0,466,467,7,26,0,0,467, - 468,7,27,0,0,468,469,7,9,0,0,469,470,7,22,0,0,470,471,7,28,0,0,471, - 472,7,29,0,0,472,473,7,9,0,0,473,474,7,25,0,0,474,82,1,0,0,0,475, - 476,5,47,0,0,476,477,7,9,0,0,477,478,7,21,0,0,478,479,7,25,0,0,479, - 84,1,0,0,0,480,482,3,69,34,0,481,483,3,3,1,0,482,481,1,0,0,0,483, - 484,1,0,0,0,484,482,1,0,0,0,484,485,1,0,0,0,485,490,1,0,0,0,486, - 489,3,3,1,0,487,489,3,157,78,0,488,486,1,0,0,0,488,487,1,0,0,0,489, - 492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,493,1,0,0,0,492, - 490,1,0,0,0,493,498,3,57,28,0,494,497,3,3,1,0,495,497,3,159,79,0, - 496,494,1,0,0,0,496,495,1,0,0,0,497,500,1,0,0,0,498,496,1,0,0,0, - 498,499,1,0,0,0,499,513,1,0,0,0,500,498,1,0,0,0,501,503,3,151,75, - 0,502,501,1,0,0,0,503,504,1,0,0,0,504,502,1,0,0,0,504,505,1,0,0, - 0,505,514,1,0,0,0,506,508,3,155,77,0,507,506,1,0,0,0,508,511,1,0, - 0,0,509,507,1,0,0,0,509,510,1,0,0,0,510,512,1,0,0,0,511,509,1,0, - 0,0,512,514,5,0,0,1,513,502,1,0,0,0,513,509,1,0,0,0,514,546,1,0, - 0,0,515,520,3,59,29,0,516,519,3,3,1,0,517,519,3,157,78,0,518,516, - 1,0,0,0,518,517,1,0,0,0,519,522,1,0,0,0,520,518,1,0,0,0,520,521, - 1,0,0,0,521,523,1,0,0,0,522,520,1,0,0,0,523,528,3,57,28,0,524,527, - 3,3,1,0,525,527,3,159,79,0,526,524,1,0,0,0,526,525,1,0,0,0,527,530, - 1,0,0,0,528,526,1,0,0,0,528,529,1,0,0,0,529,543,1,0,0,0,530,528, - 1,0,0,0,531,533,3,151,75,0,532,531,1,0,0,0,533,534,1,0,0,0,534,532, - 1,0,0,0,534,535,1,0,0,0,535,544,1,0,0,0,536,538,3,155,77,0,537,536, - 1,0,0,0,538,541,1,0,0,0,539,537,1,0,0,0,539,540,1,0,0,0,540,542, - 1,0,0,0,541,539,1,0,0,0,542,544,5,0,0,1,543,532,1,0,0,0,543,539, - 1,0,0,0,544,546,1,0,0,0,545,480,1,0,0,0,545,515,1,0,0,0,546,86,1, - 0,0,0,547,552,3,119,59,0,548,552,3,121,60,0,549,552,3,123,61,0,550, - 552,3,125,62,0,551,547,1,0,0,0,551,548,1,0,0,0,551,549,1,0,0,0,551, - 550,1,0,0,0,552,556,1,0,0,0,553,555,8,18,0,0,554,553,1,0,0,0,555, - 558,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,565,1,0,0,0,558, - 556,1,0,0,0,559,561,3,151,75,0,560,559,1,0,0,0,561,562,1,0,0,0,562, - 560,1,0,0,0,562,563,1,0,0,0,563,566,1,0,0,0,564,566,5,0,0,1,565, - 560,1,0,0,0,565,564,1,0,0,0,566,88,1,0,0,0,567,568,7,30,0,0,568, - 569,7,28,0,0,569,570,7,23,0,0,570,571,7,31,0,0,571,578,7,9,0,0,572, - 573,7,11,0,0,573,574,7,30,0,0,574,578,7,30,0,0,575,576,7,21,0,0, - 576,578,7,11,0,0,577,567,1,0,0,0,577,572,1,0,0,0,577,575,1,0,0,0, - 578,90,1,0,0,0,579,580,7,29,0,0,580,581,7,27,0,0,581,582,7,24,0, - 0,582,589,7,9,0,0,583,584,7,11,0,0,584,589,7,21,0,0,585,586,7,19, - 0,0,586,587,7,9,0,0,587,589,7,31,0,0,588,579,1,0,0,0,588,583,1,0, - 0,0,588,585,1,0,0,0,589,92,1,0,0,0,590,591,7,21,0,0,591,592,7,24, - 0,0,592,593,7,23,0,0,593,594,7,23,0,0,594,94,1,0,0,0,595,596,5,123, - 0,0,596,597,5,125,0,0,597,96,1,0,0,0,598,599,5,91,0,0,599,600,5, - 93,0,0,600,98,1,0,0,0,601,609,3,103,51,0,602,609,3,105,52,0,603, - 609,3,101,50,0,604,609,3,109,54,0,605,609,3,111,55,0,606,609,3,107, - 53,0,607,609,3,113,56,0,608,601,1,0,0,0,608,602,1,0,0,0,608,603, - 1,0,0,0,608,604,1,0,0,0,608,605,1,0,0,0,608,606,1,0,0,0,608,607, - 1,0,0,0,609,100,1,0,0,0,610,612,7,27,0,0,611,610,1,0,0,0,611,612, - 1,0,0,0,612,613,1,0,0,0,613,614,5,34,0,0,614,615,5,34,0,0,615,616, - 5,34,0,0,616,620,1,0,0,0,617,619,9,0,0,0,618,617,1,0,0,0,619,622, - 1,0,0,0,620,621,1,0,0,0,620,618,1,0,0,0,621,623,1,0,0,0,622,620, - 1,0,0,0,623,624,5,34,0,0,624,625,5,34,0,0,625,626,5,34,0,0,626,102, - 1,0,0,0,627,628,7,22,0,0,628,629,5,34,0,0,629,630,5,34,0,0,630,631, - 5,34,0,0,631,637,1,0,0,0,632,633,5,92,0,0,633,636,9,0,0,0,634,636, - 9,0,0,0,635,632,1,0,0,0,635,634,1,0,0,0,636,639,1,0,0,0,637,638, - 1,0,0,0,637,635,1,0,0,0,638,640,1,0,0,0,639,637,1,0,0,0,640,641, - 5,34,0,0,641,642,5,34,0,0,642,643,5,34,0,0,643,104,1,0,0,0,644,645, - 7,9,0,0,645,646,5,34,0,0,646,647,5,34,0,0,647,648,5,34,0,0,648,654, - 1,0,0,0,649,650,5,92,0,0,650,653,9,0,0,0,651,653,9,0,0,0,652,649, - 1,0,0,0,652,651,1,0,0,0,653,656,1,0,0,0,654,655,1,0,0,0,654,652, - 1,0,0,0,655,657,1,0,0,0,656,654,1,0,0,0,657,658,5,34,0,0,658,659, - 5,34,0,0,659,660,5,34,0,0,660,106,1,0,0,0,661,663,7,27,0,0,662,661, - 1,0,0,0,662,663,1,0,0,0,663,664,1,0,0,0,664,668,5,39,0,0,665,667, - 8,32,0,0,666,665,1,0,0,0,667,670,1,0,0,0,668,666,1,0,0,0,668,669, - 1,0,0,0,669,671,1,0,0,0,670,668,1,0,0,0,671,684,5,39,0,0,672,674, - 7,27,0,0,673,672,1,0,0,0,673,674,1,0,0,0,674,675,1,0,0,0,675,679, - 5,34,0,0,676,678,8,33,0,0,677,676,1,0,0,0,678,681,1,0,0,0,679,677, - 1,0,0,0,679,680,1,0,0,0,680,682,1,0,0,0,681,679,1,0,0,0,682,684, - 5,34,0,0,683,662,1,0,0,0,683,673,1,0,0,0,684,108,1,0,0,0,685,686, - 7,22,0,0,686,692,5,39,0,0,687,688,5,92,0,0,688,691,8,18,0,0,689, - 691,8,34,0,0,690,687,1,0,0,0,690,689,1,0,0,0,691,694,1,0,0,0,692, - 690,1,0,0,0,692,693,1,0,0,0,693,695,1,0,0,0,694,692,1,0,0,0,695, - 708,5,39,0,0,696,697,7,22,0,0,697,703,5,34,0,0,698,699,5,92,0,0, - 699,702,8,18,0,0,700,702,8,35,0,0,701,698,1,0,0,0,701,700,1,0,0, - 0,702,705,1,0,0,0,703,701,1,0,0,0,703,704,1,0,0,0,704,706,1,0,0, - 0,705,703,1,0,0,0,706,708,5,34,0,0,707,685,1,0,0,0,707,696,1,0,0, - 0,708,110,1,0,0,0,709,710,7,9,0,0,710,716,5,39,0,0,711,712,5,92, - 0,0,712,715,8,18,0,0,713,715,8,34,0,0,714,711,1,0,0,0,714,713,1, - 0,0,0,715,718,1,0,0,0,716,714,1,0,0,0,716,717,1,0,0,0,717,719,1, - 0,0,0,718,716,1,0,0,0,719,732,5,39,0,0,720,721,7,9,0,0,721,727,5, - 34,0,0,722,723,5,92,0,0,723,726,8,18,0,0,724,726,8,35,0,0,725,722, - 1,0,0,0,725,724,1,0,0,0,726,729,1,0,0,0,727,725,1,0,0,0,727,728, - 1,0,0,0,728,730,1,0,0,0,729,727,1,0,0,0,730,732,5,34,0,0,731,709, - 1,0,0,0,731,720,1,0,0,0,732,112,1,0,0,0,733,734,5,99,0,0,734,735, - 5,111,0,0,735,736,5,109,0,0,736,737,5,109,0,0,737,738,5,97,0,0,738, - 739,5,110,0,0,739,740,5,100,0,0,740,741,1,0,0,0,741,742,5,34,0,0, - 742,743,5,34,0,0,743,744,5,34,0,0,744,745,1,0,0,0,745,755,3,115, - 57,0,746,748,8,18,0,0,747,746,1,0,0,0,748,751,1,0,0,0,749,747,1, - 0,0,0,749,750,1,0,0,0,750,752,1,0,0,0,751,749,1,0,0,0,752,754,3, - 115,57,0,753,749,1,0,0,0,754,757,1,0,0,0,755,756,1,0,0,0,755,753, - 1,0,0,0,756,761,1,0,0,0,757,755,1,0,0,0,758,760,7,36,0,0,759,758, - 1,0,0,0,760,763,1,0,0,0,761,759,1,0,0,0,761,762,1,0,0,0,762,764, - 1,0,0,0,763,761,1,0,0,0,764,765,5,34,0,0,765,766,5,34,0,0,766,767, - 5,34,0,0,767,114,1,0,0,0,768,770,5,13,0,0,769,771,5,10,0,0,770,769, - 1,0,0,0,770,771,1,0,0,0,771,774,1,0,0,0,772,774,5,10,0,0,773,768, - 1,0,0,0,773,772,1,0,0,0,774,116,1,0,0,0,775,777,3,7,3,0,776,775, - 1,0,0,0,776,777,1,0,0,0,777,778,1,0,0,0,778,780,3,39,19,0,779,781, - 3,41,20,0,780,779,1,0,0,0,780,781,1,0,0,0,781,783,1,0,0,0,782,784, - 3,43,21,0,783,782,1,0,0,0,783,784,1,0,0,0,784,802,1,0,0,0,785,787, - 3,7,3,0,786,785,1,0,0,0,786,787,1,0,0,0,787,788,1,0,0,0,788,790, - 3,41,20,0,789,791,3,43,21,0,790,789,1,0,0,0,790,791,1,0,0,0,791, - 802,1,0,0,0,792,794,3,7,3,0,793,792,1,0,0,0,793,794,1,0,0,0,794, - 799,1,0,0,0,795,800,3,45,22,0,796,800,3,47,23,0,797,800,3,49,24, - 0,798,800,3,51,25,0,799,795,1,0,0,0,799,796,1,0,0,0,799,797,1,0, - 0,0,799,798,1,0,0,0,800,802,1,0,0,0,801,776,1,0,0,0,801,786,1,0, - 0,0,801,793,1,0,0,0,802,118,1,0,0,0,803,804,5,94,0,0,804,120,1,0, - 0,0,805,806,5,167,0,0,806,122,1,0,0,0,807,808,5,62,0,0,808,124,1, - 0,0,0,809,810,5,60,0,0,810,126,1,0,0,0,811,812,5,61,0,0,812,128, - 1,0,0,0,813,814,5,44,0,0,814,130,1,0,0,0,815,816,5,58,0,0,816,132, - 1,0,0,0,817,818,5,91,0,0,818,134,1,0,0,0,819,820,5,93,0,0,820,136, - 1,0,0,0,821,822,5,123,0,0,822,138,1,0,0,0,823,824,5,125,0,0,824, - 140,1,0,0,0,825,826,5,43,0,0,826,142,1,0,0,0,827,828,5,36,0,0,828, - 144,1,0,0,0,829,830,5,37,0,0,830,146,1,0,0,0,831,832,5,64,0,0,832, - 148,1,0,0,0,833,834,5,59,0,0,834,150,1,0,0,0,835,837,3,155,77,0, - 836,835,1,0,0,0,837,840,1,0,0,0,838,836,1,0,0,0,838,839,1,0,0,0, - 839,841,1,0,0,0,840,838,1,0,0,0,841,842,3,153,76,0,842,152,1,0,0, - 0,843,845,5,13,0,0,844,846,5,10,0,0,845,844,1,0,0,0,845,846,1,0, - 0,0,846,849,1,0,0,0,847,849,5,10,0,0,848,843,1,0,0,0,848,847,1,0, - 0,0,849,850,1,0,0,0,850,848,1,0,0,0,850,851,1,0,0,0,851,154,1,0, - 0,0,852,853,5,47,0,0,853,854,5,47,0,0,854,858,1,0,0,0,855,857,8, - 18,0,0,856,855,1,0,0,0,857,860,1,0,0,0,858,856,1,0,0,0,858,859,1, - 0,0,0,859,869,1,0,0,0,860,858,1,0,0,0,861,865,5,35,0,0,862,864,8, - 18,0,0,863,862,1,0,0,0,864,867,1,0,0,0,865,863,1,0,0,0,865,866,1, - 0,0,0,866,869,1,0,0,0,867,865,1,0,0,0,868,852,1,0,0,0,868,861,1, - 0,0,0,869,156,1,0,0,0,870,871,5,47,0,0,871,872,5,42,0,0,872,876, - 1,0,0,0,873,875,8,18,0,0,874,873,1,0,0,0,875,878,1,0,0,0,876,877, - 1,0,0,0,876,874,1,0,0,0,877,879,1,0,0,0,878,876,1,0,0,0,879,880, - 5,42,0,0,880,881,5,47,0,0,881,158,1,0,0,0,882,883,5,47,0,0,883,884, - 5,42,0,0,884,888,1,0,0,0,885,887,9,0,0,0,886,885,1,0,0,0,887,890, - 1,0,0,0,888,889,1,0,0,0,888,886,1,0,0,0,889,891,1,0,0,0,890,888, - 1,0,0,0,891,892,5,42,0,0,892,893,5,47,0,0,893,160,1,0,0,0,894,896, - 3,3,1,0,895,894,1,0,0,0,896,897,1,0,0,0,897,895,1,0,0,0,897,898, - 1,0,0,0,898,899,1,0,0,0,899,900,6,80,0,0,900,162,1,0,0,0,901,902, - 5,47,0,0,902,903,5,42,0,0,903,907,1,0,0,0,904,906,9,0,0,0,905,904, - 1,0,0,0,906,909,1,0,0,0,907,908,1,0,0,0,907,905,1,0,0,0,908,910, - 1,0,0,0,909,907,1,0,0,0,910,911,5,42,0,0,911,912,5,47,0,0,912,913, - 1,0,0,0,913,914,6,81,0,0,914,164,1,0,0,0,915,916,5,45,0,0,916,917, - 5,45,0,0,917,166,1,0,0,0,918,922,3,165,82,0,919,921,8,18,0,0,920, - 919,1,0,0,0,921,924,1,0,0,0,922,920,1,0,0,0,922,923,1,0,0,0,923, - 926,1,0,0,0,924,922,1,0,0,0,925,927,3,151,75,0,926,925,1,0,0,0,926, - 927,1,0,0,0,927,168,1,0,0,0,928,932,5,59,0,0,929,931,8,18,0,0,930, - 929,1,0,0,0,931,934,1,0,0,0,932,930,1,0,0,0,932,933,1,0,0,0,933, - 170,1,0,0,0,934,932,1,0,0,0,935,936,5,47,0,0,936,939,5,47,0,0,937, - 939,5,35,0,0,938,935,1,0,0,0,938,937,1,0,0,0,939,943,1,0,0,0,940, - 942,8,18,0,0,941,940,1,0,0,0,942,945,1,0,0,0,943,941,1,0,0,0,943, - 944,1,0,0,0,944,946,1,0,0,0,945,943,1,0,0,0,946,947,6,85,0,0,947, - 172,1,0,0,0,948,951,3,57,28,0,949,951,3,175,87,0,950,948,1,0,0,0, - 950,949,1,0,0,0,951,174,1,0,0,0,952,956,7,1,0,0,953,955,7,4,0,0, - 954,953,1,0,0,0,955,958,1,0,0,0,956,954,1,0,0,0,956,957,1,0,0,0, - 957,176,1,0,0,0,958,956,1,0,0,0,959,961,3,73,36,0,960,959,1,0,0, - 0,961,962,1,0,0,0,962,960,1,0,0,0,962,963,1,0,0,0,963,178,1,0,0, - 0,964,966,3,147,73,0,965,967,3,177,88,0,966,965,1,0,0,0,967,968, - 1,0,0,0,968,966,1,0,0,0,968,969,1,0,0,0,969,180,1,0,0,0,121,0,201, - 205,211,216,220,224,229,233,237,242,246,250,255,259,263,268,290, - 295,298,307,316,334,339,341,348,350,357,363,367,372,377,382,387, - 392,397,402,409,415,423,425,430,441,446,484,488,490,496,498,504, - 509,513,518,520,526,528,534,539,543,545,551,556,562,565,577,588, - 608,611,620,635,637,652,654,662,668,673,679,683,690,692,701,703, - 707,714,716,725,727,731,749,755,761,770,773,776,780,783,786,790, - 793,799,801,838,845,848,850,858,865,868,876,888,897,907,922,926, - 932,938,943,950,956,962,968,1,6,0,0 + 84,2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,2,90,7,90,1, + 0,1,0,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,6,1,6,1, + 7,1,7,1,8,1,8,3,8,204,8,8,1,9,1,9,3,9,208,8,9,1,10,1,10,1,11,1,11, + 3,11,214,8,11,1,11,5,11,217,8,11,10,11,12,11,220,9,11,1,12,3,12, + 223,8,12,1,12,1,12,3,12,227,8,12,1,12,5,12,230,8,12,10,12,12,12, + 233,9,12,1,13,3,13,236,8,13,1,13,1,13,3,13,240,8,13,1,13,5,13,243, + 8,13,10,13,12,13,246,9,13,1,14,3,14,249,8,14,1,14,1,14,3,14,253, + 8,14,1,14,5,14,256,8,14,10,14,12,14,259,9,14,1,15,3,15,262,8,15, + 1,15,1,15,3,15,266,8,15,1,15,5,15,269,8,15,10,15,12,15,272,9,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,18,1,18,1,18,3,18,293,8,18,1,18,5,18,296,8,18,10, + 18,12,18,299,9,18,3,18,301,8,18,1,19,1,19,1,20,1,20,1,20,1,21,1, + 21,3,21,310,8,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,3,22,319,8,22, + 1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25, + 1,25,1,25,1,25,3,25,337,8,25,1,26,1,26,1,26,5,26,342,8,26,10,26, + 12,26,345,9,26,1,27,1,27,1,27,1,27,5,27,351,8,27,10,27,12,27,354, + 9,27,1,27,1,27,1,28,1,28,3,28,360,8,28,1,29,1,29,1,29,1,29,3,29, + 366,8,29,1,30,1,30,3,30,370,8,30,1,30,5,30,373,8,30,10,30,12,30, + 376,9,30,1,31,1,31,3,31,380,8,31,1,31,5,31,383,8,31,10,31,12,31, + 386,9,31,1,32,1,32,3,32,390,8,32,1,32,5,32,393,8,32,10,32,12,32, + 396,9,32,1,33,1,33,3,33,400,8,33,1,33,5,33,403,8,33,10,33,12,33, + 406,9,33,1,34,1,34,1,34,1,34,3,34,412,8,34,1,34,1,34,5,34,416,8, + 34,10,34,12,34,419,9,34,1,35,1,35,1,35,1,35,1,35,4,35,426,8,35,11, + 35,12,35,427,1,35,5,35,431,8,35,10,35,12,35,434,9,35,1,36,1,36,1, + 37,1,37,1,37,1,37,5,37,442,8,37,10,37,12,37,445,9,37,1,37,1,37,3, + 37,449,8,37,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1, + 39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1, + 40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,42,1,42,4,42,485,8, + 42,11,42,12,42,486,1,42,1,42,5,42,491,8,42,10,42,12,42,494,9,42, + 1,42,1,42,1,42,5,42,499,8,42,10,42,12,42,502,9,42,1,42,4,42,505, + 8,42,11,42,12,42,506,1,42,5,42,510,8,42,10,42,12,42,513,9,42,1,42, + 1,42,3,42,517,8,42,1,42,1,42,1,42,5,42,522,8,42,10,42,12,42,525, + 9,42,1,42,1,42,1,42,5,42,530,8,42,10,42,12,42,533,9,42,1,42,4,42, + 536,8,42,11,42,12,42,537,1,42,5,42,541,8,42,10,42,12,42,544,9,42, + 1,42,1,42,3,42,548,8,42,3,42,550,8,42,1,43,1,43,1,43,1,43,3,43,556, + 8,43,1,43,5,43,559,8,43,10,43,12,43,562,9,43,1,43,4,43,565,8,43, + 11,43,12,43,566,1,43,3,43,570,8,43,1,44,1,44,1,44,1,44,1,44,1,44, + 1,44,1,44,1,44,1,44,3,44,582,8,44,1,45,1,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,3,45,593,8,45,1,46,1,46,1,46,1,46,1,46,1,47,1,47, + 1,47,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,3,49,613, + 8,49,1,50,3,50,616,8,50,1,50,1,50,1,50,1,50,1,50,5,50,623,8,50,10, + 50,12,50,626,9,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1, + 51,1,51,1,51,5,51,640,8,51,10,51,12,51,643,9,51,1,51,1,51,1,51,1, + 51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,5,52,657,8,52,10,52,12, + 52,660,9,52,1,52,1,52,1,52,1,52,1,53,3,53,667,8,53,1,53,1,53,5,53, + 671,8,53,10,53,12,53,674,9,53,1,53,1,53,3,53,678,8,53,1,53,1,53, + 5,53,682,8,53,10,53,12,53,685,9,53,1,53,3,53,688,8,53,1,54,1,54, + 1,54,1,54,1,54,5,54,695,8,54,10,54,12,54,698,9,54,1,54,1,54,1,54, + 1,54,1,54,1,54,5,54,706,8,54,10,54,12,54,709,9,54,1,54,3,54,712, + 8,54,1,55,1,55,1,55,1,55,1,55,5,55,719,8,55,10,55,12,55,722,9,55, + 1,55,1,55,1,55,1,55,1,55,1,55,5,55,730,8,55,10,55,12,55,733,9,55, + 1,55,3,55,736,8,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56, + 1,56,1,56,1,56,1,56,1,56,5,56,752,8,56,10,56,12,56,755,9,56,1,56, + 5,56,758,8,56,10,56,12,56,761,9,56,1,56,5,56,764,8,56,10,56,12,56, + 767,9,56,1,56,1,56,1,56,1,56,1,57,1,57,3,57,775,8,57,1,57,3,57,778, + 8,57,1,58,1,58,3,58,782,8,58,1,58,3,58,785,8,58,1,58,1,58,3,58,789, + 8,58,1,58,1,58,1,58,1,58,3,58,795,8,58,1,59,1,59,1,60,1,60,1,61, + 1,61,1,62,1,62,1,63,1,63,1,64,1,64,1,65,1,65,1,66,1,66,1,67,1,67, + 1,68,1,68,1,69,1,69,1,70,1,70,1,71,1,71,1,72,1,72,1,73,1,73,1,74, + 1,74,1,75,1,75,1,76,5,76,832,8,76,10,76,12,76,835,9,76,1,76,1,76, + 1,77,1,77,3,77,841,8,77,1,77,4,77,844,8,77,11,77,12,77,845,1,78, + 1,78,1,78,1,78,5,78,852,8,78,10,78,12,78,855,9,78,1,78,1,78,5,78, + 859,8,78,10,78,12,78,862,9,78,3,78,864,8,78,1,79,1,79,1,79,1,79, + 1,79,4,79,871,8,79,11,79,12,79,872,1,79,5,79,876,8,79,10,79,12,79, + 879,9,79,1,79,4,79,882,8,79,11,79,12,79,883,1,79,1,79,1,80,1,80, + 1,80,1,80,1,80,4,80,893,8,80,11,80,12,80,894,1,80,5,80,898,8,80, + 10,80,12,80,901,9,80,1,80,5,80,904,8,80,10,80,12,80,907,9,80,1,80, + 1,80,3,80,911,8,80,1,80,3,80,914,8,80,1,80,5,80,917,8,80,10,80,12, + 80,920,9,80,1,80,1,80,1,80,1,81,4,81,926,8,81,11,81,12,81,927,1, + 81,1,81,1,82,1,82,1,82,1,82,5,82,936,8,82,10,82,12,82,939,9,82,1, + 82,1,82,1,82,1,82,1,82,1,83,1,83,1,83,1,84,1,84,5,84,951,8,84,10, + 84,12,84,954,9,84,1,84,3,84,957,8,84,1,85,1,85,5,85,961,8,85,10, + 85,12,85,964,9,85,1,86,1,86,1,86,3,86,969,8,86,1,86,5,86,972,8,86, + 10,86,12,86,975,9,86,1,86,1,86,1,87,1,87,3,87,981,8,87,1,88,1,88, + 5,88,985,8,88,10,88,12,88,988,9,88,1,89,4,89,991,8,89,11,89,12,89, + 992,1,90,1,90,4,90,997,8,90,11,90,12,90,998,6,624,641,658,759,918, + 937,0,91,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,17,0,19,0,21,0,23,0, + 25,0,27,0,29,0,31,0,33,0,35,0,37,0,39,0,41,0,43,0,45,0,47,0,49,0, + 51,0,53,0,55,0,57,0,59,0,61,0,63,0,65,0,67,0,69,0,71,0,73,0,75,1, + 77,2,79,3,81,4,83,5,85,6,87,7,89,8,91,9,93,10,95,11,97,12,99,13, + 101,0,103,0,105,0,107,0,109,0,111,0,113,0,115,0,117,14,119,15,121, + 16,123,17,125,18,127,19,129,20,131,21,133,22,135,23,137,24,139,25, + 141,26,143,27,145,28,147,29,149,30,151,31,153,0,155,32,157,0,159, + 0,161,0,163,33,165,34,167,0,169,35,171,36,173,37,175,38,177,39,179, + 40,181,41,1,0,39,2,0,9,9,32,32,1,0,48,57,2,0,43,43,45,45,3,0,65, + 90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,48,55,6,0,65,66, + 69,69,88,88,97,98,101,101,120,120,2,0,65,70,97,102,1,0,49,57,2,0, + 69,69,101,101,2,0,66,66,98,98,2,0,79,79,111,111,2,0,90,90,122,122, + 2,0,88,88,120,120,2,0,72,72,104,104,2,0,92,92,96,96,4,0,0,31,92, + 92,96,96,127,159,15,0,9,10,13,13,32,32,34,35,39,39,43,45,47,58,60, + 62,64,64,91,91,93,94,96,96,123,123,125,125,167,167,2,0,10,10,13, + 13,2,0,89,89,121,121,2,0,73,73,105,105,2,0,78,78,110,110,2,0,67, + 67,99,99,2,0,76,76,108,108,2,0,85,85,117,117,2,0,68,68,100,100,2, + 0,80,80,112,112,2,0,82,82,114,114,2,0,65,65,97,97,2,0,84,84,116, + 116,2,0,70,70,102,102,2,0,83,83,115,115,3,0,10,10,13,13,39,39,3, + 0,10,10,13,13,34,34,4,0,10,10,13,13,39,39,92,92,4,0,10,10,13,13, + 34,34,92,92,1,0,32,32,3,0,10,10,13,13,42,42,4,0,10,10,13,13,42,42, + 47,47,1096,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0, + 83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0, + 93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,117,1,0,0,0, + 0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0,127,1, + 0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0, + 137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0, + 0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,155,1,0,0,0,0,163, + 1,0,0,0,0,165,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0,173,1,0,0,0, + 0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1,0,0,0,1,183,1, + 0,0,0,3,187,1,0,0,0,5,189,1,0,0,0,7,191,1,0,0,0,9,193,1,0,0,0,11, + 195,1,0,0,0,13,197,1,0,0,0,15,199,1,0,0,0,17,203,1,0,0,0,19,207, + 1,0,0,0,21,209,1,0,0,0,23,211,1,0,0,0,25,222,1,0,0,0,27,235,1,0, + 0,0,29,248,1,0,0,0,31,261,1,0,0,0,33,273,1,0,0,0,35,279,1,0,0,0, + 37,300,1,0,0,0,39,302,1,0,0,0,41,304,1,0,0,0,43,307,1,0,0,0,45,318, + 1,0,0,0,47,320,1,0,0,0,49,324,1,0,0,0,51,336,1,0,0,0,53,338,1,0, + 0,0,55,346,1,0,0,0,57,359,1,0,0,0,59,365,1,0,0,0,61,367,1,0,0,0, + 63,377,1,0,0,0,65,387,1,0,0,0,67,397,1,0,0,0,69,411,1,0,0,0,71,425, + 1,0,0,0,73,435,1,0,0,0,75,437,1,0,0,0,77,450,1,0,0,0,79,456,1,0, + 0,0,81,465,1,0,0,0,83,477,1,0,0,0,85,549,1,0,0,0,87,555,1,0,0,0, + 89,581,1,0,0,0,91,592,1,0,0,0,93,594,1,0,0,0,95,599,1,0,0,0,97,602, + 1,0,0,0,99,612,1,0,0,0,101,615,1,0,0,0,103,631,1,0,0,0,105,648,1, + 0,0,0,107,687,1,0,0,0,109,711,1,0,0,0,111,735,1,0,0,0,113,737,1, + 0,0,0,115,777,1,0,0,0,117,794,1,0,0,0,119,796,1,0,0,0,121,798,1, + 0,0,0,123,800,1,0,0,0,125,802,1,0,0,0,127,804,1,0,0,0,129,806,1, + 0,0,0,131,808,1,0,0,0,133,810,1,0,0,0,135,812,1,0,0,0,137,814,1, + 0,0,0,139,816,1,0,0,0,141,818,1,0,0,0,143,820,1,0,0,0,145,822,1, + 0,0,0,147,824,1,0,0,0,149,826,1,0,0,0,151,828,1,0,0,0,153,833,1, + 0,0,0,155,843,1,0,0,0,157,863,1,0,0,0,159,865,1,0,0,0,161,887,1, + 0,0,0,163,925,1,0,0,0,165,931,1,0,0,0,167,945,1,0,0,0,169,948,1, + 0,0,0,171,958,1,0,0,0,173,968,1,0,0,0,175,980,1,0,0,0,177,982,1, + 0,0,0,179,990,1,0,0,0,181,994,1,0,0,0,183,184,2,48,49,0,184,185, + 2,48,49,0,185,186,2,48,49,0,186,2,1,0,0,0,187,188,7,0,0,0,188,4, + 1,0,0,0,189,190,7,1,0,0,190,6,1,0,0,0,191,192,7,2,0,0,192,8,1,0, + 0,0,193,194,7,3,0,0,194,10,1,0,0,0,195,196,7,4,0,0,196,12,1,0,0, + 0,197,198,2,48,49,0,198,14,1,0,0,0,199,200,7,5,0,0,200,16,1,0,0, + 0,201,204,3,5,2,0,202,204,7,6,0,0,203,201,1,0,0,0,203,202,1,0,0, + 0,204,18,1,0,0,0,205,208,3,5,2,0,206,208,7,7,0,0,207,205,1,0,0,0, + 207,206,1,0,0,0,208,20,1,0,0,0,209,210,5,95,0,0,210,22,1,0,0,0,211, + 218,3,5,2,0,212,214,3,21,10,0,213,212,1,0,0,0,213,214,1,0,0,0,214, + 215,1,0,0,0,215,217,3,5,2,0,216,213,1,0,0,0,217,220,1,0,0,0,218, + 216,1,0,0,0,218,219,1,0,0,0,219,24,1,0,0,0,220,218,1,0,0,0,221,223, + 3,21,10,0,222,221,1,0,0,0,222,223,1,0,0,0,223,224,1,0,0,0,224,231, + 3,13,6,0,225,227,3,21,10,0,226,225,1,0,0,0,226,227,1,0,0,0,227,228, + 1,0,0,0,228,230,3,13,6,0,229,226,1,0,0,0,230,233,1,0,0,0,231,229, + 1,0,0,0,231,232,1,0,0,0,232,26,1,0,0,0,233,231,1,0,0,0,234,236,3, + 21,10,0,235,234,1,0,0,0,235,236,1,0,0,0,236,237,1,0,0,0,237,244, + 3,15,7,0,238,240,3,21,10,0,239,238,1,0,0,0,239,240,1,0,0,0,240,241, + 1,0,0,0,241,243,3,15,7,0,242,239,1,0,0,0,243,246,1,0,0,0,244,242, + 1,0,0,0,244,245,1,0,0,0,245,28,1,0,0,0,246,244,1,0,0,0,247,249,3, + 21,10,0,248,247,1,0,0,0,248,249,1,0,0,0,249,250,1,0,0,0,250,257, + 3,17,8,0,251,253,3,21,10,0,252,251,1,0,0,0,252,253,1,0,0,0,253,254, + 1,0,0,0,254,256,3,17,8,0,255,252,1,0,0,0,256,259,1,0,0,0,257,255, + 1,0,0,0,257,258,1,0,0,0,258,30,1,0,0,0,259,257,1,0,0,0,260,262,3, + 21,10,0,261,260,1,0,0,0,261,262,1,0,0,0,262,263,1,0,0,0,263,270, + 3,19,9,0,264,266,3,21,10,0,265,264,1,0,0,0,265,266,1,0,0,0,266,267, + 1,0,0,0,267,269,3,19,9,0,268,265,1,0,0,0,269,272,1,0,0,0,270,268, + 1,0,0,0,270,271,1,0,0,0,271,32,1,0,0,0,272,270,1,0,0,0,273,274,5, + 117,0,0,274,275,3,19,9,0,275,276,3,19,9,0,276,277,3,19,9,0,277,278, + 3,19,9,0,278,34,1,0,0,0,279,280,5,85,0,0,280,281,3,19,9,0,281,282, + 3,19,9,0,282,283,3,19,9,0,283,284,3,19,9,0,284,285,3,19,9,0,285, + 286,3,19,9,0,286,287,3,19,9,0,287,288,3,19,9,0,288,36,1,0,0,0,289, + 301,5,48,0,0,290,297,7,8,0,0,291,293,3,21,10,0,292,291,1,0,0,0,292, + 293,1,0,0,0,293,294,1,0,0,0,294,296,3,5,2,0,295,292,1,0,0,0,296, + 299,1,0,0,0,297,295,1,0,0,0,297,298,1,0,0,0,298,301,1,0,0,0,299, + 297,1,0,0,0,300,289,1,0,0,0,300,290,1,0,0,0,301,38,1,0,0,0,302,303, + 3,37,18,0,303,40,1,0,0,0,304,305,5,46,0,0,305,306,3,23,11,0,306, + 42,1,0,0,0,307,309,7,9,0,0,308,310,3,7,3,0,309,308,1,0,0,0,309,310, + 1,0,0,0,310,311,1,0,0,0,311,312,3,23,11,0,312,44,1,0,0,0,313,314, + 5,48,0,0,314,315,7,10,0,0,315,319,3,25,12,0,316,317,5,37,0,0,317, + 319,3,25,12,0,318,313,1,0,0,0,318,316,1,0,0,0,319,46,1,0,0,0,320, + 321,5,48,0,0,321,322,7,11,0,0,322,323,3,27,13,0,323,48,1,0,0,0,324, + 325,5,48,0,0,325,326,7,12,0,0,326,327,3,29,14,0,327,50,1,0,0,0,328, + 329,5,48,0,0,329,330,7,13,0,0,330,337,3,31,15,0,331,332,7,14,0,0, + 332,333,7,9,0,0,333,334,7,13,0,0,334,335,5,58,0,0,335,337,3,31,15, + 0,336,328,1,0,0,0,336,331,1,0,0,0,337,52,1,0,0,0,338,343,3,9,4,0, + 339,342,3,11,5,0,340,342,5,46,0,0,341,339,1,0,0,0,341,340,1,0,0, + 0,342,345,1,0,0,0,343,341,1,0,0,0,343,344,1,0,0,0,344,54,1,0,0,0, + 345,343,1,0,0,0,346,352,5,96,0,0,347,348,5,92,0,0,348,351,7,15,0, + 0,349,351,8,16,0,0,350,347,1,0,0,0,350,349,1,0,0,0,351,354,1,0,0, + 0,352,350,1,0,0,0,352,353,1,0,0,0,353,355,1,0,0,0,354,352,1,0,0, + 0,355,356,5,96,0,0,356,56,1,0,0,0,357,360,3,53,26,0,358,360,3,55, + 27,0,359,357,1,0,0,0,359,358,1,0,0,0,360,58,1,0,0,0,361,366,3,61, + 30,0,362,366,3,63,31,0,363,366,3,65,32,0,364,366,3,67,33,0,365,361, + 1,0,0,0,365,362,1,0,0,0,365,363,1,0,0,0,365,364,1,0,0,0,366,60,1, + 0,0,0,367,374,3,119,59,0,368,370,3,21,10,0,369,368,1,0,0,0,369,370, + 1,0,0,0,370,371,1,0,0,0,371,373,3,119,59,0,372,369,1,0,0,0,373,376, + 1,0,0,0,374,372,1,0,0,0,374,375,1,0,0,0,375,62,1,0,0,0,376,374,1, + 0,0,0,377,384,3,121,60,0,378,380,3,21,10,0,379,378,1,0,0,0,379,380, + 1,0,0,0,380,381,1,0,0,0,381,383,3,121,60,0,382,379,1,0,0,0,383,386, + 1,0,0,0,384,382,1,0,0,0,384,385,1,0,0,0,385,64,1,0,0,0,386,384,1, + 0,0,0,387,394,3,123,61,0,388,390,3,21,10,0,389,388,1,0,0,0,389,390, + 1,0,0,0,390,391,1,0,0,0,391,393,3,123,61,0,392,389,1,0,0,0,393,396, + 1,0,0,0,394,392,1,0,0,0,394,395,1,0,0,0,395,66,1,0,0,0,396,394,1, + 0,0,0,397,404,3,125,62,0,398,400,3,21,10,0,399,398,1,0,0,0,399,400, + 1,0,0,0,400,401,1,0,0,0,401,403,3,125,62,0,402,399,1,0,0,0,403,406, + 1,0,0,0,404,402,1,0,0,0,404,405,1,0,0,0,405,68,1,0,0,0,406,404,1, + 0,0,0,407,412,3,119,59,0,408,412,3,121,60,0,409,412,3,123,61,0,410, + 412,3,125,62,0,411,407,1,0,0,0,411,408,1,0,0,0,411,409,1,0,0,0,411, + 410,1,0,0,0,412,413,1,0,0,0,413,417,7,8,0,0,414,416,3,5,2,0,415, + 414,1,0,0,0,416,419,1,0,0,0,417,415,1,0,0,0,417,418,1,0,0,0,418, + 70,1,0,0,0,419,417,1,0,0,0,420,426,3,119,59,0,421,426,3,121,60,0, + 422,426,3,123,61,0,423,426,3,125,62,0,424,426,3,21,10,0,425,420, + 1,0,0,0,425,421,1,0,0,0,425,422,1,0,0,0,425,423,1,0,0,0,425,424, + 1,0,0,0,426,427,1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,432, + 1,0,0,0,429,431,3,5,2,0,430,429,1,0,0,0,431,434,1,0,0,0,432,430, + 1,0,0,0,432,433,1,0,0,0,433,72,1,0,0,0,434,432,1,0,0,0,435,436,8, + 17,0,0,436,74,1,0,0,0,437,438,5,35,0,0,438,439,5,33,0,0,439,443, + 1,0,0,0,440,442,8,18,0,0,441,440,1,0,0,0,442,445,1,0,0,0,443,441, + 1,0,0,0,443,444,1,0,0,0,444,448,1,0,0,0,445,443,1,0,0,0,446,449, + 3,153,76,0,447,449,5,0,0,1,448,446,1,0,0,0,448,447,1,0,0,0,449,76, + 1,0,0,0,450,451,5,64,0,0,451,452,7,19,0,0,452,453,7,20,0,0,453,454, + 7,21,0,0,454,455,7,20,0,0,455,78,1,0,0,0,456,457,5,64,0,0,457,458, + 7,20,0,0,458,459,7,21,0,0,459,460,7,22,0,0,460,461,7,23,0,0,461, + 462,7,24,0,0,462,463,7,25,0,0,463,464,7,9,0,0,464,80,1,0,0,0,465, + 466,5,64,0,0,466,467,7,25,0,0,467,468,7,9,0,0,468,469,7,26,0,0,469, + 470,7,27,0,0,470,471,7,9,0,0,471,472,7,22,0,0,472,473,7,28,0,0,473, + 474,7,29,0,0,474,475,7,9,0,0,475,476,7,25,0,0,476,82,1,0,0,0,477, + 478,5,47,0,0,478,479,7,9,0,0,479,480,7,21,0,0,480,481,7,25,0,0,481, + 84,1,0,0,0,482,484,3,69,34,0,483,485,3,3,1,0,484,483,1,0,0,0,485, + 486,1,0,0,0,486,484,1,0,0,0,486,487,1,0,0,0,487,492,1,0,0,0,488, + 491,3,3,1,0,489,491,3,159,79,0,490,488,1,0,0,0,490,489,1,0,0,0,491, + 494,1,0,0,0,492,490,1,0,0,0,492,493,1,0,0,0,493,495,1,0,0,0,494, + 492,1,0,0,0,495,500,3,57,28,0,496,499,3,3,1,0,497,499,3,159,79,0, + 498,496,1,0,0,0,498,497,1,0,0,0,499,502,1,0,0,0,500,498,1,0,0,0, + 500,501,1,0,0,0,501,516,1,0,0,0,502,500,1,0,0,0,503,505,3,153,76, + 0,504,503,1,0,0,0,505,506,1,0,0,0,506,504,1,0,0,0,506,507,1,0,0, + 0,507,517,1,0,0,0,508,510,3,157,78,0,509,508,1,0,0,0,510,513,1,0, + 0,0,511,509,1,0,0,0,511,512,1,0,0,0,512,514,1,0,0,0,513,511,1,0, + 0,0,514,517,5,0,0,1,515,517,3,161,80,0,516,504,1,0,0,0,516,511,1, + 0,0,0,516,515,1,0,0,0,517,550,1,0,0,0,518,523,3,59,29,0,519,522, + 3,3,1,0,520,522,3,159,79,0,521,519,1,0,0,0,521,520,1,0,0,0,522,525, + 1,0,0,0,523,521,1,0,0,0,523,524,1,0,0,0,524,526,1,0,0,0,525,523, + 1,0,0,0,526,531,3,57,28,0,527,530,3,3,1,0,528,530,3,159,79,0,529, + 527,1,0,0,0,529,528,1,0,0,0,530,533,1,0,0,0,531,529,1,0,0,0,531, + 532,1,0,0,0,532,547,1,0,0,0,533,531,1,0,0,0,534,536,3,153,76,0,535, + 534,1,0,0,0,536,537,1,0,0,0,537,535,1,0,0,0,537,538,1,0,0,0,538, + 548,1,0,0,0,539,541,3,157,78,0,540,539,1,0,0,0,541,544,1,0,0,0,542, + 540,1,0,0,0,542,543,1,0,0,0,543,545,1,0,0,0,544,542,1,0,0,0,545, + 548,5,0,0,1,546,548,3,161,80,0,547,535,1,0,0,0,547,542,1,0,0,0,547, + 546,1,0,0,0,548,550,1,0,0,0,549,482,1,0,0,0,549,518,1,0,0,0,550, + 86,1,0,0,0,551,556,3,119,59,0,552,556,3,121,60,0,553,556,3,123,61, + 0,554,556,3,125,62,0,555,551,1,0,0,0,555,552,1,0,0,0,555,553,1,0, + 0,0,555,554,1,0,0,0,556,560,1,0,0,0,557,559,8,18,0,0,558,557,1,0, + 0,0,559,562,1,0,0,0,560,558,1,0,0,0,560,561,1,0,0,0,561,569,1,0, + 0,0,562,560,1,0,0,0,563,565,3,153,76,0,564,563,1,0,0,0,565,566,1, + 0,0,0,566,564,1,0,0,0,566,567,1,0,0,0,567,570,1,0,0,0,568,570,5, + 0,0,1,569,564,1,0,0,0,569,568,1,0,0,0,570,88,1,0,0,0,571,572,7,30, + 0,0,572,573,7,28,0,0,573,574,7,23,0,0,574,575,7,31,0,0,575,582,7, + 9,0,0,576,577,7,11,0,0,577,578,7,30,0,0,578,582,7,30,0,0,579,580, + 7,21,0,0,580,582,7,11,0,0,581,571,1,0,0,0,581,576,1,0,0,0,581,579, + 1,0,0,0,582,90,1,0,0,0,583,584,7,29,0,0,584,585,7,27,0,0,585,586, + 7,24,0,0,586,593,7,9,0,0,587,588,7,11,0,0,588,593,7,21,0,0,589,590, + 7,19,0,0,590,591,7,9,0,0,591,593,7,31,0,0,592,583,1,0,0,0,592,587, + 1,0,0,0,592,589,1,0,0,0,593,92,1,0,0,0,594,595,7,21,0,0,595,596, + 7,24,0,0,596,597,7,23,0,0,597,598,7,23,0,0,598,94,1,0,0,0,599,600, + 5,123,0,0,600,601,5,125,0,0,601,96,1,0,0,0,602,603,5,91,0,0,603, + 604,5,93,0,0,604,98,1,0,0,0,605,613,3,103,51,0,606,613,3,105,52, + 0,607,613,3,101,50,0,608,613,3,109,54,0,609,613,3,111,55,0,610,613, + 3,107,53,0,611,613,3,113,56,0,612,605,1,0,0,0,612,606,1,0,0,0,612, + 607,1,0,0,0,612,608,1,0,0,0,612,609,1,0,0,0,612,610,1,0,0,0,612, + 611,1,0,0,0,613,100,1,0,0,0,614,616,7,27,0,0,615,614,1,0,0,0,615, + 616,1,0,0,0,616,617,1,0,0,0,617,618,5,34,0,0,618,619,5,34,0,0,619, + 620,5,34,0,0,620,624,1,0,0,0,621,623,9,0,0,0,622,621,1,0,0,0,623, + 626,1,0,0,0,624,625,1,0,0,0,624,622,1,0,0,0,625,627,1,0,0,0,626, + 624,1,0,0,0,627,628,5,34,0,0,628,629,5,34,0,0,629,630,5,34,0,0,630, + 102,1,0,0,0,631,632,7,22,0,0,632,633,5,34,0,0,633,634,5,34,0,0,634, + 635,5,34,0,0,635,641,1,0,0,0,636,637,5,92,0,0,637,640,9,0,0,0,638, + 640,9,0,0,0,639,636,1,0,0,0,639,638,1,0,0,0,640,643,1,0,0,0,641, + 642,1,0,0,0,641,639,1,0,0,0,642,644,1,0,0,0,643,641,1,0,0,0,644, + 645,5,34,0,0,645,646,5,34,0,0,646,647,5,34,0,0,647,104,1,0,0,0,648, + 649,7,9,0,0,649,650,5,34,0,0,650,651,5,34,0,0,651,652,5,34,0,0,652, + 658,1,0,0,0,653,654,5,92,0,0,654,657,9,0,0,0,655,657,9,0,0,0,656, + 653,1,0,0,0,656,655,1,0,0,0,657,660,1,0,0,0,658,659,1,0,0,0,658, + 656,1,0,0,0,659,661,1,0,0,0,660,658,1,0,0,0,661,662,5,34,0,0,662, + 663,5,34,0,0,663,664,5,34,0,0,664,106,1,0,0,0,665,667,7,27,0,0,666, + 665,1,0,0,0,666,667,1,0,0,0,667,668,1,0,0,0,668,672,5,39,0,0,669, + 671,8,32,0,0,670,669,1,0,0,0,671,674,1,0,0,0,672,670,1,0,0,0,672, + 673,1,0,0,0,673,675,1,0,0,0,674,672,1,0,0,0,675,688,5,39,0,0,676, + 678,7,27,0,0,677,676,1,0,0,0,677,678,1,0,0,0,678,679,1,0,0,0,679, + 683,5,34,0,0,680,682,8,33,0,0,681,680,1,0,0,0,682,685,1,0,0,0,683, + 681,1,0,0,0,683,684,1,0,0,0,684,686,1,0,0,0,685,683,1,0,0,0,686, + 688,5,34,0,0,687,666,1,0,0,0,687,677,1,0,0,0,688,108,1,0,0,0,689, + 690,7,22,0,0,690,696,5,39,0,0,691,692,5,92,0,0,692,695,8,18,0,0, + 693,695,8,34,0,0,694,691,1,0,0,0,694,693,1,0,0,0,695,698,1,0,0,0, + 696,694,1,0,0,0,696,697,1,0,0,0,697,699,1,0,0,0,698,696,1,0,0,0, + 699,712,5,39,0,0,700,701,7,22,0,0,701,707,5,34,0,0,702,703,5,92, + 0,0,703,706,8,18,0,0,704,706,8,35,0,0,705,702,1,0,0,0,705,704,1, + 0,0,0,706,709,1,0,0,0,707,705,1,0,0,0,707,708,1,0,0,0,708,710,1, + 0,0,0,709,707,1,0,0,0,710,712,5,34,0,0,711,689,1,0,0,0,711,700,1, + 0,0,0,712,110,1,0,0,0,713,714,7,9,0,0,714,720,5,39,0,0,715,716,5, + 92,0,0,716,719,8,18,0,0,717,719,8,34,0,0,718,715,1,0,0,0,718,717, + 1,0,0,0,719,722,1,0,0,0,720,718,1,0,0,0,720,721,1,0,0,0,721,723, + 1,0,0,0,722,720,1,0,0,0,723,736,5,39,0,0,724,725,7,9,0,0,725,731, + 5,34,0,0,726,727,5,92,0,0,727,730,8,18,0,0,728,730,8,35,0,0,729, + 726,1,0,0,0,729,728,1,0,0,0,730,733,1,0,0,0,731,729,1,0,0,0,731, + 732,1,0,0,0,732,734,1,0,0,0,733,731,1,0,0,0,734,736,5,34,0,0,735, + 713,1,0,0,0,735,724,1,0,0,0,736,112,1,0,0,0,737,738,5,99,0,0,738, + 739,5,111,0,0,739,740,5,109,0,0,740,741,5,109,0,0,741,742,5,97,0, + 0,742,743,5,110,0,0,743,744,5,100,0,0,744,745,1,0,0,0,745,746,5, + 34,0,0,746,747,5,34,0,0,747,748,5,34,0,0,748,749,1,0,0,0,749,759, + 3,115,57,0,750,752,8,18,0,0,751,750,1,0,0,0,752,755,1,0,0,0,753, + 751,1,0,0,0,753,754,1,0,0,0,754,756,1,0,0,0,755,753,1,0,0,0,756, + 758,3,115,57,0,757,753,1,0,0,0,758,761,1,0,0,0,759,760,1,0,0,0,759, + 757,1,0,0,0,760,765,1,0,0,0,761,759,1,0,0,0,762,764,7,36,0,0,763, + 762,1,0,0,0,764,767,1,0,0,0,765,763,1,0,0,0,765,766,1,0,0,0,766, + 768,1,0,0,0,767,765,1,0,0,0,768,769,5,34,0,0,769,770,5,34,0,0,770, + 771,5,34,0,0,771,114,1,0,0,0,772,774,5,13,0,0,773,775,5,10,0,0,774, + 773,1,0,0,0,774,775,1,0,0,0,775,778,1,0,0,0,776,778,5,10,0,0,777, + 772,1,0,0,0,777,776,1,0,0,0,778,116,1,0,0,0,779,781,3,39,19,0,780, + 782,3,41,20,0,781,780,1,0,0,0,781,782,1,0,0,0,782,784,1,0,0,0,783, + 785,3,43,21,0,784,783,1,0,0,0,784,785,1,0,0,0,785,795,1,0,0,0,786, + 788,3,41,20,0,787,789,3,43,21,0,788,787,1,0,0,0,788,789,1,0,0,0, + 789,795,1,0,0,0,790,795,3,45,22,0,791,795,3,47,23,0,792,795,3,49, + 24,0,793,795,3,51,25,0,794,779,1,0,0,0,794,786,1,0,0,0,794,790,1, + 0,0,0,794,791,1,0,0,0,794,792,1,0,0,0,794,793,1,0,0,0,795,118,1, + 0,0,0,796,797,5,94,0,0,797,120,1,0,0,0,798,799,5,167,0,0,799,122, + 1,0,0,0,800,801,5,62,0,0,801,124,1,0,0,0,802,803,5,60,0,0,803,126, + 1,0,0,0,804,805,5,61,0,0,805,128,1,0,0,0,806,807,5,44,0,0,807,130, + 1,0,0,0,808,809,5,58,0,0,809,132,1,0,0,0,810,811,5,91,0,0,811,134, + 1,0,0,0,812,813,5,93,0,0,813,136,1,0,0,0,814,815,5,123,0,0,815,138, + 1,0,0,0,816,817,5,125,0,0,817,140,1,0,0,0,818,819,5,43,0,0,819,142, + 1,0,0,0,820,821,5,45,0,0,821,144,1,0,0,0,822,823,5,36,0,0,823,146, + 1,0,0,0,824,825,5,37,0,0,825,148,1,0,0,0,826,827,5,64,0,0,827,150, + 1,0,0,0,828,829,5,59,0,0,829,152,1,0,0,0,830,832,3,157,78,0,831, + 830,1,0,0,0,832,835,1,0,0,0,833,831,1,0,0,0,833,834,1,0,0,0,834, + 836,1,0,0,0,835,833,1,0,0,0,836,837,3,155,77,0,837,154,1,0,0,0,838, + 840,5,13,0,0,839,841,5,10,0,0,840,839,1,0,0,0,840,841,1,0,0,0,841, + 844,1,0,0,0,842,844,5,10,0,0,843,838,1,0,0,0,843,842,1,0,0,0,844, + 845,1,0,0,0,845,843,1,0,0,0,845,846,1,0,0,0,846,156,1,0,0,0,847, + 848,5,47,0,0,848,849,5,47,0,0,849,853,1,0,0,0,850,852,8,18,0,0,851, + 850,1,0,0,0,852,855,1,0,0,0,853,851,1,0,0,0,853,854,1,0,0,0,854, + 864,1,0,0,0,855,853,1,0,0,0,856,860,5,35,0,0,857,859,8,18,0,0,858, + 857,1,0,0,0,859,862,1,0,0,0,860,858,1,0,0,0,860,861,1,0,0,0,861, + 864,1,0,0,0,862,860,1,0,0,0,863,847,1,0,0,0,863,856,1,0,0,0,864, + 158,1,0,0,0,865,866,5,47,0,0,866,867,5,42,0,0,867,877,1,0,0,0,868, + 876,8,37,0,0,869,871,5,42,0,0,870,869,1,0,0,0,871,872,1,0,0,0,872, + 870,1,0,0,0,872,873,1,0,0,0,873,874,1,0,0,0,874,876,8,38,0,0,875, + 868,1,0,0,0,875,870,1,0,0,0,876,879,1,0,0,0,877,875,1,0,0,0,877, + 878,1,0,0,0,878,881,1,0,0,0,879,877,1,0,0,0,880,882,5,42,0,0,881, + 880,1,0,0,0,882,883,1,0,0,0,883,881,1,0,0,0,883,884,1,0,0,0,884, + 885,1,0,0,0,885,886,5,47,0,0,886,160,1,0,0,0,887,888,5,47,0,0,888, + 889,5,42,0,0,889,899,1,0,0,0,890,898,8,37,0,0,891,893,5,42,0,0,892, + 891,1,0,0,0,893,894,1,0,0,0,894,892,1,0,0,0,894,895,1,0,0,0,895, + 896,1,0,0,0,896,898,8,38,0,0,897,890,1,0,0,0,897,892,1,0,0,0,898, + 901,1,0,0,0,899,897,1,0,0,0,899,900,1,0,0,0,900,905,1,0,0,0,901, + 899,1,0,0,0,902,904,5,42,0,0,903,902,1,0,0,0,904,907,1,0,0,0,905, + 903,1,0,0,0,905,906,1,0,0,0,906,913,1,0,0,0,907,905,1,0,0,0,908, + 910,5,13,0,0,909,911,5,10,0,0,910,909,1,0,0,0,910,911,1,0,0,0,911, + 914,1,0,0,0,912,914,5,10,0,0,913,908,1,0,0,0,913,912,1,0,0,0,914, + 918,1,0,0,0,915,917,9,0,0,0,916,915,1,0,0,0,917,920,1,0,0,0,918, + 919,1,0,0,0,918,916,1,0,0,0,919,921,1,0,0,0,920,918,1,0,0,0,921, + 922,5,42,0,0,922,923,5,47,0,0,923,162,1,0,0,0,924,926,3,3,1,0,925, + 924,1,0,0,0,926,927,1,0,0,0,927,925,1,0,0,0,927,928,1,0,0,0,928, + 929,1,0,0,0,929,930,6,81,0,0,930,164,1,0,0,0,931,932,5,47,0,0,932, + 933,5,42,0,0,933,937,1,0,0,0,934,936,9,0,0,0,935,934,1,0,0,0,936, + 939,1,0,0,0,937,938,1,0,0,0,937,935,1,0,0,0,938,940,1,0,0,0,939, + 937,1,0,0,0,940,941,5,42,0,0,941,942,5,47,0,0,942,943,1,0,0,0,943, + 944,6,82,0,0,944,166,1,0,0,0,945,946,5,45,0,0,946,947,5,45,0,0,947, + 168,1,0,0,0,948,952,3,167,83,0,949,951,8,18,0,0,950,949,1,0,0,0, + 951,954,1,0,0,0,952,950,1,0,0,0,952,953,1,0,0,0,953,956,1,0,0,0, + 954,952,1,0,0,0,955,957,3,153,76,0,956,955,1,0,0,0,956,957,1,0,0, + 0,957,170,1,0,0,0,958,962,5,59,0,0,959,961,8,18,0,0,960,959,1,0, + 0,0,961,964,1,0,0,0,962,960,1,0,0,0,962,963,1,0,0,0,963,172,1,0, + 0,0,964,962,1,0,0,0,965,966,5,47,0,0,966,969,5,47,0,0,967,969,5, + 35,0,0,968,965,1,0,0,0,968,967,1,0,0,0,969,973,1,0,0,0,970,972,8, + 18,0,0,971,970,1,0,0,0,972,975,1,0,0,0,973,971,1,0,0,0,973,974,1, + 0,0,0,974,976,1,0,0,0,975,973,1,0,0,0,976,977,6,86,0,0,977,174,1, + 0,0,0,978,981,3,57,28,0,979,981,3,177,88,0,980,978,1,0,0,0,980,979, + 1,0,0,0,981,176,1,0,0,0,982,986,7,1,0,0,983,985,7,4,0,0,984,983, + 1,0,0,0,985,988,1,0,0,0,986,984,1,0,0,0,986,987,1,0,0,0,987,178, + 1,0,0,0,988,986,1,0,0,0,989,991,3,73,36,0,990,989,1,0,0,0,991,992, + 1,0,0,0,992,990,1,0,0,0,992,993,1,0,0,0,993,180,1,0,0,0,994,996, + 3,149,74,0,995,997,3,179,89,0,996,995,1,0,0,0,997,998,1,0,0,0,998, + 996,1,0,0,0,998,999,1,0,0,0,999,182,1,0,0,0,126,0,203,207,213,218, + 222,226,231,235,239,244,248,252,257,261,265,270,292,297,300,309, + 318,336,341,343,350,352,359,365,369,374,379,384,389,394,399,404, + 411,417,425,427,432,443,448,486,490,492,498,500,506,511,516,521, + 523,529,531,537,542,547,549,555,560,566,569,581,592,612,615,624, + 639,641,656,658,666,672,677,683,687,694,696,705,707,711,718,720, + 729,731,735,753,759,765,774,777,781,784,788,794,833,840,843,845, + 853,860,863,872,875,877,883,894,897,899,905,910,913,918,927,937, + 952,956,962,968,973,980,986,992,998,1,6,0,0 ] class YiniLexer(Lexer): @@ -423,20 +436,21 @@ class YiniLexer(Lexer): OC = 24 CC = 25 PLUS = 26 - DOLLAR = 27 - PC = 28 - AT = 29 - SEMICOLON = 30 - NL = 31 - WS = 32 - BLOCK_COMMENT = 33 - DISABLED_LINE = 34 - FULL_LINE_COMMENT = 35 - INLINE_COMMENT = 36 - KEY = 37 - IDENT_INVALID = 38 - REST = 39 - META_INVALID = 40 + MINUS = 27 + DOLLAR = 28 + PC = 29 + AT = 30 + SEMICOLON = 31 + NL = 32 + WS = 33 + BLOCK_COMMENT = 34 + DISABLED_LINE = 35 + FULL_LINE_COMMENT = 36 + INLINE_COMMENT = 37 + KEY = 38 + IDENT_INVALID = 39 + REST = 40 + META_INVALID = 41 channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ] @@ -444,16 +458,16 @@ class YiniLexer(Lexer): literalNames = [ "", "'{}'", "'[]'", "'^'", "'\\u00A7'", "'>'", "'<'", "'='", "','", - "':'", "'['", "']'", "'{'", "'}'", "'+'", "'$'", "'%'", "'@'", - "';'" ] + "':'", "'['", "']'", "'{'", "'}'", "'+'", "'-'", "'$'", "'%'", + "'@'", "';'" ] symbolicNames = [ "", "SHEBANG", "YINI_TOKEN", "INCLUDE_TOKEN", "DEPRECATED_TOKEN", "TERMINAL_TOKEN", "SECTION_HEAD", "INVALID_SECTION_HEAD", "BOOLEAN_FALSE", "BOOLEAN_TRUE", "NULL", "EMPTY_OBJECT", "EMPTY_LIST", "STRING", "NUMBER", "CARET", "SS", "GT", "LT", "EQ", "COMMA", "COLON", - "OB", "CB", "OC", "CC", "PLUS", "DOLLAR", "PC", "AT", "SEMICOLON", - "NL", "WS", "BLOCK_COMMENT", "DISABLED_LINE", "FULL_LINE_COMMENT", + "OB", "CB", "OC", "CC", "PLUS", "MINUS", "DOLLAR", "PC", "AT", + "SEMICOLON", "NL", "WS", "BLOCK_COMMENT", "DISABLED_LINE", "FULL_LINE_COMMENT", "INLINE_COMMENT", "KEY", "IDENT_INVALID", "REST", "META_INVALID" ] ruleNames = [ "EBD", "HSPACE", "DIGIT", "SIGN", "IDENT_SIMPLE_START", @@ -474,11 +488,12 @@ class YiniLexer(Lexer): "CLASSIC_SINGLE_OR_DOUBLE_STRING", "ESCAPED_SINGLE_OR_DOUBLE_STRING", "COMMAND_TRIPLE_QUOTED_STRING", "COMMAND_LINE_BREAK", "NUMBER", "CARET", "SS", "GT", "LT", "EQ", "COMMA", "COLON", - "OB", "CB", "OC", "CC", "PLUS", "DOLLAR", "PC", "AT", - "SEMICOLON", "EOL", "NL", "SECTION_TAIL_COMMENT", "SECTION_SINGLE_LINE_BLOCK_COMMENT", - "SECTION_BLOCK_COMMENT", "WS", "BLOCK_COMMENT", "DISABLE_LINE_MARKER", - "DISABLED_LINE", "FULL_LINE_COMMENT", "INLINE_COMMENT", - "KEY", "IDENT_INVALID", "REST", "META_INVALID" ] + "OB", "CB", "OC", "CC", "PLUS", "MINUS", "DOLLAR", "PC", + "AT", "SEMICOLON", "EOL", "NL", "SECTION_TAIL_COMMENT", + "SECTION_SINGLE_LINE_BLOCK_COMMENT", "SECTION_MULTILINE_BLOCK_COMMENT", + "WS", "BLOCK_COMMENT", "DISABLE_LINE_MARKER", "DISABLED_LINE", + "FULL_LINE_COMMENT", "INLINE_COMMENT", "KEY", "IDENT_INVALID", + "REST", "META_INVALID" ] grammarFileName = "YiniLexer.g4" diff --git a/src/yini_parser/grammar/generated/YiniLexer.tokens b/src/yini_parser/grammar/generated/YiniLexer.tokens index 8783c70..eaff45d 100644 --- a/src/yini_parser/grammar/generated/YiniLexer.tokens +++ b/src/yini_parser/grammar/generated/YiniLexer.tokens @@ -24,20 +24,21 @@ CB=23 OC=24 CC=25 PLUS=26 -DOLLAR=27 -PC=28 -AT=29 -SEMICOLON=30 -NL=31 -WS=32 -BLOCK_COMMENT=33 -DISABLED_LINE=34 -FULL_LINE_COMMENT=35 -INLINE_COMMENT=36 -KEY=37 -IDENT_INVALID=38 -REST=39 -META_INVALID=40 +MINUS=27 +DOLLAR=28 +PC=29 +AT=30 +SEMICOLON=31 +NL=32 +WS=33 +BLOCK_COMMENT=34 +DISABLED_LINE=35 +FULL_LINE_COMMENT=36 +INLINE_COMMENT=37 +KEY=38 +IDENT_INVALID=39 +REST=40 +META_INVALID=41 '{}'=11 '[]'=12 '^'=15 @@ -52,7 +53,8 @@ META_INVALID=40 '{'=24 '}'=25 '+'=26 -'$'=27 -'%'=28 -'@'=29 -';'=30 +'-'=27 +'$'=28 +'%'=29 +'@'=30 +';'=31 diff --git a/src/yini_parser/grammar/generated/YiniParser.interp b/src/yini_parser/grammar/generated/YiniParser.interp index 7043c6f..7591c59 100644 --- a/src/yini_parser/grammar/generated/YiniParser.interp +++ b/src/yini_parser/grammar/generated/YiniParser.interp @@ -26,6 +26,7 @@ null '{' '}' '+' +'-' '$' '%' '@' @@ -69,6 +70,7 @@ CB OC CC PLUS +MINUS DOLLAR PC AT @@ -124,4 +126,4 @@ bad_member atn: -[4, 1, 40, 332, 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, 2, 35, 7, 35, 1, 0, 3, 0, 74, 8, 0, 1, 0, 5, 0, 77, 8, 0, 10, 0, 12, 0, 80, 9, 0, 1, 0, 3, 0, 83, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 5, 1, 89, 8, 1, 10, 1, 12, 1, 92, 9, 1, 1, 1, 4, 1, 95, 8, 1, 11, 1, 12, 1, 96, 3, 1, 99, 8, 1, 1, 2, 1, 2, 5, 2, 103, 8, 2, 10, 2, 12, 2, 106, 9, 2, 1, 3, 1, 3, 3, 3, 110, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 120, 8, 4, 1, 5, 1, 5, 3, 5, 124, 8, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 135, 8, 8, 1, 9, 1, 9, 1, 9, 3, 9, 140, 8, 9, 1, 9, 3, 9, 143, 8, 9, 1, 10, 1, 10, 3, 10, 147, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 4, 13, 157, 8, 13, 11, 13, 12, 13, 158, 1, 14, 1, 14, 3, 14, 163, 8, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 173, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 179, 8, 18, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 185, 8, 19, 1, 20, 1, 20, 4, 20, 189, 8, 20, 11, 20, 12, 20, 190, 1, 21, 1, 21, 5, 21, 195, 8, 21, 10, 21, 12, 21, 198, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 5, 24, 208, 8, 24, 10, 24, 12, 24, 211, 9, 24, 1, 24, 3, 24, 214, 8, 24, 1, 24, 5, 24, 217, 8, 24, 10, 24, 12, 24, 220, 9, 24, 1, 24, 1, 24, 3, 24, 224, 8, 24, 1, 25, 1, 25, 5, 25, 228, 8, 25, 10, 25, 12, 25, 231, 9, 25, 1, 25, 1, 25, 5, 25, 235, 8, 25, 10, 25, 12, 25, 238, 9, 25, 1, 25, 5, 25, 241, 8, 25, 10, 25, 12, 25, 244, 9, 25, 1, 25, 5, 25, 247, 8, 25, 10, 25, 12, 25, 250, 9, 25, 1, 25, 3, 25, 253, 8, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 5, 28, 263, 8, 28, 10, 28, 12, 28, 266, 9, 28, 1, 28, 3, 28, 269, 8, 28, 1, 28, 5, 28, 272, 8, 28, 10, 28, 12, 28, 275, 9, 28, 1, 28, 1, 28, 3, 28, 279, 8, 28, 1, 29, 1, 29, 5, 29, 283, 8, 29, 10, 29, 12, 29, 286, 9, 29, 1, 29, 1, 29, 5, 29, 290, 8, 29, 10, 29, 12, 29, 293, 9, 29, 1, 29, 5, 29, 296, 8, 29, 10, 29, 12, 29, 299, 9, 29, 1, 29, 5, 29, 302, 8, 29, 10, 29, 12, 29, 305, 9, 29, 1, 29, 3, 29, 308, 8, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 322, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 327, 8, 35, 1, 35, 3, 35, 330, 8, 35, 1, 35, 0, 0, 36, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 0, 5, 2, 0, 8, 10, 37, 37, 2, 0, 8, 10, 13, 14, 2, 0, 19, 19, 21, 21, 2, 0, 31, 31, 34, 35, 1, 0, 8, 9, 349, 0, 73, 1, 0, 0, 0, 2, 98, 1, 0, 0, 0, 4, 100, 1, 0, 0, 0, 6, 109, 1, 0, 0, 0, 8, 119, 1, 0, 0, 0, 10, 121, 1, 0, 0, 0, 12, 125, 1, 0, 0, 0, 14, 127, 1, 0, 0, 0, 16, 134, 1, 0, 0, 0, 18, 142, 1, 0, 0, 0, 20, 144, 1, 0, 0, 0, 22, 150, 1, 0, 0, 0, 24, 152, 1, 0, 0, 0, 26, 156, 1, 0, 0, 0, 28, 162, 1, 0, 0, 0, 30, 164, 1, 0, 0, 0, 32, 167, 1, 0, 0, 0, 34, 169, 1, 0, 0, 0, 36, 178, 1, 0, 0, 0, 38, 184, 1, 0, 0, 0, 40, 186, 1, 0, 0, 0, 42, 192, 1, 0, 0, 0, 44, 201, 1, 0, 0, 0, 46, 203, 1, 0, 0, 0, 48, 223, 1, 0, 0, 0, 50, 225, 1, 0, 0, 0, 52, 254, 1, 0, 0, 0, 54, 258, 1, 0, 0, 0, 56, 278, 1, 0, 0, 0, 58, 280, 1, 0, 0, 0, 60, 309, 1, 0, 0, 0, 62, 311, 1, 0, 0, 0, 64, 313, 1, 0, 0, 0, 66, 315, 1, 0, 0, 0, 68, 317, 1, 0, 0, 0, 70, 321, 1, 0, 0, 0, 72, 74, 3, 2, 1, 0, 73, 72, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 78, 1, 0, 0, 0, 75, 77, 3, 8, 4, 0, 76, 75, 1, 0, 0, 0, 77, 80, 1, 0, 0, 0, 78, 76, 1, 0, 0, 0, 78, 79, 1, 0, 0, 0, 79, 82, 1, 0, 0, 0, 80, 78, 1, 0, 0, 0, 81, 83, 3, 4, 2, 0, 82, 81, 1, 0, 0, 0, 82, 83, 1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 5, 0, 0, 1, 85, 1, 1, 0, 0, 0, 86, 90, 5, 1, 0, 0, 87, 89, 3, 26, 13, 0, 88, 87, 1, 0, 0, 0, 89, 92, 1, 0, 0, 0, 90, 88, 1, 0, 0, 0, 90, 91, 1, 0, 0, 0, 91, 99, 1, 0, 0, 0, 92, 90, 1, 0, 0, 0, 93, 95, 3, 26, 13, 0, 94, 93, 1, 0, 0, 0, 95, 96, 1, 0, 0, 0, 96, 94, 1, 0, 0, 0, 96, 97, 1, 0, 0, 0, 97, 99, 1, 0, 0, 0, 98, 86, 1, 0, 0, 0, 98, 94, 1, 0, 0, 0, 99, 3, 1, 0, 0, 0, 100, 104, 5, 5, 0, 0, 101, 103, 3, 6, 3, 0, 102, 101, 1, 0, 0, 0, 103, 106, 1, 0, 0, 0, 104, 102, 1, 0, 0, 0, 104, 105, 1, 0, 0, 0, 105, 5, 1, 0, 0, 0, 106, 104, 1, 0, 0, 0, 107, 110, 3, 26, 13, 0, 108, 110, 3, 10, 5, 0, 109, 107, 1, 0, 0, 0, 109, 108, 1, 0, 0, 0, 110, 7, 1, 0, 0, 0, 111, 120, 3, 26, 13, 0, 112, 120, 3, 10, 5, 0, 113, 120, 3, 12, 6, 0, 114, 120, 5, 6, 0, 0, 115, 120, 3, 14, 7, 0, 116, 120, 3, 30, 15, 0, 117, 120, 3, 16, 8, 0, 118, 120, 3, 70, 35, 0, 119, 111, 1, 0, 0, 0, 119, 112, 1, 0, 0, 0, 119, 113, 1, 0, 0, 0, 119, 114, 1, 0, 0, 0, 119, 115, 1, 0, 0, 0, 119, 116, 1, 0, 0, 0, 119, 117, 1, 0, 0, 0, 119, 118, 1, 0, 0, 0, 120, 9, 1, 0, 0, 0, 121, 123, 5, 35, 0, 0, 122, 124, 3, 26, 13, 0, 123, 122, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 11, 1, 0, 0, 0, 125, 126, 5, 34, 0, 0, 126, 13, 1, 0, 0, 0, 127, 128, 5, 7, 0, 0, 128, 15, 1, 0, 0, 0, 129, 135, 3, 18, 9, 0, 130, 135, 3, 24, 12, 0, 131, 132, 3, 68, 34, 0, 132, 133, 3, 28, 14, 0, 133, 135, 1, 0, 0, 0, 134, 129, 1, 0, 0, 0, 134, 130, 1, 0, 0, 0, 134, 131, 1, 0, 0, 0, 135, 17, 1, 0, 0, 0, 136, 143, 3, 20, 10, 0, 137, 139, 5, 3, 0, 0, 138, 140, 3, 46, 23, 0, 139, 138, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0, 140, 141, 1, 0, 0, 0, 141, 143, 3, 28, 14, 0, 142, 136, 1, 0, 0, 0, 142, 137, 1, 0, 0, 0, 143, 19, 1, 0, 0, 0, 144, 146, 5, 2, 0, 0, 145, 147, 3, 22, 11, 0, 146, 145, 1, 0, 0, 0, 146, 147, 1, 0, 0, 0, 147, 148, 1, 0, 0, 0, 148, 149, 3, 28, 14, 0, 149, 21, 1, 0, 0, 0, 150, 151, 5, 37, 0, 0, 151, 23, 1, 0, 0, 0, 152, 153, 5, 4, 0, 0, 153, 154, 3, 28, 14, 0, 154, 25, 1, 0, 0, 0, 155, 157, 5, 31, 0, 0, 156, 155, 1, 0, 0, 0, 157, 158, 1, 0, 0, 0, 158, 156, 1, 0, 0, 0, 158, 159, 1, 0, 0, 0, 159, 27, 1, 0, 0, 0, 160, 163, 3, 26, 13, 0, 161, 163, 5, 0, 0, 1, 162, 160, 1, 0, 0, 0, 162, 161, 1, 0, 0, 0, 163, 29, 1, 0, 0, 0, 164, 165, 3, 34, 17, 0, 165, 166, 3, 28, 14, 0, 166, 31, 1, 0, 0, 0, 167, 168, 7, 0, 0, 0, 168, 33, 1, 0, 0, 0, 169, 170, 3, 32, 16, 0, 170, 172, 5, 19, 0, 0, 171, 173, 3, 36, 18, 0, 172, 171, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 35, 1, 0, 0, 0, 174, 179, 3, 40, 20, 0, 175, 179, 3, 38, 19, 0, 176, 179, 3, 56, 28, 0, 177, 179, 3, 48, 24, 0, 178, 174, 1, 0, 0, 0, 178, 175, 1, 0, 0, 0, 178, 176, 1, 0, 0, 0, 178, 177, 1, 0, 0, 0, 179, 37, 1, 0, 0, 0, 180, 185, 3, 64, 32, 0, 181, 185, 3, 46, 23, 0, 182, 185, 3, 62, 31, 0, 183, 185, 3, 66, 33, 0, 184, 180, 1, 0, 0, 0, 184, 181, 1, 0, 0, 0, 184, 182, 1, 0, 0, 0, 184, 183, 1, 0, 0, 0, 185, 39, 1, 0, 0, 0, 186, 188, 5, 13, 0, 0, 187, 189, 3, 42, 21, 0, 188, 187, 1, 0, 0, 0, 189, 190, 1, 0, 0, 0, 190, 188, 1, 0, 0, 0, 190, 191, 1, 0, 0, 0, 191, 41, 1, 0, 0, 0, 192, 196, 5, 26, 0, 0, 193, 195, 3, 60, 30, 0, 194, 193, 1, 0, 0, 0, 195, 198, 1, 0, 0, 0, 196, 194, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 199, 1, 0, 0, 0, 198, 196, 1, 0, 0, 0, 199, 200, 3, 44, 22, 0, 200, 43, 1, 0, 0, 0, 201, 202, 7, 1, 0, 0, 202, 45, 1, 0, 0, 0, 203, 204, 5, 13, 0, 0, 204, 47, 1, 0, 0, 0, 205, 209, 5, 24, 0, 0, 206, 208, 3, 60, 30, 0, 207, 206, 1, 0, 0, 0, 208, 211, 1, 0, 0, 0, 209, 207, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 213, 1, 0, 0, 0, 211, 209, 1, 0, 0, 0, 212, 214, 3, 50, 25, 0, 213, 212, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 218, 1, 0, 0, 0, 215, 217, 3, 60, 30, 0, 216, 215, 1, 0, 0, 0, 217, 220, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 221, 1, 0, 0, 0, 220, 218, 1, 0, 0, 0, 221, 224, 5, 25, 0, 0, 222, 224, 5, 11, 0, 0, 223, 205, 1, 0, 0, 0, 223, 222, 1, 0, 0, 0, 224, 49, 1, 0, 0, 0, 225, 242, 3, 52, 26, 0, 226, 228, 3, 60, 30, 0, 227, 226, 1, 0, 0, 0, 228, 231, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 230, 1, 0, 0, 0, 230, 232, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 232, 236, 5, 20, 0, 0, 233, 235, 3, 60, 30, 0, 234, 233, 1, 0, 0, 0, 235, 238, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 239, 1, 0, 0, 0, 238, 236, 1, 0, 0, 0, 239, 241, 3, 52, 26, 0, 240, 229, 1, 0, 0, 0, 241, 244, 1, 0, 0, 0, 242, 240, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 252, 1, 0, 0, 0, 244, 242, 1, 0, 0, 0, 245, 247, 3, 60, 30, 0, 246, 245, 1, 0, 0, 0, 247, 250, 1, 0, 0, 0, 248, 246, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 251, 1, 0, 0, 0, 250, 248, 1, 0, 0, 0, 251, 253, 5, 20, 0, 0, 252, 248, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 51, 1, 0, 0, 0, 254, 255, 3, 32, 16, 0, 255, 256, 3, 54, 27, 0, 256, 257, 3, 36, 18, 0, 257, 53, 1, 0, 0, 0, 258, 259, 7, 2, 0, 0, 259, 55, 1, 0, 0, 0, 260, 264, 5, 22, 0, 0, 261, 263, 3, 60, 30, 0, 262, 261, 1, 0, 0, 0, 263, 266, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 269, 3, 58, 29, 0, 268, 267, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 273, 1, 0, 0, 0, 270, 272, 3, 60, 30, 0, 271, 270, 1, 0, 0, 0, 272, 275, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 276, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 276, 279, 5, 23, 0, 0, 277, 279, 5, 12, 0, 0, 278, 260, 1, 0, 0, 0, 278, 277, 1, 0, 0, 0, 279, 57, 1, 0, 0, 0, 280, 297, 3, 36, 18, 0, 281, 283, 3, 60, 30, 0, 282, 281, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 282, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 287, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 287, 291, 5, 20, 0, 0, 288, 290, 3, 60, 30, 0, 289, 288, 1, 0, 0, 0, 290, 293, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 294, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 294, 296, 3, 36, 18, 0, 295, 284, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 307, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 302, 3, 60, 30, 0, 301, 300, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 306, 308, 5, 20, 0, 0, 307, 303, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 59, 1, 0, 0, 0, 309, 310, 7, 3, 0, 0, 310, 61, 1, 0, 0, 0, 311, 312, 5, 14, 0, 0, 312, 63, 1, 0, 0, 0, 313, 314, 5, 10, 0, 0, 314, 65, 1, 0, 0, 0, 315, 316, 7, 4, 0, 0, 316, 67, 1, 0, 0, 0, 317, 318, 5, 40, 0, 0, 318, 69, 1, 0, 0, 0, 319, 322, 5, 39, 0, 0, 320, 322, 3, 36, 18, 0, 321, 319, 1, 0, 0, 0, 321, 320, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 326, 5, 19, 0, 0, 324, 327, 3, 36, 18, 0, 325, 327, 5, 39, 0, 0, 326, 324, 1, 0, 0, 0, 326, 325, 1, 0, 0, 0, 327, 329, 1, 0, 0, 0, 328, 330, 3, 26, 13, 0, 329, 328, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 71, 1, 0, 0, 0, 42, 73, 78, 82, 90, 96, 98, 104, 109, 119, 123, 134, 139, 142, 146, 158, 162, 172, 178, 184, 190, 196, 209, 213, 218, 223, 229, 236, 242, 248, 252, 264, 268, 273, 278, 284, 291, 297, 303, 307, 321, 326, 329] \ No newline at end of file +[4, 1, 41, 340, 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, 2, 35, 7, 35, 1, 0, 3, 0, 74, 8, 0, 1, 0, 5, 0, 77, 8, 0, 10, 0, 12, 0, 80, 9, 0, 1, 0, 3, 0, 83, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 5, 1, 89, 8, 1, 10, 1, 12, 1, 92, 9, 1, 1, 1, 4, 1, 95, 8, 1, 11, 1, 12, 1, 96, 3, 1, 99, 8, 1, 1, 2, 1, 2, 5, 2, 103, 8, 2, 10, 2, 12, 2, 106, 9, 2, 1, 3, 1, 3, 3, 3, 110, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 120, 8, 4, 1, 5, 1, 5, 3, 5, 124, 8, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 135, 8, 8, 1, 9, 1, 9, 1, 9, 3, 9, 140, 8, 9, 1, 9, 3, 9, 143, 8, 9, 1, 10, 1, 10, 3, 10, 147, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 4, 13, 157, 8, 13, 11, 13, 12, 13, 158, 1, 14, 1, 14, 3, 14, 163, 8, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 173, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 179, 8, 18, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 185, 8, 19, 1, 20, 1, 20, 4, 20, 189, 8, 20, 11, 20, 12, 20, 190, 1, 21, 1, 21, 5, 21, 195, 8, 21, 10, 21, 12, 21, 198, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 207, 8, 22, 1, 23, 1, 23, 1, 24, 1, 24, 5, 24, 213, 8, 24, 10, 24, 12, 24, 216, 9, 24, 1, 24, 3, 24, 219, 8, 24, 1, 24, 5, 24, 222, 8, 24, 10, 24, 12, 24, 225, 9, 24, 1, 24, 1, 24, 3, 24, 229, 8, 24, 1, 25, 1, 25, 5, 25, 233, 8, 25, 10, 25, 12, 25, 236, 9, 25, 1, 25, 1, 25, 5, 25, 240, 8, 25, 10, 25, 12, 25, 243, 9, 25, 1, 25, 5, 25, 246, 8, 25, 10, 25, 12, 25, 249, 9, 25, 1, 25, 5, 25, 252, 8, 25, 10, 25, 12, 25, 255, 9, 25, 1, 25, 3, 25, 258, 8, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 5, 28, 268, 8, 28, 10, 28, 12, 28, 271, 9, 28, 1, 28, 3, 28, 274, 8, 28, 1, 28, 5, 28, 277, 8, 28, 10, 28, 12, 28, 280, 9, 28, 1, 28, 1, 28, 3, 28, 284, 8, 28, 1, 29, 1, 29, 5, 29, 288, 8, 29, 10, 29, 12, 29, 291, 9, 29, 1, 29, 1, 29, 5, 29, 295, 8, 29, 10, 29, 12, 29, 298, 9, 29, 1, 29, 5, 29, 301, 8, 29, 10, 29, 12, 29, 304, 9, 29, 1, 29, 5, 29, 307, 8, 29, 10, 29, 12, 29, 310, 9, 29, 1, 29, 3, 29, 313, 8, 29, 1, 30, 1, 30, 1, 31, 3, 31, 318, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 330, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 335, 8, 35, 1, 35, 3, 35, 338, 8, 35, 1, 35, 0, 0, 36, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 0, 5, 2, 0, 8, 10, 38, 38, 2, 0, 19, 19, 21, 21, 2, 0, 32, 32, 35, 36, 1, 0, 26, 27, 1, 0, 8, 9, 362, 0, 73, 1, 0, 0, 0, 2, 98, 1, 0, 0, 0, 4, 100, 1, 0, 0, 0, 6, 109, 1, 0, 0, 0, 8, 119, 1, 0, 0, 0, 10, 121, 1, 0, 0, 0, 12, 125, 1, 0, 0, 0, 14, 127, 1, 0, 0, 0, 16, 134, 1, 0, 0, 0, 18, 142, 1, 0, 0, 0, 20, 144, 1, 0, 0, 0, 22, 150, 1, 0, 0, 0, 24, 152, 1, 0, 0, 0, 26, 156, 1, 0, 0, 0, 28, 162, 1, 0, 0, 0, 30, 164, 1, 0, 0, 0, 32, 167, 1, 0, 0, 0, 34, 169, 1, 0, 0, 0, 36, 178, 1, 0, 0, 0, 38, 184, 1, 0, 0, 0, 40, 186, 1, 0, 0, 0, 42, 192, 1, 0, 0, 0, 44, 206, 1, 0, 0, 0, 46, 208, 1, 0, 0, 0, 48, 228, 1, 0, 0, 0, 50, 230, 1, 0, 0, 0, 52, 259, 1, 0, 0, 0, 54, 263, 1, 0, 0, 0, 56, 283, 1, 0, 0, 0, 58, 285, 1, 0, 0, 0, 60, 314, 1, 0, 0, 0, 62, 317, 1, 0, 0, 0, 64, 321, 1, 0, 0, 0, 66, 323, 1, 0, 0, 0, 68, 325, 1, 0, 0, 0, 70, 329, 1, 0, 0, 0, 72, 74, 3, 2, 1, 0, 73, 72, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 78, 1, 0, 0, 0, 75, 77, 3, 8, 4, 0, 76, 75, 1, 0, 0, 0, 77, 80, 1, 0, 0, 0, 78, 76, 1, 0, 0, 0, 78, 79, 1, 0, 0, 0, 79, 82, 1, 0, 0, 0, 80, 78, 1, 0, 0, 0, 81, 83, 3, 4, 2, 0, 82, 81, 1, 0, 0, 0, 82, 83, 1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 5, 0, 0, 1, 85, 1, 1, 0, 0, 0, 86, 90, 5, 1, 0, 0, 87, 89, 3, 26, 13, 0, 88, 87, 1, 0, 0, 0, 89, 92, 1, 0, 0, 0, 90, 88, 1, 0, 0, 0, 90, 91, 1, 0, 0, 0, 91, 99, 1, 0, 0, 0, 92, 90, 1, 0, 0, 0, 93, 95, 3, 26, 13, 0, 94, 93, 1, 0, 0, 0, 95, 96, 1, 0, 0, 0, 96, 94, 1, 0, 0, 0, 96, 97, 1, 0, 0, 0, 97, 99, 1, 0, 0, 0, 98, 86, 1, 0, 0, 0, 98, 94, 1, 0, 0, 0, 99, 3, 1, 0, 0, 0, 100, 104, 5, 5, 0, 0, 101, 103, 3, 6, 3, 0, 102, 101, 1, 0, 0, 0, 103, 106, 1, 0, 0, 0, 104, 102, 1, 0, 0, 0, 104, 105, 1, 0, 0, 0, 105, 5, 1, 0, 0, 0, 106, 104, 1, 0, 0, 0, 107, 110, 3, 26, 13, 0, 108, 110, 3, 10, 5, 0, 109, 107, 1, 0, 0, 0, 109, 108, 1, 0, 0, 0, 110, 7, 1, 0, 0, 0, 111, 120, 3, 26, 13, 0, 112, 120, 3, 10, 5, 0, 113, 120, 3, 12, 6, 0, 114, 120, 5, 6, 0, 0, 115, 120, 3, 14, 7, 0, 116, 120, 3, 30, 15, 0, 117, 120, 3, 16, 8, 0, 118, 120, 3, 70, 35, 0, 119, 111, 1, 0, 0, 0, 119, 112, 1, 0, 0, 0, 119, 113, 1, 0, 0, 0, 119, 114, 1, 0, 0, 0, 119, 115, 1, 0, 0, 0, 119, 116, 1, 0, 0, 0, 119, 117, 1, 0, 0, 0, 119, 118, 1, 0, 0, 0, 120, 9, 1, 0, 0, 0, 121, 123, 5, 36, 0, 0, 122, 124, 3, 26, 13, 0, 123, 122, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 11, 1, 0, 0, 0, 125, 126, 5, 35, 0, 0, 126, 13, 1, 0, 0, 0, 127, 128, 5, 7, 0, 0, 128, 15, 1, 0, 0, 0, 129, 135, 3, 18, 9, 0, 130, 135, 3, 24, 12, 0, 131, 132, 3, 68, 34, 0, 132, 133, 3, 28, 14, 0, 133, 135, 1, 0, 0, 0, 134, 129, 1, 0, 0, 0, 134, 130, 1, 0, 0, 0, 134, 131, 1, 0, 0, 0, 135, 17, 1, 0, 0, 0, 136, 143, 3, 20, 10, 0, 137, 139, 5, 3, 0, 0, 138, 140, 3, 46, 23, 0, 139, 138, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0, 140, 141, 1, 0, 0, 0, 141, 143, 3, 28, 14, 0, 142, 136, 1, 0, 0, 0, 142, 137, 1, 0, 0, 0, 143, 19, 1, 0, 0, 0, 144, 146, 5, 2, 0, 0, 145, 147, 3, 22, 11, 0, 146, 145, 1, 0, 0, 0, 146, 147, 1, 0, 0, 0, 147, 148, 1, 0, 0, 0, 148, 149, 3, 28, 14, 0, 149, 21, 1, 0, 0, 0, 150, 151, 5, 38, 0, 0, 151, 23, 1, 0, 0, 0, 152, 153, 5, 4, 0, 0, 153, 154, 3, 28, 14, 0, 154, 25, 1, 0, 0, 0, 155, 157, 5, 32, 0, 0, 156, 155, 1, 0, 0, 0, 157, 158, 1, 0, 0, 0, 158, 156, 1, 0, 0, 0, 158, 159, 1, 0, 0, 0, 159, 27, 1, 0, 0, 0, 160, 163, 3, 26, 13, 0, 161, 163, 5, 0, 0, 1, 162, 160, 1, 0, 0, 0, 162, 161, 1, 0, 0, 0, 163, 29, 1, 0, 0, 0, 164, 165, 3, 34, 17, 0, 165, 166, 3, 28, 14, 0, 166, 31, 1, 0, 0, 0, 167, 168, 7, 0, 0, 0, 168, 33, 1, 0, 0, 0, 169, 170, 3, 32, 16, 0, 170, 172, 5, 19, 0, 0, 171, 173, 3, 36, 18, 0, 172, 171, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 35, 1, 0, 0, 0, 174, 179, 3, 40, 20, 0, 175, 179, 3, 38, 19, 0, 176, 179, 3, 56, 28, 0, 177, 179, 3, 48, 24, 0, 178, 174, 1, 0, 0, 0, 178, 175, 1, 0, 0, 0, 178, 176, 1, 0, 0, 0, 178, 177, 1, 0, 0, 0, 179, 37, 1, 0, 0, 0, 180, 185, 3, 64, 32, 0, 181, 185, 3, 46, 23, 0, 182, 185, 3, 62, 31, 0, 183, 185, 3, 66, 33, 0, 184, 180, 1, 0, 0, 0, 184, 181, 1, 0, 0, 0, 184, 182, 1, 0, 0, 0, 184, 183, 1, 0, 0, 0, 185, 39, 1, 0, 0, 0, 186, 188, 5, 13, 0, 0, 187, 189, 3, 42, 21, 0, 188, 187, 1, 0, 0, 0, 189, 190, 1, 0, 0, 0, 190, 188, 1, 0, 0, 0, 190, 191, 1, 0, 0, 0, 191, 41, 1, 0, 0, 0, 192, 196, 5, 26, 0, 0, 193, 195, 3, 60, 30, 0, 194, 193, 1, 0, 0, 0, 195, 198, 1, 0, 0, 0, 196, 194, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 199, 1, 0, 0, 0, 198, 196, 1, 0, 0, 0, 199, 200, 3, 44, 22, 0, 200, 43, 1, 0, 0, 0, 201, 207, 5, 13, 0, 0, 202, 207, 3, 62, 31, 0, 203, 207, 5, 9, 0, 0, 204, 207, 5, 8, 0, 0, 205, 207, 5, 10, 0, 0, 206, 201, 1, 0, 0, 0, 206, 202, 1, 0, 0, 0, 206, 203, 1, 0, 0, 0, 206, 204, 1, 0, 0, 0, 206, 205, 1, 0, 0, 0, 207, 45, 1, 0, 0, 0, 208, 209, 5, 13, 0, 0, 209, 47, 1, 0, 0, 0, 210, 214, 5, 24, 0, 0, 211, 213, 3, 60, 30, 0, 212, 211, 1, 0, 0, 0, 213, 216, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 218, 1, 0, 0, 0, 216, 214, 1, 0, 0, 0, 217, 219, 3, 50, 25, 0, 218, 217, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 223, 1, 0, 0, 0, 220, 222, 3, 60, 30, 0, 221, 220, 1, 0, 0, 0, 222, 225, 1, 0, 0, 0, 223, 221, 1, 0, 0, 0, 223, 224, 1, 0, 0, 0, 224, 226, 1, 0, 0, 0, 225, 223, 1, 0, 0, 0, 226, 229, 5, 25, 0, 0, 227, 229, 5, 11, 0, 0, 228, 210, 1, 0, 0, 0, 228, 227, 1, 0, 0, 0, 229, 49, 1, 0, 0, 0, 230, 247, 3, 52, 26, 0, 231, 233, 3, 60, 30, 0, 232, 231, 1, 0, 0, 0, 233, 236, 1, 0, 0, 0, 234, 232, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 237, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 237, 241, 5, 20, 0, 0, 238, 240, 3, 60, 30, 0, 239, 238, 1, 0, 0, 0, 240, 243, 1, 0, 0, 0, 241, 239, 1, 0, 0, 0, 241, 242, 1, 0, 0, 0, 242, 244, 1, 0, 0, 0, 243, 241, 1, 0, 0, 0, 244, 246, 3, 52, 26, 0, 245, 234, 1, 0, 0, 0, 246, 249, 1, 0, 0, 0, 247, 245, 1, 0, 0, 0, 247, 248, 1, 0, 0, 0, 248, 257, 1, 0, 0, 0, 249, 247, 1, 0, 0, 0, 250, 252, 3, 60, 30, 0, 251, 250, 1, 0, 0, 0, 252, 255, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 253, 254, 1, 0, 0, 0, 254, 256, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 256, 258, 5, 20, 0, 0, 257, 253, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 51, 1, 0, 0, 0, 259, 260, 3, 32, 16, 0, 260, 261, 3, 54, 27, 0, 261, 262, 3, 36, 18, 0, 262, 53, 1, 0, 0, 0, 263, 264, 7, 1, 0, 0, 264, 55, 1, 0, 0, 0, 265, 269, 5, 22, 0, 0, 266, 268, 3, 60, 30, 0, 267, 266, 1, 0, 0, 0, 268, 271, 1, 0, 0, 0, 269, 267, 1, 0, 0, 0, 269, 270, 1, 0, 0, 0, 270, 273, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 272, 274, 3, 58, 29, 0, 273, 272, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 278, 1, 0, 0, 0, 275, 277, 3, 60, 30, 0, 276, 275, 1, 0, 0, 0, 277, 280, 1, 0, 0, 0, 278, 276, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 281, 1, 0, 0, 0, 280, 278, 1, 0, 0, 0, 281, 284, 5, 23, 0, 0, 282, 284, 5, 12, 0, 0, 283, 265, 1, 0, 0, 0, 283, 282, 1, 0, 0, 0, 284, 57, 1, 0, 0, 0, 285, 302, 3, 36, 18, 0, 286, 288, 3, 60, 30, 0, 287, 286, 1, 0, 0, 0, 288, 291, 1, 0, 0, 0, 289, 287, 1, 0, 0, 0, 289, 290, 1, 0, 0, 0, 290, 292, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 292, 296, 5, 20, 0, 0, 293, 295, 3, 60, 30, 0, 294, 293, 1, 0, 0, 0, 295, 298, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 299, 1, 0, 0, 0, 298, 296, 1, 0, 0, 0, 299, 301, 3, 36, 18, 0, 300, 289, 1, 0, 0, 0, 301, 304, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 312, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 307, 3, 60, 30, 0, 306, 305, 1, 0, 0, 0, 307, 310, 1, 0, 0, 0, 308, 306, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 311, 1, 0, 0, 0, 310, 308, 1, 0, 0, 0, 311, 313, 5, 20, 0, 0, 312, 308, 1, 0, 0, 0, 312, 313, 1, 0, 0, 0, 313, 59, 1, 0, 0, 0, 314, 315, 7, 2, 0, 0, 315, 61, 1, 0, 0, 0, 316, 318, 7, 3, 0, 0, 317, 316, 1, 0, 0, 0, 317, 318, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 320, 5, 14, 0, 0, 320, 63, 1, 0, 0, 0, 321, 322, 5, 10, 0, 0, 322, 65, 1, 0, 0, 0, 323, 324, 7, 4, 0, 0, 324, 67, 1, 0, 0, 0, 325, 326, 5, 41, 0, 0, 326, 69, 1, 0, 0, 0, 327, 330, 5, 40, 0, 0, 328, 330, 3, 36, 18, 0, 329, 327, 1, 0, 0, 0, 329, 328, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 334, 5, 19, 0, 0, 332, 335, 3, 36, 18, 0, 333, 335, 5, 40, 0, 0, 334, 332, 1, 0, 0, 0, 334, 333, 1, 0, 0, 0, 335, 337, 1, 0, 0, 0, 336, 338, 3, 26, 13, 0, 337, 336, 1, 0, 0, 0, 337, 338, 1, 0, 0, 0, 338, 71, 1, 0, 0, 0, 44, 73, 78, 82, 90, 96, 98, 104, 109, 119, 123, 134, 139, 142, 146, 158, 162, 172, 178, 184, 190, 196, 206, 214, 218, 223, 228, 234, 241, 247, 253, 257, 269, 273, 278, 283, 289, 296, 302, 308, 312, 317, 329, 334, 337] \ No newline at end of file diff --git a/src/yini_parser/grammar/generated/YiniParser.py b/src/yini_parser/grammar/generated/YiniParser.py index 5aab927..1828ad9 100644 --- a/src/yini_parser/grammar/generated/YiniParser.py +++ b/src/yini_parser/grammar/generated/YiniParser.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,1,40,332,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, + 4,1,41,340,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, @@ -26,110 +26,114 @@ def serializedATN(): 1,16,1,17,1,17,1,17,3,17,173,8,17,1,18,1,18,1,18,1,18,3,18,179,8, 18,1,19,1,19,1,19,1,19,3,19,185,8,19,1,20,1,20,4,20,189,8,20,11, 20,12,20,190,1,21,1,21,5,21,195,8,21,10,21,12,21,198,9,21,1,21,1, - 21,1,22,1,22,1,23,1,23,1,24,1,24,5,24,208,8,24,10,24,12,24,211,9, - 24,1,24,3,24,214,8,24,1,24,5,24,217,8,24,10,24,12,24,220,9,24,1, - 24,1,24,3,24,224,8,24,1,25,1,25,5,25,228,8,25,10,25,12,25,231,9, - 25,1,25,1,25,5,25,235,8,25,10,25,12,25,238,9,25,1,25,5,25,241,8, - 25,10,25,12,25,244,9,25,1,25,5,25,247,8,25,10,25,12,25,250,9,25, - 1,25,3,25,253,8,25,1,26,1,26,1,26,1,26,1,27,1,27,1,28,1,28,5,28, - 263,8,28,10,28,12,28,266,9,28,1,28,3,28,269,8,28,1,28,5,28,272,8, - 28,10,28,12,28,275,9,28,1,28,1,28,3,28,279,8,28,1,29,1,29,5,29,283, - 8,29,10,29,12,29,286,9,29,1,29,1,29,5,29,290,8,29,10,29,12,29,293, - 9,29,1,29,5,29,296,8,29,10,29,12,29,299,9,29,1,29,5,29,302,8,29, - 10,29,12,29,305,9,29,1,29,3,29,308,8,29,1,30,1,30,1,31,1,31,1,32, - 1,32,1,33,1,33,1,34,1,34,1,35,1,35,3,35,322,8,35,1,35,1,35,1,35, - 3,35,327,8,35,1,35,3,35,330,8,35,1,35,0,0,36,0,2,4,6,8,10,12,14, - 16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58, - 60,62,64,66,68,70,0,5,2,0,8,10,37,37,2,0,8,10,13,14,2,0,19,19,21, - 21,2,0,31,31,34,35,1,0,8,9,349,0,73,1,0,0,0,2,98,1,0,0,0,4,100,1, - 0,0,0,6,109,1,0,0,0,8,119,1,0,0,0,10,121,1,0,0,0,12,125,1,0,0,0, - 14,127,1,0,0,0,16,134,1,0,0,0,18,142,1,0,0,0,20,144,1,0,0,0,22,150, - 1,0,0,0,24,152,1,0,0,0,26,156,1,0,0,0,28,162,1,0,0,0,30,164,1,0, - 0,0,32,167,1,0,0,0,34,169,1,0,0,0,36,178,1,0,0,0,38,184,1,0,0,0, - 40,186,1,0,0,0,42,192,1,0,0,0,44,201,1,0,0,0,46,203,1,0,0,0,48,223, - 1,0,0,0,50,225,1,0,0,0,52,254,1,0,0,0,54,258,1,0,0,0,56,278,1,0, - 0,0,58,280,1,0,0,0,60,309,1,0,0,0,62,311,1,0,0,0,64,313,1,0,0,0, - 66,315,1,0,0,0,68,317,1,0,0,0,70,321,1,0,0,0,72,74,3,2,1,0,73,72, - 1,0,0,0,73,74,1,0,0,0,74,78,1,0,0,0,75,77,3,8,4,0,76,75,1,0,0,0, - 77,80,1,0,0,0,78,76,1,0,0,0,78,79,1,0,0,0,79,82,1,0,0,0,80,78,1, - 0,0,0,81,83,3,4,2,0,82,81,1,0,0,0,82,83,1,0,0,0,83,84,1,0,0,0,84, - 85,5,0,0,1,85,1,1,0,0,0,86,90,5,1,0,0,87,89,3,26,13,0,88,87,1,0, - 0,0,89,92,1,0,0,0,90,88,1,0,0,0,90,91,1,0,0,0,91,99,1,0,0,0,92,90, - 1,0,0,0,93,95,3,26,13,0,94,93,1,0,0,0,95,96,1,0,0,0,96,94,1,0,0, - 0,96,97,1,0,0,0,97,99,1,0,0,0,98,86,1,0,0,0,98,94,1,0,0,0,99,3,1, - 0,0,0,100,104,5,5,0,0,101,103,3,6,3,0,102,101,1,0,0,0,103,106,1, - 0,0,0,104,102,1,0,0,0,104,105,1,0,0,0,105,5,1,0,0,0,106,104,1,0, - 0,0,107,110,3,26,13,0,108,110,3,10,5,0,109,107,1,0,0,0,109,108,1, - 0,0,0,110,7,1,0,0,0,111,120,3,26,13,0,112,120,3,10,5,0,113,120,3, - 12,6,0,114,120,5,6,0,0,115,120,3,14,7,0,116,120,3,30,15,0,117,120, - 3,16,8,0,118,120,3,70,35,0,119,111,1,0,0,0,119,112,1,0,0,0,119,113, - 1,0,0,0,119,114,1,0,0,0,119,115,1,0,0,0,119,116,1,0,0,0,119,117, - 1,0,0,0,119,118,1,0,0,0,120,9,1,0,0,0,121,123,5,35,0,0,122,124,3, - 26,13,0,123,122,1,0,0,0,123,124,1,0,0,0,124,11,1,0,0,0,125,126,5, - 34,0,0,126,13,1,0,0,0,127,128,5,7,0,0,128,15,1,0,0,0,129,135,3,18, - 9,0,130,135,3,24,12,0,131,132,3,68,34,0,132,133,3,28,14,0,133,135, - 1,0,0,0,134,129,1,0,0,0,134,130,1,0,0,0,134,131,1,0,0,0,135,17,1, - 0,0,0,136,143,3,20,10,0,137,139,5,3,0,0,138,140,3,46,23,0,139,138, - 1,0,0,0,139,140,1,0,0,0,140,141,1,0,0,0,141,143,3,28,14,0,142,136, - 1,0,0,0,142,137,1,0,0,0,143,19,1,0,0,0,144,146,5,2,0,0,145,147,3, - 22,11,0,146,145,1,0,0,0,146,147,1,0,0,0,147,148,1,0,0,0,148,149, - 3,28,14,0,149,21,1,0,0,0,150,151,5,37,0,0,151,23,1,0,0,0,152,153, - 5,4,0,0,153,154,3,28,14,0,154,25,1,0,0,0,155,157,5,31,0,0,156,155, - 1,0,0,0,157,158,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,27,1, - 0,0,0,160,163,3,26,13,0,161,163,5,0,0,1,162,160,1,0,0,0,162,161, - 1,0,0,0,163,29,1,0,0,0,164,165,3,34,17,0,165,166,3,28,14,0,166,31, - 1,0,0,0,167,168,7,0,0,0,168,33,1,0,0,0,169,170,3,32,16,0,170,172, - 5,19,0,0,171,173,3,36,18,0,172,171,1,0,0,0,172,173,1,0,0,0,173,35, - 1,0,0,0,174,179,3,40,20,0,175,179,3,38,19,0,176,179,3,56,28,0,177, - 179,3,48,24,0,178,174,1,0,0,0,178,175,1,0,0,0,178,176,1,0,0,0,178, - 177,1,0,0,0,179,37,1,0,0,0,180,185,3,64,32,0,181,185,3,46,23,0,182, - 185,3,62,31,0,183,185,3,66,33,0,184,180,1,0,0,0,184,181,1,0,0,0, - 184,182,1,0,0,0,184,183,1,0,0,0,185,39,1,0,0,0,186,188,5,13,0,0, - 187,189,3,42,21,0,188,187,1,0,0,0,189,190,1,0,0,0,190,188,1,0,0, - 0,190,191,1,0,0,0,191,41,1,0,0,0,192,196,5,26,0,0,193,195,3,60,30, - 0,194,193,1,0,0,0,195,198,1,0,0,0,196,194,1,0,0,0,196,197,1,0,0, - 0,197,199,1,0,0,0,198,196,1,0,0,0,199,200,3,44,22,0,200,43,1,0,0, - 0,201,202,7,1,0,0,202,45,1,0,0,0,203,204,5,13,0,0,204,47,1,0,0,0, - 205,209,5,24,0,0,206,208,3,60,30,0,207,206,1,0,0,0,208,211,1,0,0, - 0,209,207,1,0,0,0,209,210,1,0,0,0,210,213,1,0,0,0,211,209,1,0,0, - 0,212,214,3,50,25,0,213,212,1,0,0,0,213,214,1,0,0,0,214,218,1,0, - 0,0,215,217,3,60,30,0,216,215,1,0,0,0,217,220,1,0,0,0,218,216,1, - 0,0,0,218,219,1,0,0,0,219,221,1,0,0,0,220,218,1,0,0,0,221,224,5, - 25,0,0,222,224,5,11,0,0,223,205,1,0,0,0,223,222,1,0,0,0,224,49,1, - 0,0,0,225,242,3,52,26,0,226,228,3,60,30,0,227,226,1,0,0,0,228,231, - 1,0,0,0,229,227,1,0,0,0,229,230,1,0,0,0,230,232,1,0,0,0,231,229, - 1,0,0,0,232,236,5,20,0,0,233,235,3,60,30,0,234,233,1,0,0,0,235,238, - 1,0,0,0,236,234,1,0,0,0,236,237,1,0,0,0,237,239,1,0,0,0,238,236, - 1,0,0,0,239,241,3,52,26,0,240,229,1,0,0,0,241,244,1,0,0,0,242,240, - 1,0,0,0,242,243,1,0,0,0,243,252,1,0,0,0,244,242,1,0,0,0,245,247, - 3,60,30,0,246,245,1,0,0,0,247,250,1,0,0,0,248,246,1,0,0,0,248,249, - 1,0,0,0,249,251,1,0,0,0,250,248,1,0,0,0,251,253,5,20,0,0,252,248, - 1,0,0,0,252,253,1,0,0,0,253,51,1,0,0,0,254,255,3,32,16,0,255,256, - 3,54,27,0,256,257,3,36,18,0,257,53,1,0,0,0,258,259,7,2,0,0,259,55, - 1,0,0,0,260,264,5,22,0,0,261,263,3,60,30,0,262,261,1,0,0,0,263,266, - 1,0,0,0,264,262,1,0,0,0,264,265,1,0,0,0,265,268,1,0,0,0,266,264, - 1,0,0,0,267,269,3,58,29,0,268,267,1,0,0,0,268,269,1,0,0,0,269,273, - 1,0,0,0,270,272,3,60,30,0,271,270,1,0,0,0,272,275,1,0,0,0,273,271, - 1,0,0,0,273,274,1,0,0,0,274,276,1,0,0,0,275,273,1,0,0,0,276,279, - 5,23,0,0,277,279,5,12,0,0,278,260,1,0,0,0,278,277,1,0,0,0,279,57, - 1,0,0,0,280,297,3,36,18,0,281,283,3,60,30,0,282,281,1,0,0,0,283, - 286,1,0,0,0,284,282,1,0,0,0,284,285,1,0,0,0,285,287,1,0,0,0,286, - 284,1,0,0,0,287,291,5,20,0,0,288,290,3,60,30,0,289,288,1,0,0,0,290, - 293,1,0,0,0,291,289,1,0,0,0,291,292,1,0,0,0,292,294,1,0,0,0,293, - 291,1,0,0,0,294,296,3,36,18,0,295,284,1,0,0,0,296,299,1,0,0,0,297, - 295,1,0,0,0,297,298,1,0,0,0,298,307,1,0,0,0,299,297,1,0,0,0,300, - 302,3,60,30,0,301,300,1,0,0,0,302,305,1,0,0,0,303,301,1,0,0,0,303, - 304,1,0,0,0,304,306,1,0,0,0,305,303,1,0,0,0,306,308,5,20,0,0,307, - 303,1,0,0,0,307,308,1,0,0,0,308,59,1,0,0,0,309,310,7,3,0,0,310,61, - 1,0,0,0,311,312,5,14,0,0,312,63,1,0,0,0,313,314,5,10,0,0,314,65, - 1,0,0,0,315,316,7,4,0,0,316,67,1,0,0,0,317,318,5,40,0,0,318,69,1, - 0,0,0,319,322,5,39,0,0,320,322,3,36,18,0,321,319,1,0,0,0,321,320, - 1,0,0,0,321,322,1,0,0,0,322,323,1,0,0,0,323,326,5,19,0,0,324,327, - 3,36,18,0,325,327,5,39,0,0,326,324,1,0,0,0,326,325,1,0,0,0,327,329, - 1,0,0,0,328,330,3,26,13,0,329,328,1,0,0,0,329,330,1,0,0,0,330,71, - 1,0,0,0,42,73,78,82,90,96,98,104,109,119,123,134,139,142,146,158, - 162,172,178,184,190,196,209,213,218,223,229,236,242,248,252,264, - 268,273,278,284,291,297,303,307,321,326,329 + 21,1,22,1,22,1,22,1,22,1,22,3,22,207,8,22,1,23,1,23,1,24,1,24,5, + 24,213,8,24,10,24,12,24,216,9,24,1,24,3,24,219,8,24,1,24,5,24,222, + 8,24,10,24,12,24,225,9,24,1,24,1,24,3,24,229,8,24,1,25,1,25,5,25, + 233,8,25,10,25,12,25,236,9,25,1,25,1,25,5,25,240,8,25,10,25,12,25, + 243,9,25,1,25,5,25,246,8,25,10,25,12,25,249,9,25,1,25,5,25,252,8, + 25,10,25,12,25,255,9,25,1,25,3,25,258,8,25,1,26,1,26,1,26,1,26,1, + 27,1,27,1,28,1,28,5,28,268,8,28,10,28,12,28,271,9,28,1,28,3,28,274, + 8,28,1,28,5,28,277,8,28,10,28,12,28,280,9,28,1,28,1,28,3,28,284, + 8,28,1,29,1,29,5,29,288,8,29,10,29,12,29,291,9,29,1,29,1,29,5,29, + 295,8,29,10,29,12,29,298,9,29,1,29,5,29,301,8,29,10,29,12,29,304, + 9,29,1,29,5,29,307,8,29,10,29,12,29,310,9,29,1,29,3,29,313,8,29, + 1,30,1,30,1,31,3,31,318,8,31,1,31,1,31,1,32,1,32,1,33,1,33,1,34, + 1,34,1,35,1,35,3,35,330,8,35,1,35,1,35,1,35,3,35,335,8,35,1,35,3, + 35,338,8,35,1,35,0,0,36,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28, + 30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,0, + 5,2,0,8,10,38,38,2,0,19,19,21,21,2,0,32,32,35,36,1,0,26,27,1,0,8, + 9,362,0,73,1,0,0,0,2,98,1,0,0,0,4,100,1,0,0,0,6,109,1,0,0,0,8,119, + 1,0,0,0,10,121,1,0,0,0,12,125,1,0,0,0,14,127,1,0,0,0,16,134,1,0, + 0,0,18,142,1,0,0,0,20,144,1,0,0,0,22,150,1,0,0,0,24,152,1,0,0,0, + 26,156,1,0,0,0,28,162,1,0,0,0,30,164,1,0,0,0,32,167,1,0,0,0,34,169, + 1,0,0,0,36,178,1,0,0,0,38,184,1,0,0,0,40,186,1,0,0,0,42,192,1,0, + 0,0,44,206,1,0,0,0,46,208,1,0,0,0,48,228,1,0,0,0,50,230,1,0,0,0, + 52,259,1,0,0,0,54,263,1,0,0,0,56,283,1,0,0,0,58,285,1,0,0,0,60,314, + 1,0,0,0,62,317,1,0,0,0,64,321,1,0,0,0,66,323,1,0,0,0,68,325,1,0, + 0,0,70,329,1,0,0,0,72,74,3,2,1,0,73,72,1,0,0,0,73,74,1,0,0,0,74, + 78,1,0,0,0,75,77,3,8,4,0,76,75,1,0,0,0,77,80,1,0,0,0,78,76,1,0,0, + 0,78,79,1,0,0,0,79,82,1,0,0,0,80,78,1,0,0,0,81,83,3,4,2,0,82,81, + 1,0,0,0,82,83,1,0,0,0,83,84,1,0,0,0,84,85,5,0,0,1,85,1,1,0,0,0,86, + 90,5,1,0,0,87,89,3,26,13,0,88,87,1,0,0,0,89,92,1,0,0,0,90,88,1,0, + 0,0,90,91,1,0,0,0,91,99,1,0,0,0,92,90,1,0,0,0,93,95,3,26,13,0,94, + 93,1,0,0,0,95,96,1,0,0,0,96,94,1,0,0,0,96,97,1,0,0,0,97,99,1,0,0, + 0,98,86,1,0,0,0,98,94,1,0,0,0,99,3,1,0,0,0,100,104,5,5,0,0,101,103, + 3,6,3,0,102,101,1,0,0,0,103,106,1,0,0,0,104,102,1,0,0,0,104,105, + 1,0,0,0,105,5,1,0,0,0,106,104,1,0,0,0,107,110,3,26,13,0,108,110, + 3,10,5,0,109,107,1,0,0,0,109,108,1,0,0,0,110,7,1,0,0,0,111,120,3, + 26,13,0,112,120,3,10,5,0,113,120,3,12,6,0,114,120,5,6,0,0,115,120, + 3,14,7,0,116,120,3,30,15,0,117,120,3,16,8,0,118,120,3,70,35,0,119, + 111,1,0,0,0,119,112,1,0,0,0,119,113,1,0,0,0,119,114,1,0,0,0,119, + 115,1,0,0,0,119,116,1,0,0,0,119,117,1,0,0,0,119,118,1,0,0,0,120, + 9,1,0,0,0,121,123,5,36,0,0,122,124,3,26,13,0,123,122,1,0,0,0,123, + 124,1,0,0,0,124,11,1,0,0,0,125,126,5,35,0,0,126,13,1,0,0,0,127,128, + 5,7,0,0,128,15,1,0,0,0,129,135,3,18,9,0,130,135,3,24,12,0,131,132, + 3,68,34,0,132,133,3,28,14,0,133,135,1,0,0,0,134,129,1,0,0,0,134, + 130,1,0,0,0,134,131,1,0,0,0,135,17,1,0,0,0,136,143,3,20,10,0,137, + 139,5,3,0,0,138,140,3,46,23,0,139,138,1,0,0,0,139,140,1,0,0,0,140, + 141,1,0,0,0,141,143,3,28,14,0,142,136,1,0,0,0,142,137,1,0,0,0,143, + 19,1,0,0,0,144,146,5,2,0,0,145,147,3,22,11,0,146,145,1,0,0,0,146, + 147,1,0,0,0,147,148,1,0,0,0,148,149,3,28,14,0,149,21,1,0,0,0,150, + 151,5,38,0,0,151,23,1,0,0,0,152,153,5,4,0,0,153,154,3,28,14,0,154, + 25,1,0,0,0,155,157,5,32,0,0,156,155,1,0,0,0,157,158,1,0,0,0,158, + 156,1,0,0,0,158,159,1,0,0,0,159,27,1,0,0,0,160,163,3,26,13,0,161, + 163,5,0,0,1,162,160,1,0,0,0,162,161,1,0,0,0,163,29,1,0,0,0,164,165, + 3,34,17,0,165,166,3,28,14,0,166,31,1,0,0,0,167,168,7,0,0,0,168,33, + 1,0,0,0,169,170,3,32,16,0,170,172,5,19,0,0,171,173,3,36,18,0,172, + 171,1,0,0,0,172,173,1,0,0,0,173,35,1,0,0,0,174,179,3,40,20,0,175, + 179,3,38,19,0,176,179,3,56,28,0,177,179,3,48,24,0,178,174,1,0,0, + 0,178,175,1,0,0,0,178,176,1,0,0,0,178,177,1,0,0,0,179,37,1,0,0,0, + 180,185,3,64,32,0,181,185,3,46,23,0,182,185,3,62,31,0,183,185,3, + 66,33,0,184,180,1,0,0,0,184,181,1,0,0,0,184,182,1,0,0,0,184,183, + 1,0,0,0,185,39,1,0,0,0,186,188,5,13,0,0,187,189,3,42,21,0,188,187, + 1,0,0,0,189,190,1,0,0,0,190,188,1,0,0,0,190,191,1,0,0,0,191,41,1, + 0,0,0,192,196,5,26,0,0,193,195,3,60,30,0,194,193,1,0,0,0,195,198, + 1,0,0,0,196,194,1,0,0,0,196,197,1,0,0,0,197,199,1,0,0,0,198,196, + 1,0,0,0,199,200,3,44,22,0,200,43,1,0,0,0,201,207,5,13,0,0,202,207, + 3,62,31,0,203,207,5,9,0,0,204,207,5,8,0,0,205,207,5,10,0,0,206,201, + 1,0,0,0,206,202,1,0,0,0,206,203,1,0,0,0,206,204,1,0,0,0,206,205, + 1,0,0,0,207,45,1,0,0,0,208,209,5,13,0,0,209,47,1,0,0,0,210,214,5, + 24,0,0,211,213,3,60,30,0,212,211,1,0,0,0,213,216,1,0,0,0,214,212, + 1,0,0,0,214,215,1,0,0,0,215,218,1,0,0,0,216,214,1,0,0,0,217,219, + 3,50,25,0,218,217,1,0,0,0,218,219,1,0,0,0,219,223,1,0,0,0,220,222, + 3,60,30,0,221,220,1,0,0,0,222,225,1,0,0,0,223,221,1,0,0,0,223,224, + 1,0,0,0,224,226,1,0,0,0,225,223,1,0,0,0,226,229,5,25,0,0,227,229, + 5,11,0,0,228,210,1,0,0,0,228,227,1,0,0,0,229,49,1,0,0,0,230,247, + 3,52,26,0,231,233,3,60,30,0,232,231,1,0,0,0,233,236,1,0,0,0,234, + 232,1,0,0,0,234,235,1,0,0,0,235,237,1,0,0,0,236,234,1,0,0,0,237, + 241,5,20,0,0,238,240,3,60,30,0,239,238,1,0,0,0,240,243,1,0,0,0,241, + 239,1,0,0,0,241,242,1,0,0,0,242,244,1,0,0,0,243,241,1,0,0,0,244, + 246,3,52,26,0,245,234,1,0,0,0,246,249,1,0,0,0,247,245,1,0,0,0,247, + 248,1,0,0,0,248,257,1,0,0,0,249,247,1,0,0,0,250,252,3,60,30,0,251, + 250,1,0,0,0,252,255,1,0,0,0,253,251,1,0,0,0,253,254,1,0,0,0,254, + 256,1,0,0,0,255,253,1,0,0,0,256,258,5,20,0,0,257,253,1,0,0,0,257, + 258,1,0,0,0,258,51,1,0,0,0,259,260,3,32,16,0,260,261,3,54,27,0,261, + 262,3,36,18,0,262,53,1,0,0,0,263,264,7,1,0,0,264,55,1,0,0,0,265, + 269,5,22,0,0,266,268,3,60,30,0,267,266,1,0,0,0,268,271,1,0,0,0,269, + 267,1,0,0,0,269,270,1,0,0,0,270,273,1,0,0,0,271,269,1,0,0,0,272, + 274,3,58,29,0,273,272,1,0,0,0,273,274,1,0,0,0,274,278,1,0,0,0,275, + 277,3,60,30,0,276,275,1,0,0,0,277,280,1,0,0,0,278,276,1,0,0,0,278, + 279,1,0,0,0,279,281,1,0,0,0,280,278,1,0,0,0,281,284,5,23,0,0,282, + 284,5,12,0,0,283,265,1,0,0,0,283,282,1,0,0,0,284,57,1,0,0,0,285, + 302,3,36,18,0,286,288,3,60,30,0,287,286,1,0,0,0,288,291,1,0,0,0, + 289,287,1,0,0,0,289,290,1,0,0,0,290,292,1,0,0,0,291,289,1,0,0,0, + 292,296,5,20,0,0,293,295,3,60,30,0,294,293,1,0,0,0,295,298,1,0,0, + 0,296,294,1,0,0,0,296,297,1,0,0,0,297,299,1,0,0,0,298,296,1,0,0, + 0,299,301,3,36,18,0,300,289,1,0,0,0,301,304,1,0,0,0,302,300,1,0, + 0,0,302,303,1,0,0,0,303,312,1,0,0,0,304,302,1,0,0,0,305,307,3,60, + 30,0,306,305,1,0,0,0,307,310,1,0,0,0,308,306,1,0,0,0,308,309,1,0, + 0,0,309,311,1,0,0,0,310,308,1,0,0,0,311,313,5,20,0,0,312,308,1,0, + 0,0,312,313,1,0,0,0,313,59,1,0,0,0,314,315,7,2,0,0,315,61,1,0,0, + 0,316,318,7,3,0,0,317,316,1,0,0,0,317,318,1,0,0,0,318,319,1,0,0, + 0,319,320,5,14,0,0,320,63,1,0,0,0,321,322,5,10,0,0,322,65,1,0,0, + 0,323,324,7,4,0,0,324,67,1,0,0,0,325,326,5,41,0,0,326,69,1,0,0,0, + 327,330,5,40,0,0,328,330,3,36,18,0,329,327,1,0,0,0,329,328,1,0,0, + 0,329,330,1,0,0,0,330,331,1,0,0,0,331,334,5,19,0,0,332,335,3,36, + 18,0,333,335,5,40,0,0,334,332,1,0,0,0,334,333,1,0,0,0,335,337,1, + 0,0,0,336,338,3,26,13,0,337,336,1,0,0,0,337,338,1,0,0,0,338,71,1, + 0,0,0,44,73,78,82,90,96,98,104,109,119,123,134,139,142,146,158,162, + 172,178,184,190,196,206,214,218,223,228,234,241,247,253,257,269, + 273,278,283,289,296,302,308,312,317,329,334,337 ] class YiniParser ( Parser ): @@ -147,17 +151,17 @@ class YiniParser ( Parser ): "", "", "", "'{}'", "'[]'", "", "", "'^'", "'\\u00A7'", "'>'", "'<'", "'='", "','", "':'", "'['", "']'", "'{'", "'}'", - "'+'", "'$'", "'%'", "'@'", "';'" ] + "'+'", "'-'", "'$'", "'%'", "'@'", "';'" ] symbolicNames = [ "", "SHEBANG", "YINI_TOKEN", "INCLUDE_TOKEN", "DEPRECATED_TOKEN", "TERMINAL_TOKEN", "SECTION_HEAD", "INVALID_SECTION_HEAD", "BOOLEAN_FALSE", "BOOLEAN_TRUE", "NULL", "EMPTY_OBJECT", "EMPTY_LIST", "STRING", "NUMBER", "CARET", "SS", "GT", "LT", "EQ", "COMMA", "COLON", - "OB", "CB", "OC", "CC", "PLUS", "DOLLAR", "PC", "AT", - "SEMICOLON", "NL", "WS", "BLOCK_COMMENT", "DISABLED_LINE", - "FULL_LINE_COMMENT", "INLINE_COMMENT", "KEY", "IDENT_INVALID", - "REST", "META_INVALID" ] + "OB", "CB", "OC", "CC", "PLUS", "MINUS", "DOLLAR", + "PC", "AT", "SEMICOLON", "NL", "WS", "BLOCK_COMMENT", + "DISABLED_LINE", "FULL_LINE_COMMENT", "INLINE_COMMENT", + "KEY", "IDENT_INVALID", "REST", "META_INVALID" ] RULE_yini = 0 RULE_prolog = 1 @@ -234,20 +238,21 @@ class YiniParser ( Parser ): OC=24 CC=25 PLUS=26 - DOLLAR=27 - PC=28 - AT=29 - SEMICOLON=30 - NL=31 - WS=32 - BLOCK_COMMENT=33 - DISABLED_LINE=34 - FULL_LINE_COMMENT=35 - INLINE_COMMENT=36 - KEY=37 - IDENT_INVALID=38 - REST=39 - META_INVALID=40 + MINUS=27 + DOLLAR=28 + PC=29 + AT=30 + SEMICOLON=31 + NL=32 + WS=33 + BLOCK_COMMENT=34 + DISABLED_LINE=35 + FULL_LINE_COMMENT=36 + INLINE_COMMENT=37 + KEY=38 + IDENT_INVALID=39 + REST=40 + META_INVALID=41 def __init__(self, input:TokenStream, output:TextIO = sys.stdout): super().__init__(input, output) @@ -313,7 +318,7 @@ def yini(self): self.state = 78 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 1840415014876) != 0): + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 3681009827804) != 0): self.state = 75 self.stmt() self.state = 80 @@ -392,7 +397,7 @@ def prolog(self): _alt = self._interp.adaptivePredict(self._input,3,self._ctx) pass - elif token in [31]: + elif token in [32]: self.enterOuterAlt(localctx, 2) self.state = 94 self._errHandler.sync(self) @@ -462,7 +467,7 @@ def terminal_stmt(self): self.state = 104 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==31 or _la==35: + while _la==32 or _la==36: self.state = 101 self.terminal_trivia() self.state = 106 @@ -513,12 +518,12 @@ def terminal_trivia(self): self.state = 109 self._errHandler.sync(self) token = self._input.LA(1) - if token in [31]: + if token in [32]: self.enterOuterAlt(localctx, 1) self.state = 107 self.eol() pass - elif token in [35]: + elif token in [36]: self.enterOuterAlt(localctx, 2) self.state = 108 self.full_line_comment_stmt() @@ -833,7 +838,7 @@ def meta_stmt(self): self.state = 130 self.annotation() pass - elif token in [40]: + elif token in [41]: self.enterOuterAlt(localctx, 3) self.state = 131 self.bad_meta_text() @@ -969,7 +974,7 @@ def yini_directive(self): self.state = 146 self._errHandler.sync(self) _la = self._input.LA(1) - if _la==37: + if _la==38: self.state = 145 self.yini_mode_declaration() @@ -1157,7 +1162,7 @@ def line_end(self): self.state = 162 self._errHandler.sync(self) token = self._input.LA(1) - if token in [31]: + if token in [32]: self.enterOuterAlt(localctx, 1) self.state = 160 self.eol() @@ -1265,7 +1270,7 @@ def identifier(self): self.enterOuterAlt(localctx, 1) self.state = 167 _la = self._input.LA(1) - if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 137438955264) != 0)): + if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 274877908736) != 0)): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) @@ -1323,7 +1328,7 @@ def member(self): self.state = 172 self._errHandler.sync(self) _la = self._input.LA(1) - if (((_la) & ~0x3f) == 0 and ((1 << _la) & 21004032) != 0): + if (((_la) & ~0x3f) == 0 and ((1 << _la) & 222330624) != 0): self.state = 171 self.value() @@ -1467,7 +1472,7 @@ def scalar_value(self): self.state = 181 self.string_literal() pass - elif token in [14]: + elif token in [14, 26, 27]: self.enterOuterAlt(localctx, 3) self.state = 182 self.number_literal() @@ -1522,22 +1527,23 @@ def concat_expression(self): localctx = YiniParser.Concat_expressionContext(self, self._ctx, self.state) self.enterRule(localctx, 40, self.RULE_concat_expression) - self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) self.state = 186 self.match(YiniParser.STRING) self.state = 188 self._errHandler.sync(self) - _la = self._input.LA(1) - while True: - self.state = 187 - self.concat_tail() + _alt = 1 + while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: + if _alt == 1: + self.state = 187 + self.concat_tail() + + else: + raise NoViableAltException(self) self.state = 190 self._errHandler.sync(self) - _la = self._input.LA(1) - if not (_la==26): - break + _alt = self._interp.adaptivePredict(self._input,19,self._ctx) except RecognitionException as re: localctx.exception = re @@ -1593,7 +1599,7 @@ def concat_tail(self): self.state = 196 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 193 self.multiline_trivia() self.state = 198 @@ -1621,8 +1627,9 @@ def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): def STRING(self): return self.getToken(YiniParser.STRING, 0) - def NUMBER(self): - return self.getToken(YiniParser.NUMBER, 0) + def number_literal(self): + return self.getTypedRuleContext(YiniParser.Number_literalContext,0) + def BOOLEAN_TRUE(self): return self.getToken(YiniParser.BOOLEAN_TRUE, 0) @@ -1649,16 +1656,38 @@ def concat_operand(self): localctx = YiniParser.Concat_operandContext(self, self._ctx, self.state) self.enterRule(localctx, 44, self.RULE_concat_operand) - self._la = 0 # Token type try: - self.enterOuterAlt(localctx, 1) - self.state = 201 - _la = self._input.LA(1) - if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 26368) != 0)): - self._errHandler.recoverInline(self) + self.state = 206 + self._errHandler.sync(self) + token = self._input.LA(1) + if token in [13]: + self.enterOuterAlt(localctx, 1) + self.state = 201 + self.match(YiniParser.STRING) + pass + elif token in [14, 26, 27]: + self.enterOuterAlt(localctx, 2) + self.state = 202 + self.number_literal() + pass + elif token in [9]: + self.enterOuterAlt(localctx, 3) + self.state = 203 + self.match(YiniParser.BOOLEAN_TRUE) + pass + elif token in [8]: + self.enterOuterAlt(localctx, 4) + self.state = 204 + self.match(YiniParser.BOOLEAN_FALSE) + pass + elif token in [10]: + self.enterOuterAlt(localctx, 5) + self.state = 205 + self.match(YiniParser.NULL) + pass else: - self._errHandler.reportMatch(self) - self.consume() + raise NoViableAltException(self) + except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1696,7 +1725,7 @@ def string_literal(self): self.enterRule(localctx, 46, self.RULE_string_literal) try: self.enterOuterAlt(localctx, 1) - self.state = 203 + self.state = 208 self.match(YiniParser.STRING) except RecognitionException as re: localctx.exception = re @@ -1752,48 +1781,48 @@ def object_literal(self): self.enterRule(localctx, 48, self.RULE_object_literal) self._la = 0 # Token type try: - self.state = 223 + self.state = 228 self._errHandler.sync(self) token = self._input.LA(1) if token in [24]: self.enterOuterAlt(localctx, 1) - self.state = 205 + self.state = 210 self.match(YiniParser.OC) - self.state = 209 + self.state = 214 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,21,self._ctx) + _alt = self._interp.adaptivePredict(self._input,22,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 206 + self.state = 211 self.multiline_trivia() - self.state = 211 + self.state = 216 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,21,self._ctx) + _alt = self._interp.adaptivePredict(self._input,22,self._ctx) - self.state = 213 + self.state = 218 self._errHandler.sync(self) _la = self._input.LA(1) - if (((_la) & ~0x3f) == 0 and ((1 << _la) & 137438955264) != 0): - self.state = 212 + if (((_la) & ~0x3f) == 0 and ((1 << _la) & 274877908736) != 0): + self.state = 217 self.object_members() - self.state = 218 + self.state = 223 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 215 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 220 + self.multiline_trivia() + self.state = 225 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 221 + self.state = 226 self.match(YiniParser.CC) pass elif token in [11]: self.enterOuterAlt(localctx, 2) - self.state = 222 + self.state = 227 self.match(YiniParser.EMPTY_OBJECT) pass else: @@ -1854,56 +1883,56 @@ def object_members(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 225 + self.state = 230 self.object_member() - self.state = 242 + self.state = 247 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,27,self._ctx) + _alt = self._interp.adaptivePredict(self._input,28,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 229 + self.state = 234 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 226 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 231 + self.multiline_trivia() + self.state = 236 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 232 + self.state = 237 self.match(YiniParser.COMMA) - self.state = 236 + self.state = 241 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 233 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 238 + self.multiline_trivia() + self.state = 243 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 239 + self.state = 244 self.object_member() - self.state = 244 + self.state = 249 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,27,self._ctx) + _alt = self._interp.adaptivePredict(self._input,28,self._ctx) - self.state = 252 + self.state = 257 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,29,self._ctx) + la_ = self._interp.adaptivePredict(self._input,30,self._ctx) if la_ == 1: - self.state = 248 + self.state = 253 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 245 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 250 + self.multiline_trivia() + self.state = 255 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 251 + self.state = 256 self.match(YiniParser.COMMA) @@ -1953,11 +1982,11 @@ def object_member(self): self.enterRule(localctx, 52, self.RULE_object_member) try: self.enterOuterAlt(localctx, 1) - self.state = 254 + self.state = 259 self.identifier() - self.state = 255 + self.state = 260 self.object_member_separator() - self.state = 256 + self.state = 261 self.value() except RecognitionException as re: localctx.exception = re @@ -2000,7 +2029,7 @@ def object_member_separator(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 258 + self.state = 263 _la = self._input.LA(1) if not(_la==19 or _la==21): self._errHandler.recoverInline(self) @@ -2061,48 +2090,48 @@ def list_literal(self): self.enterRule(localctx, 56, self.RULE_list_literal) self._la = 0 # Token type try: - self.state = 278 + self.state = 283 self._errHandler.sync(self) token = self._input.LA(1) if token in [22]: self.enterOuterAlt(localctx, 1) - self.state = 260 + self.state = 265 self.match(YiniParser.OB) - self.state = 264 + self.state = 269 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,30,self._ctx) + _alt = self._interp.adaptivePredict(self._input,31,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 261 + self.state = 266 self.multiline_trivia() - self.state = 266 + self.state = 271 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,30,self._ctx) + _alt = self._interp.adaptivePredict(self._input,31,self._ctx) - self.state = 268 + self.state = 273 self._errHandler.sync(self) _la = self._input.LA(1) - if (((_la) & ~0x3f) == 0 and ((1 << _la) & 21004032) != 0): - self.state = 267 + if (((_la) & ~0x3f) == 0 and ((1 << _la) & 222330624) != 0): + self.state = 272 self.elements() - self.state = 273 + self.state = 278 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 270 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 275 + self.multiline_trivia() + self.state = 280 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 276 + self.state = 281 self.match(YiniParser.CB) pass elif token in [12]: self.enterOuterAlt(localctx, 2) - self.state = 277 + self.state = 282 self.match(YiniParser.EMPTY_LIST) pass else: @@ -2163,56 +2192,56 @@ def elements(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 280 + self.state = 285 self.value() - self.state = 297 + self.state = 302 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,36,self._ctx) + _alt = self._interp.adaptivePredict(self._input,37,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 284 + self.state = 289 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 281 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 286 + self.multiline_trivia() + self.state = 291 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 287 + self.state = 292 self.match(YiniParser.COMMA) - self.state = 291 + self.state = 296 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 288 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 293 + self.multiline_trivia() + self.state = 298 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 294 + self.state = 299 self.value() - self.state = 299 + self.state = 304 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,36,self._ctx) + _alt = self._interp.adaptivePredict(self._input,37,self._ctx) - self.state = 307 + self.state = 312 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,38,self._ctx) + la_ = self._interp.adaptivePredict(self._input,39,self._ctx) if la_ == 1: - self.state = 303 + self.state = 308 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0): - self.state = 300 - self.multiline_trivia() + while (((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0): self.state = 305 + self.multiline_trivia() + self.state = 310 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 306 + self.state = 311 self.match(YiniParser.COMMA) @@ -2260,9 +2289,9 @@ def multiline_trivia(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 309 + self.state = 314 _la = self._input.LA(1) - if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 53687091200) != 0)): + if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 107374182400) != 0)): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) @@ -2286,6 +2315,12 @@ def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): def NUMBER(self): return self.getToken(YiniParser.NUMBER, 0) + def PLUS(self): + return self.getToken(YiniParser.PLUS, 0) + + def MINUS(self): + return self.getToken(YiniParser.MINUS, 0) + def getRuleIndex(self): return YiniParser.RULE_number_literal @@ -2302,9 +2337,23 @@ def number_literal(self): localctx = YiniParser.Number_literalContext(self, self._ctx, self.state) self.enterRule(localctx, 62, self.RULE_number_literal) + self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 311 + self.state = 317 + self._errHandler.sync(self) + _la = self._input.LA(1) + if _la==26 or _la==27: + self.state = 316 + _la = self._input.LA(1) + if not(_la==26 or _la==27): + self._errHandler.recoverInline(self) + else: + self._errHandler.reportMatch(self) + self.consume() + + + self.state = 319 self.match(YiniParser.NUMBER) except RecognitionException as re: localctx.exception = re @@ -2343,7 +2392,7 @@ def null_literal(self): self.enterRule(localctx, 64, self.RULE_null_literal) try: self.enterOuterAlt(localctx, 1) - self.state = 313 + self.state = 321 self.match(YiniParser.NULL) except RecognitionException as re: localctx.exception = re @@ -2386,7 +2435,7 @@ def boolean_literal(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 315 + self.state = 323 _la = self._input.LA(1) if not(_la==8 or _la==9): self._errHandler.recoverInline(self) @@ -2430,7 +2479,7 @@ def bad_meta_text(self): self.enterRule(localctx, 68, self.RULE_bad_meta_text) try: self.enterOuterAlt(localctx, 1) - self.state = 317 + self.state = 325 self.match(YiniParser.META_INVALID) except RecognitionException as re: localctx.exception = re @@ -2486,42 +2535,42 @@ def bad_member(self): self.enterRule(localctx, 70, self.RULE_bad_member) try: self.enterOuterAlt(localctx, 1) - self.state = 321 + self.state = 329 self._errHandler.sync(self) token = self._input.LA(1) - if token in [39]: - self.state = 319 + if token in [40]: + self.state = 327 self.match(YiniParser.REST) pass - elif token in [8, 9, 10, 11, 12, 13, 14, 22, 24]: - self.state = 320 + elif token in [8, 9, 10, 11, 12, 13, 14, 22, 24, 26, 27]: + self.state = 328 self.value() pass elif token in [19]: pass else: pass - self.state = 323 + self.state = 331 self.match(YiniParser.EQ) - self.state = 326 + self.state = 334 self._errHandler.sync(self) token = self._input.LA(1) - if token in [8, 9, 10, 11, 12, 13, 14, 22, 24]: - self.state = 324 + if token in [8, 9, 10, 11, 12, 13, 14, 22, 24, 26, 27]: + self.state = 332 self.value() pass - elif token in [39]: - self.state = 325 + elif token in [40]: + self.state = 333 self.match(YiniParser.REST) pass else: raise NoViableAltException(self) - self.state = 329 + self.state = 337 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,41,self._ctx) + la_ = self._interp.adaptivePredict(self._input,43,self._ctx) if la_ == 1: - self.state = 328 + self.state = 336 self.eol() diff --git a/src/yini_parser/grammar/generated/YiniParser.tokens b/src/yini_parser/grammar/generated/YiniParser.tokens index 8783c70..eaff45d 100644 --- a/src/yini_parser/grammar/generated/YiniParser.tokens +++ b/src/yini_parser/grammar/generated/YiniParser.tokens @@ -24,20 +24,21 @@ CB=23 OC=24 CC=25 PLUS=26 -DOLLAR=27 -PC=28 -AT=29 -SEMICOLON=30 -NL=31 -WS=32 -BLOCK_COMMENT=33 -DISABLED_LINE=34 -FULL_LINE_COMMENT=35 -INLINE_COMMENT=36 -KEY=37 -IDENT_INVALID=38 -REST=39 -META_INVALID=40 +MINUS=27 +DOLLAR=28 +PC=29 +AT=30 +SEMICOLON=31 +NL=32 +WS=33 +BLOCK_COMMENT=34 +DISABLED_LINE=35 +FULL_LINE_COMMENT=36 +INLINE_COMMENT=37 +KEY=38 +IDENT_INVALID=39 +REST=40 +META_INVALID=41 '{}'=11 '[]'=12 '^'=15 @@ -52,7 +53,8 @@ META_INVALID=40 '{'=24 '}'=25 '+'=26 -'$'=27 -'%'=28 -'@'=29 -';'=30 +'-'=27 +'$'=28 +'%'=29 +'@'=30 +';'=31 diff --git a/tests/fixtures/smoke-fixtures/9-app-preferences.smoke.warning.json b/tests/fixtures/smoke-fixtures/9-app-preferences.smoke.warning.json new file mode 100644 index 0000000..5593cab --- /dev/null +++ b/tests/fixtures/smoke-fixtures/9-app-preferences.smoke.warning.json @@ -0,0 +1,5 @@ +[ + { + "contains": "empty value" + } +] diff --git a/tests/test_command_strings.py b/tests/test_command_strings.py index b286ce3..b3093ec 100644 --- a/tests/test_command_strings.py +++ b/tests/test_command_strings.py @@ -63,7 +63,7 @@ def test_command_string_in_list_and_concatenation(strict: bool) -> None: @pytest.mark.parametrize("strict", [False, True]) @pytest.mark.parametrize("ending", ["\n", "\r\n", "\r"]) -def test_command_string_preserves_line_endings(strict: bool, ending: str) -> None: +def test_command_string_normalizes_line_endings(strict: bool, ending: str) -> None: value = ending.join(['command"""', " one", " two", '"""']) marker = f"@yini{ending}" if strict else "" terminator = f"/END{ending}" if strict else "" @@ -71,7 +71,7 @@ def test_command_string_preserves_line_endings(strict: bool, ending: str) -> Non result = loads(source, strict=strict) - assert result["App"]["script"] == f"one{ending}two" + assert result["App"]["script"] == "one\ntwo" @pytest.mark.parametrize("strict", [False, True]) diff --git a/tests/test_comments.py b/tests/test_comments.py index 92d6170..053eb4a 100644 --- a/tests/test_comments.py +++ b/tests/test_comments.py @@ -4,6 +4,84 @@ from yini_parser.api.errors import YiniParseError from yini_parser.api.load import loads +from yini_parser.api.warnings import YiniParseWarning + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("ending", ["\n", "\r\n", "\r"]) +@pytest.mark.parametrize( + "member", + [ + "value = /*{ending}*/ [1]", + "value = /*{ending}*/ {{a: 1}}", + "value /*{ending}*/ = 1", + 'value = "a" /*{ending}*/ + "b"', + "value = {{a: /*{ending}*/ 1}}", + ], +) +def test_block_comments_preserve_same_logical_line_requirements( + strict: bool, ending: str, member: str +) -> None: + source = ending.join(["^ App", member.format(ending=ending), "/END", ""]) + + with pytest.raises(YiniParseError, match="same logical line"): + loads(source, strict=strict) + + +@pytest.mark.parametrize("strict", [False, True]) +def test_block_comment_line_breaks_are_valid_inside_collections(strict: bool) -> None: + source = '^ App\nvalue = [1, /*\n*/ 2]\ntext = "a" + /*\n*/ "b"\n/END\n' + + result = loads(source, strict=strict) + + assert result == {"App": {"value": [1, 2], "text": "ab"}} + + +@pytest.mark.parametrize( + "source", + [ + " #! misplaced\n^ App\n/END\n", + "\n#! misplaced\n^ App\n/END\n", + "// comment\n#! misplaced\n^ App\n/END\n", + "^ App #! misplaced\n/END\n", + "^ App\nvalue = 1 #! misplaced\n/END\n", + ], +) +def test_misplaced_shebang_warns_in_lenient_mode_and_errors_in_strict_mode( + source: str, +) -> None: + with pytest.warns(YiniParseWarning, match="misplaced-shebang") as caught: + result = loads(source) + assert "App" in result + assert len(caught) == 1 + + with pytest.raises(YiniParseError, match="misplaced-shebang"): + loads(source, strict=True) + + +@pytest.mark.parametrize("strict", [False, True]) +def test_shebang_text_in_literals_and_other_comments_is_not_diagnosed( + strict: bool, +) -> None: + source = ( + "#!/usr/bin/env yini\n" + "^ `#! section` /* #! block comment */\n" + 'text = "#! string" // #! line comment\n' + 'multi = """#! first\n#! second"""\n' + "`#! key` = 1\n; #! semicolon comment\n-- #! disabled\n/END\n" + ) + + result = loads(source, strict=strict) + + assert result["#! section"]["text"] == "#! string" + + +def test_only_first_misplaced_shebang_is_reported() -> None: + with pytest.warns(YiniParseWarning, match="misplaced-shebang") as caught: + loads("\n#! first\n#! second\n^ App\n") + + assert len(caught) == 1 + assert caught[0].message.line == 2 def test_parses_hash_full_line_comments() -> None: @@ -215,7 +293,8 @@ def test_hash_comment_after_empty_value_keeps_value_as_none() -> None: description = # Empty value before comment. """.lstrip() - result = loads(text) + with pytest.warns(YiniParseWarning, match="empty value"): + result = loads(text) assert result == { "App": { @@ -250,7 +329,8 @@ def test_shebang_after_yini_directive_is_treated_as_comment() -> None: name = "Demo App" """.lstrip() - result = loads(text) + with pytest.warns(YiniParseWarning, match="misplaced-shebang"): + result = loads(text) assert result == { "App": { diff --git a/tests/test_conflicts.py b/tests/test_conflicts.py index 7855c74..f4426a5 100644 --- a/tests/test_conflicts.py +++ b/tests/test_conflicts.py @@ -10,9 +10,9 @@ """ These rules apply: -- In lenient mode, when duplicate definitions occur, the FIRST definition always wins. +- In lenient mode, when duplicate keys occur, the FIRST definition always wins. - Duplicate keys MUST NOT overwrite an earlier key. Later duplicate keys should emit warnings. -- Duplicate section names MUST NOT overwrite or merge with an earlier section. Later duplicate section definitions should emit warnings, and the duplicate section block, not only the header line, should be ignored. +- Duplicate section names MUST produce an error in both modes. - Member/section name collisions MUST result in an error in both modes. - No merging of repeated sections is allowed. - In strict mode, duplicate keys and duplicate section names MUST result in an error. @@ -60,7 +60,7 @@ def test_duplicate_scalar_key_first_value_wins_in_lenient_mode() -> None: } -def test_repeated_top_level_section_first_definition_wins_in_lenient_mode() -> None: +def test_repeated_top_level_section_errors_in_lenient_mode() -> None: text = """ ^ App name = "Demo" @@ -69,17 +69,12 @@ def test_repeated_top_level_section_first_definition_wins_in_lenient_mode() -> N debug = true """.lstrip() - with pytest.warns(YiniParseWarning, match="Duplicate section"): - result = loads(text) - - assert result == { - "App": { - "name": "Demo", - }, - } + with pytest.raises(YiniParseError, match="Duplicate section"): + loads(text) -def test_repeated_nested_section_first_definition_wins_in_lenient_mode() -> None: +@pytest.mark.parametrize("strict", [False, True]) +def test_repeated_nested_section_errors_in_both_modes(strict: bool) -> None: text = """ ^ App ^^ Server @@ -89,16 +84,8 @@ def test_repeated_nested_section_first_definition_wins_in_lenient_mode() -> None port = 8080 """.lstrip() - with pytest.warns(YiniParseWarning, match="Duplicate section"): - result = loads(text) - - assert result == { - "App": { - "Server": { - "host": "localhost", - }, - }, - } + with pytest.raises(YiniParseError, match="Duplicate section"): + loads(text + "/END\n", strict=strict) def test_key_then_section_name_collision_errors_in_lenient_mode() -> None: @@ -114,7 +101,7 @@ def test_key_then_section_name_collision_errors_in_lenient_mode() -> None: loads(text) -def test_duplicate_parent_section_ignores_later_member_in_lenient_mode() -> None: +def test_duplicate_parent_section_errors_before_later_member_in_lenient_mode() -> None: text = """ ^ App ^^ Server @@ -124,16 +111,8 @@ def test_duplicate_parent_section_ignores_later_member_in_lenient_mode() -> None Server = "localhost" """.lstrip() - with pytest.warns(YiniParseWarning, match="Duplicate section"): - result = loads(text) - - assert result == { - "App": { - "Server": { - "port": 8080, - }, - }, - } + with pytest.raises(YiniParseError, match="Duplicate section"): + loads(text) def test_duplicate_key_should_warn_in_lenient_mode() -> None: @@ -150,7 +129,7 @@ def test_duplicate_key_should_warn_in_lenient_mode() -> None: loads(text) -def test_repeated_section_should_warn_in_lenient_mode() -> None: +def test_repeated_section_should_error_in_lenient_mode() -> None: text = """ ^ App name = "Demo" @@ -159,9 +138,9 @@ def test_repeated_section_should_warn_in_lenient_mode() -> None: debug = true """.lstrip() - with pytest.warns( - YiniParseWarning, - match=r"Duplicate section 'App' ignored\. The first section is kept\.", + with pytest.raises( + YiniParseError, + match=r"Duplicate section 'App' is not allowed\.", ): loads(text) diff --git a/tests/test_fixtures_against_json.py b/tests/test_fixtures_against_json.py index a01979a..aaa76ad 100644 --- a/tests/test_fixtures_against_json.py +++ b/tests/test_fixtures_against_json.py @@ -7,6 +7,7 @@ from yini_parser.utils.text import normalize_newlines from yini_parser.api.load import load +from yini_parser.api.warnings import YiniParseWarning FIXTURES_DIR = Path("tests/fixtures/smoke-fixtures") @@ -19,9 +20,22 @@ def _fixture_pairs() -> list[tuple[Path, Path]]: return [(yini_path, yini_path.with_suffix(".json")) for yini_path in _yini_files()] +def _load_fixture(yini_path: Path) -> dict: + warning_path = yini_path.with_suffix(".warning.json") + if not warning_path.exists(): + return load(yini_path) + + expected_warnings = json.loads(warning_path.read_text(encoding="utf-8")) + with pytest.warns(YiniParseWarning) as caught: + result = load(yini_path) + for expected in expected_warnings: + assert any(expected["contains"] in str(item.message) for item in caught) + return result + + @pytest.mark.parametrize("yini_path", _yini_files(), ids=lambda p: p.name) def test_sample_yini_parses_without_crashing(yini_path: Path) -> None: - result = load(str(yini_path)) + result = _load_fixture(yini_path) assert isinstance(result, dict) @@ -34,7 +48,7 @@ def test_sample_yini_matches_expected_json(yini_path: Path, json_path: Path) -> if not json_path.exists(): pytest.skip(f"No expected JSON fixture yet for {yini_path.name}") - actual = load(str(yini_path)) + actual = _load_fixture(yini_path) with json_path.open("r", encoding="utf-8") as f: expected = json.load(f) diff --git a/tests/test_inline_objects.py b/tests/test_inline_objects.py index 4136639..c240c5e 100644 --- a/tests/test_inline_objects.py +++ b/tests/test_inline_objects.py @@ -3,6 +3,49 @@ from yini_parser import loads, YiniParseError +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("key", ["hex", "HEX", "HeX"]) +@pytest.mark.parametrize( + ("value", "expected"), + [("10", 10), ("1.5", 1.5), ("1e+3", 1000.0), ("0xFF", 255), ("hex:FF", 255)], +) +def test_hex_key_without_separator_whitespace( + strict: bool, key: str, value: str, expected: int | float +) -> None: + text = f"^ App\nobj = {{ nested: {{ {key}:{value} }} }}\n/END\n" + + assert loads(text, strict=strict)["App"]["obj"] == {"nested": {key: expected}} + + +@pytest.mark.parametrize("strict", [False, True]) +def test_hex_key_after_collection_values_and_trivia(strict: bool) -> None: + text = ( + "^ App\nobj = { values: [hex:10, {hex:20}], /* gap */\n" + "# Comment.\n-- Disabled.\n; Comment.\n" + "hex:30, other: hex:40 }\n/END\n" + ) + + assert loads(text, strict=strict)["App"]["obj"] == { + "values": [16, {"hex": 20}], + "hex": 30, + "other": 64, + } + + +@pytest.mark.parametrize("strict", [False, True]) +def test_hex_key_keeps_invalid_decimal_value_invalid(strict: bool) -> None: + with pytest.raises(YiniParseError): + loads("^ App\nobj = {hex:01}\n/END\n", strict=strict) + + +@pytest.mark.parametrize("strict", [False, True]) +def test_hex_key_error_preserves_source_location(strict: bool) -> None: + with pytest.raises(YiniParseError) as error: + loads("^ App\nobj = {hex:1e9999}\n/END\n", strict=strict) + + assert (error.value.line, error.value.column) == (2, 12) + + def test_inline_object_equal_separator_is_allowed_in_lenient_mode() -> None: text = """ ^ App diff --git a/tests/test_lenient_mode.py b/tests/test_lenient_mode.py index 6d0a7f3..e5485bf 100644 --- a/tests/test_lenient_mode.py +++ b/tests/test_lenient_mode.py @@ -1,7 +1,10 @@ # tests/test_lenient_mode.py from __future__ import annotations +import pytest + from yini_parser.api.load import loads +from yini_parser.api.warnings import YiniParseWarning def test_lenient_mode_accepts_document_terminator() -> None: @@ -25,7 +28,8 @@ def test_lenient_mode_accepts_empty_member_value_as_null() -> None: name = """.lstrip() - result = loads(text) + with pytest.warns(YiniParseWarning, match="empty value"): + result = loads(text) assert result["App"]["name"] is None diff --git a/tests/test_load.py b/tests/test_load.py index b062ee8..d8c1338 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -66,7 +66,8 @@ def test_loads_parses_empty_value_as_none() -> None: name = """.lstrip() - result = loads(text) + with pytest.warns(YiniParseWarning, match="empty value"): + result = loads(text) assert result == { "App": { @@ -75,6 +76,19 @@ def test_loads_parses_empty_value_as_none() -> None: } +@pytest.mark.parametrize("section", ["", "^ App\n"]) +@pytest.mark.parametrize("comment", ["", "# note", "// note", "/* note */"]) +def test_empty_values_warn_with_member_location(section: str, comment: str) -> None: + with pytest.warns(YiniParseWarning, match="empty value") as caught: + result = loads(f"{section}value = {comment}\n") + + members = result["App"] if section else result + assert members == {"value": None} + assert len(caught) == 1 + assert caught[0].message.line == (2 if section else 1) + assert caught[0].message.column == 1 + + def test_loads_parses_empty_object_and_list() -> None: text = """ ^ App @@ -127,14 +141,14 @@ def test_load_accepts_file_without_final_newline(tmp_path) -> None: @pytest.mark.parametrize("ending", ["\r\n", "\r"]) -def test_load_preserves_string_line_endings(tmp_path, ending: str) -> None: +def test_load_normalizes_string_line_endings(tmp_path, ending: str) -> None: path = tmp_path / "line-endings.yini" source = ending.join(["^ App", 'text = """one', 'two"""', ""]) path.write_bytes(source.encode("utf-8")) result = load(path) - assert result["App"]["text"] == f"one{ending}two" + assert result["App"]["text"] == "one\ntwo" def test_strict_mode_rejects_mixed_line_endings() -> None: @@ -144,6 +158,34 @@ def test_strict_mode_rejects_mixed_line_endings() -> None: loads(source, strict=True) +def test_lenient_mode_warns_once_for_mixed_source_line_endings() -> None: + source = '^ App\r\ntext = """one\rtwo\nthree"""\r\n' + + with pytest.warns(YiniParseWarning, match="mixed-line-endings") as caught: + result = loads(source) + + assert result == {"App": {"text": "one\ntwo\nthree"}} + assert len(caught) == 1 + + +@pytest.mark.parametrize("strict", [False, True]) +def test_escaped_line_endings_do_not_count_as_mixed_source_endings( + strict: bool, +) -> None: + result = loads('^ App\ntext = E"one\\r\\ntwo"\n/END\n', strict=strict) + + assert result == {"App": {"text": "one\r\ntwo"}} + + +@pytest.mark.parametrize("ending", ["\r\n", "\r"]) +def test_final_newline_added_by_parser_does_not_trigger_mixed_ending_warning( + ending: str, +) -> None: + result = loads(f"^ App{ending}value = 1") + + assert result == {"App": {"value": 1}} + + def test_strict_mode_rejects_shebang_with_leading_whitespace() -> None: source = " #!/usr/bin/env yini\n^ App\nvalue = true\n/END\n" diff --git a/tests/test_parser_mode.py b/tests/test_parser_mode.py index 544cf1a..3e19456 100644 --- a/tests/test_parser_mode.py +++ b/tests/test_parser_mode.py @@ -4,8 +4,14 @@ import pytest from yini_parser.api.errors import YiniParseError -from yini_parser.api.warnings import YiniParseWarning from yini_parser.api.load import loads +from yini_parser.api.warnings import YiniParseWarning + + +@pytest.mark.parametrize("strict", [False, True]) +def test_reserved_include_directive_is_rejected(strict: bool) -> None: + with pytest.raises(YiniParseError, match="@include directive is reserved"): + loads('@include "base.yini"\n^ App\nvalue = true\n/END\n', strict=strict) def test_yini_strict_declaration_matches_strict_parser_mode() -> None: @@ -61,7 +67,7 @@ def test_yini_lenient_declaration_matches_lenient_parser_mode() -> None: } -def test_yini_lenient_declaration_warns_in_strict_parser_mode_1() -> None: +def test_yini_lenient_declaration_warns_in_strict_parser_mode() -> None: text = """ @yini lenient @@ -72,39 +78,37 @@ def test_yini_lenient_declaration_warns_in_strict_parser_mode_1() -> None: """.lstrip() with pytest.warns( - Warning, + YiniParseWarning, match="declares '@yini lenient'.*strict mode", - ): + ) as captured: result = loads(text, strict=True) - assert result == { - "App": { - "name": "Demo App", - }, - } + assert result == {"App": {"name": "Demo App"}} + warning = captured[0].message + assert isinstance(warning, YiniParseWarning) + assert (warning.code, warning.line, warning.column) == ("mode-mismatch", 1, 7) -def test_yini_lenient_declaration_warns_in_strict_parser_mode_2() -> None: +def test_yini_lenient_declaration_still_requires_strict_terminator() -> None: text = """ @yini lenient ^ App name = "Demo App" -/END """.lstrip() - with pytest.warns( - YiniParseWarning, - match="declares '@yini lenient'.*strict mode", - ): - result = loads(text, strict=True) + with pytest.warns(YiniParseWarning, match="declares '@yini lenient'"): + with pytest.raises( + YiniParseError, match="requires exactly one document terminator" + ): + loads(text, strict=True) - assert result == { - "App": { - "name": "Demo App", - }, - } + +def test_yini_lenient_declaration_still_rejects_strict_trailing_comma() -> None: + with pytest.warns(YiniParseWarning, match="declares '@yini lenient'"): + with pytest.raises(YiniParseError, match="Trailing commas"): + loads("@yini lenient\n^ App\nvalues = [1,]\n/END\n", strict=True) def test_plain_yini_directive_allows_lenient_parser_mode() -> None: diff --git a/tests/test_sections.py b/tests/test_sections.py index 8a8c807..b383aca 100644 --- a/tests/test_sections.py +++ b/tests/test_sections.py @@ -7,6 +7,33 @@ from yini_parser.api.errors import YiniParseError +@pytest.mark.parametrize("strict", [False, True]) +def test_accepts_greater_than_section_marker(strict: bool) -> None: + result = loads("> Root\n>_> Child\n>3 Grandchild\nvalue = 1\n/END\n", strict=strict) + + assert result == {"Root": {"Child": {"Grandchild": {"value": 1}}}} + + +@pytest.mark.parametrize("strict", [False, True]) +def test_accepts_maximum_section_depth(strict: bool) -> None: + source = "".join(f"^{level} L{level}\n" for level in range(1, 256)) + + result = loads(source + "value = 1\n/END\n", strict=strict) + + current = result + for level in range(1, 256): + current = current[f"L{level}"] + assert current == {"value": 1} + + +@pytest.mark.parametrize("strict", [False, True]) +def test_rejects_section_depth_above_255(strict: bool) -> None: + source = "".join(f"^{level} L{level}\n" for level in range(1, 257)) + + with pytest.raises(YiniParseError, match="maximum supported section depth is 255"): + loads(source + "/END\n", strict=strict) + + def test_parses_single_top_level_section() -> None: text = """ ^ App diff --git a/tests/test_string_concatenation.py b/tests/test_string_concatenation.py index e2e31c2..6e6a897 100644 --- a/tests/test_string_concatenation.py +++ b/tests/test_string_concatenation.py @@ -1,6 +1,49 @@ import pytest from yini_parser import loads, YiniParseError +from yini_parser.api.warnings import YiniParseWarning + + +@pytest.mark.parametrize(("literal", "expected"), [("%1010", "n:10"), ("-%0", "n:-0")]) +def test_percent_binary_concatenation_warns(literal: str, expected: str) -> None: + with pytest.warns(YiniParseWarning, match="%.*deprecated.*0b") as captured: + result = loads(f'^ App\nvalue = "n:" + {literal}\n') + + assert result["App"]["value"] == expected + assert len(captured) == 1 + + +@pytest.mark.parametrize( + ("expression", "expected"), + [ + ('"a"+42', "a42"), + ('"a"++42', "a42"), + ('"a"+-42', "a-42"), + ('"a"+0xFF', "a255"), + ('"a"+1e+3', "a1e3"), + ('"a"+true+null', "atruenull"), + ], +) +def test_lenient_concatenation_without_whitespace( + expression: str, expected: str +) -> None: + result = loads(f"^ App\nvalue = {expression}\n") + + assert result["App"]["value"] == expected + + +@pytest.mark.parametrize("expression", ['"a"+42', '"a"++42', '"a"+-42']) +def test_strict_concatenation_without_whitespace_rejects_numbers( + expression: str, +) -> None: + with pytest.raises(YiniParseError, match="only allows string literals"): + loads(f"^ App\nvalue = {expression}\n/END\n", strict=True) + + +@pytest.mark.parametrize("expression", ['"a"+ + 42', '"a"+ -/* gap */42']) +def test_concatenation_rejects_separated_numeric_sign(expression: str) -> None: + with pytest.raises(YiniParseError, match="sign must immediately precede"): + loads(f"^ App\nvalue = {expression}\n") def test_string_concatenation_uses_explicit_line_end_plus() -> None: diff --git a/tests/test_values.py b/tests/test_values.py index 5acfd71..ec8c2fc 100644 --- a/tests/test_values.py +++ b/tests/test_values.py @@ -5,6 +5,7 @@ from yini_parser.api.errors import YiniParseError from yini_parser.api.load import loads +from yini_parser.api.warnings import YiniParseWarning """ @@ -43,7 +44,8 @@ def test_parses_null_and_empty_value_as_none() -> None: implicitNull = """.lstrip() - result = loads(text) + with pytest.warns(YiniParseWarning, match="empty value"): + result = loads(text) assert result == { "App": { @@ -53,6 +55,31 @@ def test_parses_null_and_empty_value_as_none() -> None: } +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("ending", ["\n", "\r\n", "\r"]) +@pytest.mark.parametrize("prefix", ["", "r", "E", "c"]) +def test_multiline_strings_normalize_source_line_endings( + strict: bool, ending: str, prefix: str +) -> None: + source = ending.join(["^ App", f'text = {prefix}"""first', 'second"""', "/END", ""]) + + result = loads(source, strict=strict) + + assert result["App"]["text"] == "first\nsecond" + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("prefix", ["E", "c"]) +def test_multiline_strings_preserve_escape_produced_line_endings( + strict: bool, prefix: str +) -> None: + source = f'^ App\r\ntext = {prefix}"""first\\r\\nsecond\r\nthird\\r"""\r\n/END\r\n' + + result = loads(source, strict=strict) + + assert result["App"]["text"] == "first\r\nsecond\nthird\r" + + def test_parses_numbers() -> None: text = """ ^ App @@ -288,7 +315,8 @@ def test_parses_base_notation_numbers_with_digit_separators() -> None: duodecimalValue = 0z_1x_e """.lstrip() - result = loads(text) + with pytest.warns(YiniParseWarning, match="%.*deprecated.*0b"): + result = loads(text) assert result == { "App": { @@ -302,6 +330,32 @@ def test_parses_base_notation_numbers_with_digit_separators() -> None: } +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("literal", ["%1010", "+%_10_10", "-%1010"]) +@pytest.mark.parametrize("container", ["{}", "[{}]", "{{number: {}}}"]) +def test_percent_binary_prefix_warns( + strict: bool, literal: str, container: str +) -> None: + text = f"^ App\nvalue = {container.format(literal)}\n/END\n" + + with pytest.warns(YiniParseWarning, match="%.*deprecated.*0b") as captured: + result = loads(text, strict=strict) + + expected = -10 if literal.startswith("-") else 10 + if container == "[{}]": + assert result["App"]["value"] == [expected] + elif container == "{{number: {}}}": + assert result["App"]["value"] == {"number": expected} + else: + assert result["App"]["value"] == expected + assert len(captured) == 1 + warning = captured[0].message + assert isinstance(warning, YiniParseWarning) + assert warning.code == "deprecated-binary-prefix" + assert warning.line == 2 + assert warning.column == text.splitlines()[1].index(literal) + 1 + + @pytest.mark.parametrize("strict", [False, True]) def test_accepts_signed_64_bit_integer_boundaries(strict: bool) -> None: text = ( From 6d1e3d52cc863aff0e07dddfcb50c1229f47b818 Mon Sep 17 00:00:00 2001 From: "Marko K. S." Date: Sun, 15 Nov 2026 00:11:22 +0100 Subject: [PATCH 4/4] Updated CIs to use yini-test-suite 0.4.0rc1 (yini spec rc7) --- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/yini-test-suite.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 44faee8..2b982b0 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -23,7 +23,7 @@ jobs: - name: Install check and build tooling run: | python -m pip install -e ".[dev]" - python -m pip install yini-test-suite==0.3.0rc1 + python -m pip install yini-test-suite==0.4.0rc1 - name: Verify release tag matches package version env: diff --git a/.github/workflows/yini-test-suite.yml b/.github/workflows/yini-test-suite.yml index ed44cf8..71c95a9 100644 --- a/.github/workflows/yini-test-suite.yml +++ b/.github/workflows/yini-test-suite.yml @@ -34,7 +34,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install -e . - python -m pip install yini-test-suite==0.3.0rc1 + python -m pip install yini-test-suite==0.4.0rc1 - name: Run shared YINI test suite run: >