예제 #1
0
 @Override
 public int getAdditionalNameFlags(int standardFlags, IASTName name) {
   if ((standardFlags & PDOMName.IS_REFERENCE) == PDOMName.IS_REFERENCE) {
     return CPPVariableReadWriteFlags.getReadWriteFlags(name);
   }
   return 0;
 }
예제 #2
0
 public static int getReadWriteFlags(IASTName variable) {
   return INSTANCE.rwAnyNode(variable, 0);
 }