1 19 package org.netbeans.tax.decl.parser; 20 21 import org.netbeans.tax.TreeElementDecl; 22 import org.netbeans.tax.decl.*; 23 24 public class MixedParser extends ChoiceParser { 25 26 30 public MixedParser () { 31 super (null); 32 } 33 34 35 39 41 public TreeElementDecl.ContentType parseModel (ParserReader s) { 42 43 if (s.trim ().startsWith ("|")) { MixedType cht = (MixedType) super.parseModel (s); 46 return cht; 47 48 } else { 49 return new MixedType (); 51 } 52 } 53 54 56 protected ChildrenType createType (ParserReader s) { 57 return new MixedType (); 58 } 59 60 } 61 | Popular Tags |