Wed, 27 Apr 2016 01:27:09 +0800
Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/jaxws/
changeset: 657:d47a47f961ee
tag: jdk8u25-b17
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
aoqi@0 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
aoqi@0 | 4 | * |
aoqi@0 | 5 | * This code is free software; you can redistribute it and/or modify it |
aoqi@0 | 6 | * under the terms of the GNU General Public License version 2 only, as |
aoqi@0 | 7 | * published by the Free Software Foundation. Oracle designates this |
aoqi@0 | 8 | * particular file as subject to the "Classpath" exception as provided |
aoqi@0 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
aoqi@0 | 10 | * |
aoqi@0 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
aoqi@0 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
aoqi@0 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
aoqi@0 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
aoqi@0 | 15 | * accompanied this code). |
aoqi@0 | 16 | * |
aoqi@0 | 17 | * You should have received a copy of the GNU General Public License version |
aoqi@0 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
aoqi@0 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
aoqi@0 | 20 | * |
aoqi@0 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
aoqi@0 | 22 | * or visit www.oracle.com if you need additional information or have any |
aoqi@0 | 23 | * questions. |
aoqi@0 | 24 | */ |
aoqi@0 | 25 | |
aoqi@0 | 26 | /* this file is generated by RelaxNGCC */ |
aoqi@0 | 27 | package com.sun.xml.internal.xsom.impl.parser.state; |
aoqi@0 | 28 | import org.xml.sax.SAXException; |
aoqi@0 | 29 | import org.xml.sax.XMLReader; |
aoqi@0 | 30 | import org.xml.sax.Attributes; |
aoqi@0 | 31 | import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx; |
aoqi@0 | 32 | |
aoqi@0 | 33 | import com.sun.xml.internal.xsom.*; |
aoqi@0 | 34 | import com.sun.xml.internal.xsom.parser.*; |
aoqi@0 | 35 | import com.sun.xml.internal.xsom.impl.*; |
aoqi@0 | 36 | import com.sun.xml.internal.xsom.impl.parser.*; |
aoqi@0 | 37 | import org.xml.sax.Locator; |
aoqi@0 | 38 | import org.xml.sax.ContentHandler; |
aoqi@0 | 39 | import org.xml.sax.helpers.*; |
aoqi@0 | 40 | import java.util.*; |
aoqi@0 | 41 | import java.math.BigInteger; |
aoqi@0 | 42 | |
aoqi@0 | 43 | |
aoqi@0 | 44 | |
aoqi@0 | 45 | class redefine extends NGCCHandler { |
aoqi@0 | 46 | private String schemaLocation; |
aoqi@0 | 47 | private ModelGroupDeclImpl newGrp; |
aoqi@0 | 48 | private AttGroupDeclImpl newAg; |
aoqi@0 | 49 | private SimpleTypeImpl newSt; |
aoqi@0 | 50 | private ComplexTypeImpl newCt; |
aoqi@0 | 51 | protected final NGCCRuntimeEx $runtime; |
aoqi@0 | 52 | private int $_ngcc_current_state; |
aoqi@0 | 53 | protected String $uri; |
aoqi@0 | 54 | protected String $localName; |
aoqi@0 | 55 | protected String $qname; |
aoqi@0 | 56 | |
aoqi@0 | 57 | public final NGCCRuntime getRuntime() { |
aoqi@0 | 58 | return($runtime); |
aoqi@0 | 59 | } |
aoqi@0 | 60 | |
aoqi@0 | 61 | public redefine(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { |
aoqi@0 | 62 | super(source, parent, cookie); |
aoqi@0 | 63 | $runtime = runtime; |
aoqi@0 | 64 | $_ngcc_current_state = 15; |
aoqi@0 | 65 | } |
aoqi@0 | 66 | |
aoqi@0 | 67 | public redefine(NGCCRuntimeEx runtime) { |
aoqi@0 | 68 | this(null, runtime, runtime, -1); |
aoqi@0 | 69 | } |
aoqi@0 | 70 | |
aoqi@0 | 71 | private void action0()throws SAXException { |
aoqi@0 | 72 | XSAttGroupDecl oldAg = $runtime.currentSchema.getAttGroupDecl(newAg.getName()); |
aoqi@0 | 73 | if(oldAg==null) { |
aoqi@0 | 74 | $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_ATTRIBUTEGROUP,newAg.getName()) ); |
aoqi@0 | 75 | } else { |
aoqi@0 | 76 | newAg.redefine((AttGroupDeclImpl)oldAg); |
aoqi@0 | 77 | $runtime.currentSchema.addAttGroupDecl(newAg,true); |
aoqi@0 | 78 | } |
aoqi@0 | 79 | } |
aoqi@0 | 80 | |
aoqi@0 | 81 | private void action1()throws SAXException { |
aoqi@0 | 82 | XSModelGroupDecl oldGrp = $runtime.currentSchema.getModelGroupDecl(newGrp.getName()); |
aoqi@0 | 83 | if(oldGrp==null) { |
aoqi@0 | 84 | $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_MODELGROUP,newGrp.getName()) ); |
aoqi@0 | 85 | } else { |
aoqi@0 | 86 | newGrp.redefine((ModelGroupDeclImpl)oldGrp); |
aoqi@0 | 87 | $runtime.currentSchema.addModelGroupDecl(newGrp,true); |
aoqi@0 | 88 | } |
aoqi@0 | 89 | } |
aoqi@0 | 90 | |
aoqi@0 | 91 | private void action2()throws SAXException { |
aoqi@0 | 92 | XSComplexType oldCt = $runtime.currentSchema.getComplexType(newCt.getName()); |
aoqi@0 | 93 | if(oldCt==null) { |
aoqi@0 | 94 | $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_COMPLEXTYPE,newCt.getName()) ); |
aoqi@0 | 95 | } else { |
aoqi@0 | 96 | newCt.redefine((ComplexTypeImpl)oldCt); |
aoqi@0 | 97 | $runtime.currentSchema.addComplexType(newCt,true); |
aoqi@0 | 98 | } |
aoqi@0 | 99 | } |
aoqi@0 | 100 | |
aoqi@0 | 101 | private void action3()throws SAXException { |
aoqi@0 | 102 | XSSimpleType oldSt = $runtime.currentSchema.getSimpleType(newSt.getName()); |
aoqi@0 | 103 | if(oldSt==null) { |
aoqi@0 | 104 | $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_SIMPLETYPE,newSt.getName()) ); |
aoqi@0 | 105 | } else { |
aoqi@0 | 106 | newSt.redefine((SimpleTypeImpl)oldSt); |
aoqi@0 | 107 | $runtime.currentSchema.addSimpleType(newSt,true); |
aoqi@0 | 108 | } |
aoqi@0 | 109 | } |
aoqi@0 | 110 | |
aoqi@0 | 111 | private void action4()throws SAXException { |
aoqi@0 | 112 | $runtime.includeSchema( schemaLocation ); |
aoqi@0 | 113 | } |
aoqi@0 | 114 | |
aoqi@0 | 115 | public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException { |
aoqi@0 | 116 | int $ai; |
aoqi@0 | 117 | $uri = $__uri; |
aoqi@0 | 118 | $localName = $__local; |
aoqi@0 | 119 | $qname = $__qname; |
aoqi@0 | 120 | switch($_ngcc_current_state) { |
aoqi@0 | 121 | case 0: |
aoqi@0 | 122 | { |
aoqi@0 | 123 | revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 124 | } |
aoqi@0 | 125 | break; |
aoqi@0 | 126 | case 1: |
aoqi@0 | 127 | { |
aoqi@0 | 128 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
aoqi@0 | 129 | NGCCHandler h = new annotation(this, super._source, $runtime, 684, null,AnnotationContext.SCHEMA); |
aoqi@0 | 130 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 131 | } |
aoqi@0 | 132 | else { |
aoqi@0 | 133 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
aoqi@0 | 134 | NGCCHandler h = new simpleType(this, super._source, $runtime, 685); |
aoqi@0 | 135 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 136 | } |
aoqi@0 | 137 | else { |
aoqi@0 | 138 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { |
aoqi@0 | 139 | NGCCHandler h = new complexType(this, super._source, $runtime, 686); |
aoqi@0 | 140 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 141 | } |
aoqi@0 | 142 | else { |
aoqi@0 | 143 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { |
aoqi@0 | 144 | NGCCHandler h = new group(this, super._source, $runtime, 687); |
aoqi@0 | 145 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 146 | } |
aoqi@0 | 147 | else { |
aoqi@0 | 148 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) { |
aoqi@0 | 149 | NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 688); |
aoqi@0 | 150 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 151 | } |
aoqi@0 | 152 | else { |
aoqi@0 | 153 | unexpectedEnterElement($__qname); |
aoqi@0 | 154 | } |
aoqi@0 | 155 | } |
aoqi@0 | 156 | } |
aoqi@0 | 157 | } |
aoqi@0 | 158 | } |
aoqi@0 | 159 | } |
aoqi@0 | 160 | break; |
aoqi@0 | 161 | case 14: |
aoqi@0 | 162 | { |
aoqi@0 | 163 | if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) { |
aoqi@0 | 164 | $runtime.consumeAttribute($ai); |
aoqi@0 | 165 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 166 | } |
aoqi@0 | 167 | else { |
aoqi@0 | 168 | unexpectedEnterElement($__qname); |
aoqi@0 | 169 | } |
aoqi@0 | 170 | } |
aoqi@0 | 171 | break; |
aoqi@0 | 172 | case 2: |
aoqi@0 | 173 | { |
aoqi@0 | 174 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
aoqi@0 | 175 | NGCCHandler h = new annotation(this, super._source, $runtime, 689, null,AnnotationContext.SCHEMA); |
aoqi@0 | 176 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 177 | } |
aoqi@0 | 178 | else { |
aoqi@0 | 179 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
aoqi@0 | 180 | NGCCHandler h = new simpleType(this, super._source, $runtime, 690); |
aoqi@0 | 181 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 182 | } |
aoqi@0 | 183 | else { |
aoqi@0 | 184 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { |
aoqi@0 | 185 | NGCCHandler h = new complexType(this, super._source, $runtime, 691); |
aoqi@0 | 186 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 187 | } |
aoqi@0 | 188 | else { |
aoqi@0 | 189 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { |
aoqi@0 | 190 | NGCCHandler h = new group(this, super._source, $runtime, 692); |
aoqi@0 | 191 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 192 | } |
aoqi@0 | 193 | else { |
aoqi@0 | 194 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) { |
aoqi@0 | 195 | NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 693); |
aoqi@0 | 196 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 197 | } |
aoqi@0 | 198 | else { |
aoqi@0 | 199 | $_ngcc_current_state = 1; |
aoqi@0 | 200 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
aoqi@0 | 201 | } |
aoqi@0 | 202 | } |
aoqi@0 | 203 | } |
aoqi@0 | 204 | } |
aoqi@0 | 205 | } |
aoqi@0 | 206 | } |
aoqi@0 | 207 | break; |
aoqi@0 | 208 | case 15: |
aoqi@0 | 209 | { |
aoqi@0 | 210 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine"))) { |
aoqi@0 | 211 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
aoqi@0 | 212 | $_ngcc_current_state = 14; |
aoqi@0 | 213 | } |
aoqi@0 | 214 | else { |
aoqi@0 | 215 | unexpectedEnterElement($__qname); |
aoqi@0 | 216 | } |
aoqi@0 | 217 | } |
aoqi@0 | 218 | break; |
aoqi@0 | 219 | default: |
aoqi@0 | 220 | { |
aoqi@0 | 221 | unexpectedEnterElement($__qname); |
aoqi@0 | 222 | } |
aoqi@0 | 223 | break; |
aoqi@0 | 224 | } |
aoqi@0 | 225 | } |
aoqi@0 | 226 | |
aoqi@0 | 227 | public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException { |
aoqi@0 | 228 | int $ai; |
aoqi@0 | 229 | $uri = $__uri; |
aoqi@0 | 230 | $localName = $__local; |
aoqi@0 | 231 | $qname = $__qname; |
aoqi@0 | 232 | switch($_ngcc_current_state) { |
aoqi@0 | 233 | case 0: |
aoqi@0 | 234 | { |
aoqi@0 | 235 | revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 236 | } |
aoqi@0 | 237 | break; |
aoqi@0 | 238 | case 1: |
aoqi@0 | 239 | { |
aoqi@0 | 240 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine"))) { |
aoqi@0 | 241 | $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
aoqi@0 | 242 | $_ngcc_current_state = 0; |
aoqi@0 | 243 | } |
aoqi@0 | 244 | else { |
aoqi@0 | 245 | unexpectedLeaveElement($__qname); |
aoqi@0 | 246 | } |
aoqi@0 | 247 | } |
aoqi@0 | 248 | break; |
aoqi@0 | 249 | case 14: |
aoqi@0 | 250 | { |
aoqi@0 | 251 | if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) { |
aoqi@0 | 252 | $runtime.consumeAttribute($ai); |
aoqi@0 | 253 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 254 | } |
aoqi@0 | 255 | else { |
aoqi@0 | 256 | unexpectedLeaveElement($__qname); |
aoqi@0 | 257 | } |
aoqi@0 | 258 | } |
aoqi@0 | 259 | break; |
aoqi@0 | 260 | case 2: |
aoqi@0 | 261 | { |
aoqi@0 | 262 | $_ngcc_current_state = 1; |
aoqi@0 | 263 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 264 | } |
aoqi@0 | 265 | break; |
aoqi@0 | 266 | default: |
aoqi@0 | 267 | { |
aoqi@0 | 268 | unexpectedLeaveElement($__qname); |
aoqi@0 | 269 | } |
aoqi@0 | 270 | break; |
aoqi@0 | 271 | } |
aoqi@0 | 272 | } |
aoqi@0 | 273 | |
aoqi@0 | 274 | public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
aoqi@0 | 275 | int $ai; |
aoqi@0 | 276 | $uri = $__uri; |
aoqi@0 | 277 | $localName = $__local; |
aoqi@0 | 278 | $qname = $__qname; |
aoqi@0 | 279 | switch($_ngcc_current_state) { |
aoqi@0 | 280 | case 0: |
aoqi@0 | 281 | { |
aoqi@0 | 282 | revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 283 | } |
aoqi@0 | 284 | break; |
aoqi@0 | 285 | case 14: |
aoqi@0 | 286 | { |
aoqi@0 | 287 | if(($__uri.equals("") && $__local.equals("schemaLocation"))) { |
aoqi@0 | 288 | $_ngcc_current_state = 13; |
aoqi@0 | 289 | } |
aoqi@0 | 290 | else { |
aoqi@0 | 291 | unexpectedEnterAttribute($__qname); |
aoqi@0 | 292 | } |
aoqi@0 | 293 | } |
aoqi@0 | 294 | break; |
aoqi@0 | 295 | case 2: |
aoqi@0 | 296 | { |
aoqi@0 | 297 | $_ngcc_current_state = 1; |
aoqi@0 | 298 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 299 | } |
aoqi@0 | 300 | break; |
aoqi@0 | 301 | default: |
aoqi@0 | 302 | { |
aoqi@0 | 303 | unexpectedEnterAttribute($__qname); |
aoqi@0 | 304 | } |
aoqi@0 | 305 | break; |
aoqi@0 | 306 | } |
aoqi@0 | 307 | } |
aoqi@0 | 308 | |
aoqi@0 | 309 | public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
aoqi@0 | 310 | int $ai; |
aoqi@0 | 311 | $uri = $__uri; |
aoqi@0 | 312 | $localName = $__local; |
aoqi@0 | 313 | $qname = $__qname; |
aoqi@0 | 314 | switch($_ngcc_current_state) { |
aoqi@0 | 315 | case 0: |
aoqi@0 | 316 | { |
aoqi@0 | 317 | revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 318 | } |
aoqi@0 | 319 | break; |
aoqi@0 | 320 | case 12: |
aoqi@0 | 321 | { |
aoqi@0 | 322 | if(($__uri.equals("") && $__local.equals("schemaLocation"))) { |
aoqi@0 | 323 | $_ngcc_current_state = 2; |
aoqi@0 | 324 | } |
aoqi@0 | 325 | else { |
aoqi@0 | 326 | unexpectedLeaveAttribute($__qname); |
aoqi@0 | 327 | } |
aoqi@0 | 328 | } |
aoqi@0 | 329 | break; |
aoqi@0 | 330 | case 2: |
aoqi@0 | 331 | { |
aoqi@0 | 332 | $_ngcc_current_state = 1; |
aoqi@0 | 333 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
aoqi@0 | 334 | } |
aoqi@0 | 335 | break; |
aoqi@0 | 336 | default: |
aoqi@0 | 337 | { |
aoqi@0 | 338 | unexpectedLeaveAttribute($__qname); |
aoqi@0 | 339 | } |
aoqi@0 | 340 | break; |
aoqi@0 | 341 | } |
aoqi@0 | 342 | } |
aoqi@0 | 343 | |
aoqi@0 | 344 | public void text(String $value) throws SAXException { |
aoqi@0 | 345 | int $ai; |
aoqi@0 | 346 | switch($_ngcc_current_state) { |
aoqi@0 | 347 | case 0: |
aoqi@0 | 348 | { |
aoqi@0 | 349 | revertToParentFromText(this, super._cookie, $value); |
aoqi@0 | 350 | } |
aoqi@0 | 351 | break; |
aoqi@0 | 352 | case 14: |
aoqi@0 | 353 | { |
aoqi@0 | 354 | if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) { |
aoqi@0 | 355 | $runtime.consumeAttribute($ai); |
aoqi@0 | 356 | $runtime.sendText(super._cookie, $value); |
aoqi@0 | 357 | } |
aoqi@0 | 358 | } |
aoqi@0 | 359 | break; |
aoqi@0 | 360 | case 2: |
aoqi@0 | 361 | { |
aoqi@0 | 362 | $_ngcc_current_state = 1; |
aoqi@0 | 363 | $runtime.sendText(super._cookie, $value); |
aoqi@0 | 364 | } |
aoqi@0 | 365 | break; |
aoqi@0 | 366 | case 13: |
aoqi@0 | 367 | { |
aoqi@0 | 368 | schemaLocation = $value; |
aoqi@0 | 369 | $_ngcc_current_state = 12; |
aoqi@0 | 370 | action4(); |
aoqi@0 | 371 | } |
aoqi@0 | 372 | break; |
aoqi@0 | 373 | } |
aoqi@0 | 374 | } |
aoqi@0 | 375 | |
aoqi@0 | 376 | public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
aoqi@0 | 377 | switch($__cookie__) { |
aoqi@0 | 378 | case 689: |
aoqi@0 | 379 | { |
aoqi@0 | 380 | $_ngcc_current_state = 1; |
aoqi@0 | 381 | } |
aoqi@0 | 382 | break; |
aoqi@0 | 383 | case 690: |
aoqi@0 | 384 | { |
aoqi@0 | 385 | newSt = ((SimpleTypeImpl)$__result__); |
aoqi@0 | 386 | action3(); |
aoqi@0 | 387 | $_ngcc_current_state = 1; |
aoqi@0 | 388 | } |
aoqi@0 | 389 | break; |
aoqi@0 | 390 | case 691: |
aoqi@0 | 391 | { |
aoqi@0 | 392 | newCt = ((ComplexTypeImpl)$__result__); |
aoqi@0 | 393 | action2(); |
aoqi@0 | 394 | $_ngcc_current_state = 1; |
aoqi@0 | 395 | } |
aoqi@0 | 396 | break; |
aoqi@0 | 397 | case 692: |
aoqi@0 | 398 | { |
aoqi@0 | 399 | newGrp = ((ModelGroupDeclImpl)$__result__); |
aoqi@0 | 400 | action1(); |
aoqi@0 | 401 | $_ngcc_current_state = 1; |
aoqi@0 | 402 | } |
aoqi@0 | 403 | break; |
aoqi@0 | 404 | case 693: |
aoqi@0 | 405 | { |
aoqi@0 | 406 | newAg = ((AttGroupDeclImpl)$__result__); |
aoqi@0 | 407 | action0(); |
aoqi@0 | 408 | $_ngcc_current_state = 1; |
aoqi@0 | 409 | } |
aoqi@0 | 410 | break; |
aoqi@0 | 411 | case 684: |
aoqi@0 | 412 | { |
aoqi@0 | 413 | $_ngcc_current_state = 1; |
aoqi@0 | 414 | } |
aoqi@0 | 415 | break; |
aoqi@0 | 416 | case 685: |
aoqi@0 | 417 | { |
aoqi@0 | 418 | newSt = ((SimpleTypeImpl)$__result__); |
aoqi@0 | 419 | action3(); |
aoqi@0 | 420 | $_ngcc_current_state = 1; |
aoqi@0 | 421 | } |
aoqi@0 | 422 | break; |
aoqi@0 | 423 | case 686: |
aoqi@0 | 424 | { |
aoqi@0 | 425 | newCt = ((ComplexTypeImpl)$__result__); |
aoqi@0 | 426 | action2(); |
aoqi@0 | 427 | $_ngcc_current_state = 1; |
aoqi@0 | 428 | } |
aoqi@0 | 429 | break; |
aoqi@0 | 430 | case 687: |
aoqi@0 | 431 | { |
aoqi@0 | 432 | newGrp = ((ModelGroupDeclImpl)$__result__); |
aoqi@0 | 433 | action1(); |
aoqi@0 | 434 | $_ngcc_current_state = 1; |
aoqi@0 | 435 | } |
aoqi@0 | 436 | break; |
aoqi@0 | 437 | case 688: |
aoqi@0 | 438 | { |
aoqi@0 | 439 | newAg = ((AttGroupDeclImpl)$__result__); |
aoqi@0 | 440 | action0(); |
aoqi@0 | 441 | $_ngcc_current_state = 1; |
aoqi@0 | 442 | } |
aoqi@0 | 443 | break; |
aoqi@0 | 444 | } |
aoqi@0 | 445 | } |
aoqi@0 | 446 | |
aoqi@0 | 447 | public boolean accepted() { |
aoqi@0 | 448 | return(($_ngcc_current_state == 0)); |
aoqi@0 | 449 | } |
aoqi@0 | 450 | |
aoqi@0 | 451 | |
aoqi@0 | 452 | } |