Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ShortcutFactory Description
SGraph()SGraphFactory::eINSTANCEFactory for yakindu statechart models 
SText()StextFactory::eINSTANCEFactory for yakindu expressions
SyncGraph()SyncgraphFactory::eINSTANCEFactory for sgraph extensions
SyncText()SynctextFactory::eINSTANCEFactory for stext extensions
SCCExp()SCChartsExpFactory::eINSTANCEFactory for SCCharts specific expression extensions
SCL()SclFactory::eINSTANCEFactory for SCL

SCL Create Extensions

...

MethodDescription
def boolean isEmpty(Statement)Returns true, if the statement is an EmptyStatement.
def boolean hasInstruction(Statement)Returns true, if the statement is an InstructionStatement containing an instruction.
def boolean isGoto(Statement)Returns true, if the statement is an InstructionStatement containing a goto instruction.
def EmptyStatement asEmptyStatement(Statement)Convenently type-cast the statement to an EmptyStatement
def InstructionStatement asInstructionStatement(Statement)Convenently type-cast the statement to an InstructionStatement
def getInstruction(Statement)Type-cast the statement to an InstructionStatement an return its instruction.
def EmptyStatement removeInstruction(Statement)Creates a new EmptyStatement and copies the label and comment information from the old statement.
def getStatement(Instruction)Returns the parent statement of a given instruction.

 

SCL  Naming Extensions

SCL Naming Extensions provide helper functions for ID & naming services.

...