Rules.xtext: remove unused imports (#5420)

This commit is contained in:
Дилян Палаузов
2026-03-16 14:59:32 +01:00
committed by GitHub
parent 0bc16195cb
commit 1e507b9928
@@ -1,9 +1,5 @@
grammar org.openhab.core.model.rule.Rules with org.openhab.core.model.script.Script
import "http://www.eclipse.org/xtext/xbase/Xbase" as xbase
import "http://www.eclipse.org/xtext/common/JavaVMTypes" as types
import "http://www.eclipse.org/emf/2002/Ecore" as ecore
generate rules "https://openhab.org/model/Rules"
RuleModel:
@@ -11,10 +7,6 @@ RuleModel:
(variables+=VariableDeclaration)*
(rules += Rule)*;
//Import:
// 'import' importedNamespace=QualifiedNameWithWildcard
//;
VariableDeclaration:
(writeable?='var'|'val') (=>(type=JvmTypeReference name=ValidID) | name=ValidID) ('=' right=XExpression)?
;