Changes for page SCL Extensions
Last modified by Richard Kreissig on 2023/09/14 11:13
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -79,8 +79,68 @@ 79 79 80 80 = SCL Create Extensions = 81 81 82 -//coming soon...// 82 +|=((( 83 +Method 84 +)))|=((( 85 +Description 86 +))) 87 +|((( 88 +def boolean isEmpty(Statement) 89 +)))|((( 90 +Returns true, if the statement is an EmptyStatement. 91 +))) 92 +|(% colspan="1" %)(% colspan="1" %) 93 +((( 94 +def boolean hasInstruction(Statement) 95 +)))|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 +Returns true, if the statement is an InstructionStatement containing an instruction. 98 +))) 99 +|(% colspan="1" %)(% colspan="1" %) 100 +((( 101 +def boolean isGoto(Statement) 102 +)))|(% colspan="1" %)(% colspan="1" %) 103 +((( 104 +Returns true, if the statement is an InstructionStatement containing a goto instruction. 105 +))) 106 +|(% colspan="1" %)(% colspan="1" %) 107 +((( 108 +def EmptyStatement asEmptyStatement(Statement) 109 +)))|(% colspan="1" %)(% colspan="1" %) 110 +((( 111 +Convenently type-cast the statement to an EmptyStatement 112 +))) 113 +|(% colspan="1" %)(% colspan="1" %) 114 +((( 115 +def InstructionStatement asInstructionStatement(Statement) 116 +)))|(% colspan="1" %)(% colspan="1" %) 117 +((( 118 +Convenently type-cast the statement to an InstructionStatement 119 +))) 120 +|(% colspan="1" %)(% colspan="1" %) 121 +((( 122 +def getInstruction(Statement) 123 +)))|(% colspan="1" %)(% colspan="1" %) 124 +((( 125 +Type-cast the statement to an InstructionStatement an return its instruction. 126 +))) 127 +|(% colspan="1" %)(% colspan="1" %) 128 +((( 129 +def EmptyStatement removeInstruction(Statement) 130 +)))|(% colspan="1" %)(% colspan="1" %) 131 +((( 132 +Creates a new EmptyStatement and copies the label and comment information from the old statement. 133 +))) 134 +|(% colspan="1" %)(% colspan="1" %) 135 +((( 136 +def getStatement(Instruction) 137 +)))|(% colspan="1" %)(% colspan="1" %) 138 +((( 139 +Returns the parent statement of a given instruction. 140 +))) 83 83 142 + 143 + 84 84 = SCL Naming Extensions = 85 85 86 86 SCL Naming Extensions provide helper functions for ID & naming services.
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -711087 01 +7110872 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/711087 0/SCL Extensions1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/7110872/SCL Extensions