Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/k_int/codec/comp/ASTNamedType.java


1   /* Generated By:JJTree: Do not edit this line. ASTNamedType.java */
2   
3   package com.k_int.codec.comp;
4   
5   public class ASTNamedType extends SimpleNode {
6   
7     public boolean hasid = false;
8   
9     public String getName()
10    {
11      if ( hasid == true )
12        return ((ASTidentifier)jjtGetChild(0)).id;
13      else
14        return null;
15    }
16  
17    public ASTType getType()
18    {
19      if ( hasid == true )
20        return (ASTType)jjtGetChild(1);
21      else
22        return (ASTType)jjtGetChild(0);
23    }
24  
25    public ASTNamedType(int id) {
26      super(id);
27    }
28  
29    public ASTNamedType(AsnParser p, int id) {
30      super(p, id);
31    }
32  
33  }