-
Notifications
You must be signed in to change notification settings - Fork 934
Fix parameter name of Check() in ClassCustomizer #3560
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Unchanged files with check annotations Beta
atom | ||
: primaryExpression | ||
( | ||
DOT^ identifier | ||
Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
( options { greedy=true; } : | ||
( op=OPEN^ {$op.Type = METHOD_CALL; } exprList CLOSE! ) )? | ||
| lb=OPEN_BRACKET^ {$lb.Type = INDEX_OP; } expression CLOSE_BRACKET! | ||
// level 0 - the basic element of an expression | ||
primaryExpression | ||
: identPrimary ( options {greedy=true;} : DOT^ 'class' )? | ||
Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
| constant | ||
| COLON^ identifier | ||
// TODO: Add parens to the tree so the user can control the operator evaluation order. | ||
// the method looks a head to find keywords after DOT and turns them into identifiers. | ||
identPrimary | ||
: identifier {{ HandleDotIdent(); }} | ||
( options {greedy=true;} : DOT^ ( identifier | o=OBJECT { $o.Type = IDENT; } ) )* | ||
Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
( ( op=OPEN^ { $op.Type = METHOD_CALL;} exprList CLOSE! ) | ||
)? | ||
// Also allow special 'aggregate functions' such as count(), avg(), etc. | ||
constant | ||
: NUM_INT | ||
| NUM_FLOAT | ||
Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
| NUM_LONG | ||
Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
| NUM_DOUBLE | ||
Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
| NUM_DECIMAL | ||
Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
| QUOTED_String | ||
| NULL | ||
| TRUE | ||
@init { | ||
HandleDotIdents(); | ||
} | ||
: identifier ( DOT^ identifier )* | ||
Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g
|
||
; | ||
// Wraps the IDENT token from the lexer, in order to provide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is source breaking, so, next major change.