Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext dbms grammar(Xtext dbms grammar)
Xtext dbms grammar [message #1732705] Thu, 19 May 2016 10:36 Go to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
Hi,

I have so many dbms keywords. There is no particular form of an sql statement. So I want to remove validation a rule starts with 'dbms'.

These are keywords list:

DbmsKeyWords: ('dbms'|'sql'|'insert'|'into'|'values'|'delete'|'update'|'set'|'select'|'distinct'|'from'|'where'|'exists'|'in'|'is'|'any'|'all'|'some'|'and'|'or'|'left'|'right'|'inner'|'outer'|'join'
|'char'|'datetime'|'float'|'int'|'long'|'create'|'table'|'database'|'drop'|'between'| 'group by'|'having'|'like'| 'escape'|'order'|'asc'|'desc'|'not'|'null'|'avg'|'min'|'max'
|'sum'|'primary'|'foreign'|'key'|'references'|'like'|'escape'|'with'|'engine'|'close'|'column_names'| 'connection'|'close_all_connections'|'declare'|'cursors'|'continue'|'execute'|'cursor'
|'using'|'rpc'|'alias'|'binary'|'catquery'| 'to'|'separator' |'heading'| 'on'|'off'|'column'|'names'|'format'|'occur'|'start'|'unique'|'connected'|'continue_bottom'|'continue_down'|
'continue_top'|'continue_up'|'store'|'file'|'onentry'|'onerror'|'onexit'|'application' |'autocommit'|'begin'|'browse'|'cancel'|'commit'|'completion'|'run'|'rollback'|'user'|'database'|
'datasource'|'server'|'procedure'|'stored_sub'|'save'|'flush'|'timeout'|'transaction');
This is the sample dbms statements

index.php/fa/25957/0/
Re: Xtext dbms grammar [message #1732826 is a reply to message #1732705] Fri, 20 May 2016 13:40 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
You haven't revealed any parser rule that requires the keyword 'dbms'. Neither any validation rule.
Maybe you provide us with more information (grammar, validator) such that we can help you?


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:what is syntactic predicates ?
Next Topic:Language default editor
Goto Forum:
  


Current Time: Tue Dec 10 13:18:10 GMT 2019

Powered by FUDForum. Page generated in 0.02080 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top