Пример #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);
 }