|
@@ -44,7 +44,8 @@ import org.yakindu.sct.model.stext.stext.EventDefinition
|
|
|
import org.yakindu.sct.model.stext.stext.EventRaisingExpression
|
|
import org.yakindu.sct.model.stext.stext.EventRaisingExpression
|
|
|
import org.yakindu.sct.model.stext.stext.EventValueReferenceExpression
|
|
import org.yakindu.sct.model.stext.stext.EventValueReferenceExpression
|
|
|
import org.yakindu.sct.simulation.core.sruntime.ExecutionContext
|
|
import org.yakindu.sct.simulation.core.sruntime.ExecutionContext
|
|
|
-
|
|
|
|
|
|
|
+import org.yakindu.base.expressions.expressions.NullLiteral
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
|
* @author andreas muelder - Initial contribution and API
|
|
* @author andreas muelder - Initial contribution and API
|
|
@@ -273,6 +274,9 @@ class StextStatementInterpreter extends AbstractStatementInterpreter {
|
|
|
|
|
|
|
|
def dispatch valueLiteral(StringLiteral literal) {
|
|
def dispatch valueLiteral(StringLiteral literal) {
|
|
|
return literal.value
|
|
return literal.value
|
|
|
|
|
+ }
|
|
|
|
|
+ def dispatch valueLiteral(NullLiteral literal) {
|
|
|
|
|
+ return null
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|