diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g | 191 |
1 files changed, 177 insertions, 14 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g index 438d6cdc..a79a6430 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g | |||
@@ -2094,14 +2094,161 @@ ruleObjectiveFunction returns [EObject current=null] | |||
2094 | @after { | 2094 | @after { |
2095 | leaveRule(); | 2095 | leaveRule(); |
2096 | }: | 2096 | }: |
2097 | { | 2097 | ( |
2098 | newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); | 2098 | { |
2099 | } | 2099 | newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); |
2100 | this_ReliabilityObjectiveFunction_0=ruleReliabilityObjectiveFunction | 2100 | } |
2101 | { | 2101 | this_CostObjectiveFunction_0=ruleCostObjectiveFunction |
2102 | $current = $this_ReliabilityObjectiveFunction_0.current; | 2102 | { |
2103 | afterParserOrEnumRuleCall(); | 2103 | $current = $this_CostObjectiveFunction_0.current; |
2104 | } | 2104 | afterParserOrEnumRuleCall(); |
2105 | } | ||
2106 | | | ||
2107 | { | ||
2108 | newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); | ||
2109 | } | ||
2110 | this_ReliabilityObjectiveFunction_1=ruleReliabilityObjectiveFunction | ||
2111 | { | ||
2112 | $current = $this_ReliabilityObjectiveFunction_1.current; | ||
2113 | afterParserOrEnumRuleCall(); | ||
2114 | } | ||
2115 | ) | ||
2116 | ; | ||
2117 | |||
2118 | // Entry rule entryRuleCostObjectiveFunction | ||
2119 | entryRuleCostObjectiveFunction returns [EObject current=null]: | ||
2120 | { newCompositeNode(grammarAccess.getCostObjectiveFunctionRule()); } | ||
2121 | iv_ruleCostObjectiveFunction=ruleCostObjectiveFunction | ||
2122 | { $current=$iv_ruleCostObjectiveFunction.current; } | ||
2123 | EOF; | ||
2124 | |||
2125 | // Rule CostObjectiveFunction | ||
2126 | ruleCostObjectiveFunction returns [EObject current=null] | ||
2127 | @init { | ||
2128 | enterRule(); | ||
2129 | } | ||
2130 | @after { | ||
2131 | leaveRule(); | ||
2132 | }: | ||
2133 | ( | ||
2134 | otherlv_0='cost' | ||
2135 | { | ||
2136 | newLeafNode(otherlv_0, grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0()); | ||
2137 | } | ||
2138 | otherlv_1='{' | ||
2139 | { | ||
2140 | newLeafNode(otherlv_1, grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1()); | ||
2141 | } | ||
2142 | ( | ||
2143 | ( | ||
2144 | { | ||
2145 | newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); | ||
2146 | } | ||
2147 | lv_entries_2_0=ruleCostEntry | ||
2148 | { | ||
2149 | if ($current==null) { | ||
2150 | $current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule()); | ||
2151 | } | ||
2152 | add( | ||
2153 | $current, | ||
2154 | "entries", | ||
2155 | lv_entries_2_0, | ||
2156 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry"); | ||
2157 | afterParserOrEnumRuleCall(); | ||
2158 | } | ||
2159 | ) | ||
2160 | ) | ||
2161 | ( | ||
2162 | otherlv_3=',' | ||
2163 | { | ||
2164 | newLeafNode(otherlv_3, grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); | ||
2165 | } | ||
2166 | ( | ||
2167 | ( | ||
2168 | { | ||
2169 | newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); | ||
2170 | } | ||
2171 | lv_entries_4_0=ruleCostEntry | ||
2172 | { | ||
2173 | if ($current==null) { | ||
2174 | $current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule()); | ||
2175 | } | ||
2176 | add( | ||
2177 | $current, | ||
2178 | "entries", | ||
2179 | lv_entries_4_0, | ||
2180 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry"); | ||
2181 | afterParserOrEnumRuleCall(); | ||
2182 | } | ||
2183 | ) | ||
2184 | ) | ||
2185 | )* | ||
2186 | otherlv_5='}' | ||
2187 | { | ||
2188 | newLeafNode(otherlv_5, grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); | ||
2189 | } | ||
2190 | ) | ||
2191 | ; | ||
2192 | |||
2193 | // Entry rule entryRuleCostEntry | ||
2194 | entryRuleCostEntry returns [EObject current=null]: | ||
2195 | { newCompositeNode(grammarAccess.getCostEntryRule()); } | ||
2196 | iv_ruleCostEntry=ruleCostEntry | ||
2197 | { $current=$iv_ruleCostEntry.current; } | ||
2198 | EOF; | ||
2199 | |||
2200 | // Rule CostEntry | ||
2201 | ruleCostEntry returns [EObject current=null] | ||
2202 | @init { | ||
2203 | enterRule(); | ||
2204 | } | ||
2205 | @after { | ||
2206 | leaveRule(); | ||
2207 | }: | ||
2208 | ( | ||
2209 | ( | ||
2210 | ( | ||
2211 | { | ||
2212 | newCompositeNode(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); | ||
2213 | } | ||
2214 | lv_patternElement_0_0=rulePatternElement | ||
2215 | { | ||
2216 | if ($current==null) { | ||
2217 | $current = createModelElementForParent(grammarAccess.getCostEntryRule()); | ||
2218 | } | ||
2219 | set( | ||
2220 | $current, | ||
2221 | "patternElement", | ||
2222 | lv_patternElement_0_0, | ||
2223 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); | ||
2224 | afterParserOrEnumRuleCall(); | ||
2225 | } | ||
2226 | ) | ||
2227 | ) | ||
2228 | otherlv_1='=' | ||
2229 | { | ||
2230 | newLeafNode(otherlv_1, grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); | ||
2231 | } | ||
2232 | ( | ||
2233 | ( | ||
2234 | { | ||
2235 | newCompositeNode(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); | ||
2236 | } | ||
2237 | lv_weight_2_0=ruleINTLiteral | ||
2238 | { | ||
2239 | if ($current==null) { | ||
2240 | $current = createModelElementForParent(grammarAccess.getCostEntryRule()); | ||
2241 | } | ||
2242 | set( | ||
2243 | $current, | ||
2244 | "weight", | ||
2245 | lv_weight_2_0, | ||
2246 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); | ||
2247 | afterParserOrEnumRuleCall(); | ||
2248 | } | ||
2249 | ) | ||
2250 | ) | ||
2251 | ) | ||
2105 | ; | 2252 | ; |
2106 | 2253 | ||
2107 | // Entry rule entryRuleReliabilityObjectiveFunction | 2254 | // Entry rule entryRuleReliabilityObjectiveFunction |
@@ -4917,18 +5064,34 @@ ruleComparisonOperator returns [Enumerator current=null] | |||
4917 | }: | 5064 | }: |
4918 | ( | 5065 | ( |
4919 | ( | 5066 | ( |
4920 | enumLiteral_0='<=' | 5067 | enumLiteral_0='<' |
5068 | { | ||
5069 | $current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | ||
5070 | newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0()); | ||
5071 | } | ||
5072 | ) | ||
5073 | | | ||
5074 | ( | ||
5075 | enumLiteral_1='>' | ||
5076 | { | ||
5077 | $current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | ||
5078 | newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1()); | ||
5079 | } | ||
5080 | ) | ||
5081 | | | ||
5082 | ( | ||
5083 | enumLiteral_2='<=' | ||
4921 | { | 5084 | { |
4922 | $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | 5085 | $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
4923 | newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); | 5086 | newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2()); |
4924 | } | 5087 | } |
4925 | ) | 5088 | ) |
4926 | | | 5089 | | |
4927 | ( | 5090 | ( |
4928 | enumLiteral_1='>=' | 5091 | enumLiteral_3='>=' |
4929 | { | 5092 | { |
4930 | $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | 5093 | $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
4931 | newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); | 5094 | newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3()); |
4932 | } | 5095 | } |
4933 | ) | 5096 | ) |
4934 | ) | 5097 | ) |