Commit 1a8b1f29 authored by Sascha Niklas Schneiders's avatar Sascha Niklas Schneiders
Browse files

updated grammar

parent a334b1cb
......@@ -84,7 +84,7 @@ grammar EmbeddedMontiArc extends de.monticore.lang.monticar.Common2, de.monticor
symbol scope Component implements Element =
NEWLINETOKEN* "component" Name
genericTypeParameters:TypeParameters // TypeParameters is optional itself
("(" (Parameter || ",")+ ")")?
( NEWLINETOKEN* "(" NEWLINETOKEN* (Parameter || ",")+ NEWLINETOKEN*")" NEWLINETOKEN*)? NEWLINETOKEN*
("implements" superComponent:ReferenceType)? NEWLINETOKEN*
body:ComponentBody;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment