Skip to content

Instantly share code, notes, and snippets.

@szarnekow
Created June 26, 2014 06:39
Show Gist options
  • Save szarnekow/ea256af86126b9718627 to your computer and use it in GitHub Desktop.
Save szarnekow/ea256af86126b9718627 to your computer and use it in GitHub Desktop.
Multiple inheritance in Xtext
A: // not necessarily called anywhere
SomeA | AB
;
B: // not necessarily called anywhere
SomeB | AB
;
AB:
a='a' b='b'
;
SomeA:
a='a'
;
SomeB:
b='b'
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment