Skip to content

Commit

Permalink
#31892 Refactor: Removed redundant indents from g4 files. (#32779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arshveer439 committed Sep 9, 2024
1 parent 6322c10 commit 1a0804e
Show file tree
Hide file tree
Showing 57 changed files with 805 additions and 805 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

grammar BaseRule;

import Symbol, Keyword, Literals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ IDENTIFIER_
: [A-Za-z_$0-9]*?[A-Za-z_$]+?[A-Za-z_$0-9]*
| BQ_ ~'`'+ BQ_
;

STRING_
: (DQ_ ('\\'. | '""' | ~('"' | '\\'))* DQ_)
| (SQ_ ('\\'. | '\'\'' | ~('\'' | '\\'))* SQ_)
Expand All @@ -44,7 +44,7 @@ NUMBER_
HEXDIGIT_
: '0x' HEX_+ | 'X' SQ_ HEX_+ SQ_
;

BITNUM_
: '0b' ('0' | '1')+ | B SQ_ ('0' | '1')+ SQ_
;
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

grammar BaseRule;

import Symbol, Keyword, Literals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ IDENTIFIER_
: [A-Za-z_$0-9]*?[A-Za-z_$]+?[A-Za-z_$0-9]*
| BQ_ ~'`'+ BQ_
;

STRING_
: (DQ_ ('\\'. | '""' | ~('"' | '\\'))* DQ_)
| (SQ_ ('\\'. | '\'\'' | ~('\'' | '\\'))* SQ_)
Expand All @@ -44,7 +44,7 @@ NUMBER_
HEXDIGIT_
: '0x' HEX_+ | 'X' SQ_ HEX_+ SQ_
;

BITNUM_
: '0b' ('0' | '1')+ | B SQ_ ('0' | '1')+ SQ_
;
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

grammar BaseRule;

import Symbol, Keyword, Literals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ READ
IF
: I F
;

EXISTS
: E X I S T S
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ NUMBER_
HEXDIGIT_
: '0x' HEX_+ | 'X' SQ_ HEX_+ SQ_
;

BITNUM_
: '0b' ('0' | '1')+ | B SQ_ ('0' | '1')+ SQ_
;
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

grammar BaseRule;

import Symbol, Keyword, Literals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ DEFAULT
IF
: I F
;

EXISTS
: E X I S T S
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ NUMBER_
HEXDIGIT_
: '0x' HEX_+ | 'X' SQ_ HEX_+ SQ_
;

BITNUM_
: '0b' ('0' | '1')+ | B SQ_ ('0' | '1')+ SQ_
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ IF
EXISTS
: E X I S T S
;

WITH
: W I T H
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ IDENTIFIER_
: [A-Za-z_$0-9]*?[A-Za-z_$]+?[A-Za-z_$0-9]*
| BQ_ ~'`'+ BQ_
;

STRING_
: (DQ_ ('\\'. | '""' | ~('"' | '\\'))* DQ_)
| (SQ_ ('\\'. | '\'\'' | ~('\'' | '\\'))* SQ_)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ password
registerMigrationSourceStorageUnit
: REGISTER MIGRATION SOURCE STORAGE UNIT storageUnitDefinition (COMMA_ storageUnitDefinition)*
;

unregisterMigrationSourceStorageUnit
: UNREGISTER MIGRATION SOURCE STORAGE UNIT storageUnitName (COMMA_ storageUnitName)*
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ hexadecimalLiterals
bitValueLiterals
: characterSetName? BIT_NUM_ collateClause?
;

booleanLiterals
: TRUE | FALSE
;
Expand Down Expand Up @@ -153,7 +153,7 @@ expr
andOperator
: AND | AND_
;

orOperator
: OR
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ ELSE
END
: E N D
;

ENGINE
: E N G I N E
;
Expand Down Expand Up @@ -262,7 +262,7 @@ FINAL
FIRST
: F I R S T
;

FLUSH
: F L U S H
;
Expand Down Expand Up @@ -480,7 +480,7 @@ NOT
NULL_SQL
: N U L L
;

NULLS
: N U L L S
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ limitClause
limitRowCount
: numberLiterals | parameterMarker
;

limitOffset
: numberLiterals | parameterMarker
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ MAX
MIN
: M I N
;

SUM
: S U M
;
Expand Down
Loading

0 comments on commit 1a0804e

Please sign in to comment.