コード例 #1
0
 // Declared in GenericMethods.jrag at line 108
 public SimpleSet Define_SimpleSet_lookupType(ASTNode caller, ASTNode child, String name) {
   if (caller == getTypeArgumentListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return unqualifiedScope().lookupType(name);
   }
   return super.Define_SimpleSet_lookupType(caller, child, name);
 }
コード例 #2
0
 // Declared in TypeAnalysis.jrag at line 257
 public TypeDecl Define_TypeDecl_declType(ASTNode caller, ASTNode child) {
   if (caller == getVariableDeclListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return null;
   }
   return getParent().Define_TypeDecl_declType(this, caller);
 }
コード例 #3
0
 // Declared in GenericMethods.jrag at line 107
 public NameType Define_NameType_nameType(ASTNode caller, ASTNode child) {
   if (caller == getTypeArgumentListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return NameType.TYPE_NAME;
   }
   return super.Define_NameType_nameType(caller, child);
 }
コード例 #4
0
 /**
  * @declaredat /home/uoji/JastAddJ/Java1.4Frontend/TypeAnalysis.jrag:577
  * @apilevel internal
  */
 public TypeDecl Define_TypeDecl_hostType(ASTNode caller, ASTNode child) {
   if (caller == getSuperInterfaceIdListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return hostType();
   }
   return super.Define_TypeDecl_hostType(caller, child);
 }