Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#31892 Refactor: Removed redundant indents from g4 files. #32779

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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