Lines Matching refs:decl
36 public String decl;
47 public Attribute(String decl) {
48 extractAttribute(decl);
51 public Attribute(String name, String decl) {
53 this.decl = decl;
62 * Set name, type, initvalue, and full decl instance vars.
64 protected void extractAttribute(String decl) {
65 if ( decl==null ) {
70 int rightEdgeOfDeclarator = decl.length()-1;
71 int equalsIndex = decl.indexOf('=');
74 this.initValue = decl.substring(equalsIndex+1,decl.length());
80 if ( !inID && Character.isLetterOrDigit(decl.charAt(i)) ) {
84 !(Character.isLetterOrDigit(decl.charAt(i))||
85 decl.charAt(i)=='_') ) {
94 ErrorManager.error(ErrorManager.MSG_CANNOT_FIND_ATTRIBUTE_NAME_IN_DECL,decl);
100 if ( !(Character.isLetterOrDigit(decl.charAt(i))||
101 decl.charAt(i)=='_') )
112 this.name = decl.substring(start,stop);
114 // the type is the decl minus the ID (could be empty)
115 this.type = decl.substring(0,start);
117 this.type += decl.substring(stop,rightEdgeOfDeclarator+1);
124 this.decl = decl;