This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grammar com.onevision.ovde.objectivec.ObjectiveC with org.eclipse.xtext.common.Terminals | |
generate objectiveC "http://www.example.com/ovde/objectivec/ObjectiveC" | |
Model: | |
elements+=external_declaration*; | |
external_declaration: | |
ML_COMMENT | SL_COMMENT | preprocessor_declaration | |
|function_definition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ObjectiveC version 2 | |
* based on an LL ansic grammars and | |
* and ObjectiveC grammar found in Learning Object C | |
* | |
* It's a Work in progress, most of the .h file can be parsed | |
* June 2008 Cedric Cuche | |
**/ | |
grammar ObjectiveCwithSyntacticPredicates; |