blob: d881b9d8fac942a496144a249e7dc6e751637953 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
grammar org.eclipse.osbp.dsl.datatype.xtext.DatatypeGrammar with org.eclipse.osbp.dsl.common.xtext.CommonGrammar
import "http://osbp.eclipse.org/dsl/common/types/v1" as types
LCommonModel returns types::LCommonModel:
packages+=TypedPackage*;
TypedPackage returns types::LTypedPackage:
{types::LTypedPackage}
'package' name=QualifiedName ('{'
(imports+=Import)*
(types+=ScalarType)*
'}')?;