Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] best way to find out if a variable reference in AST is for read or write

I found this static method for that which seems to work (from org.eclipse.cdt.internal.core.dom.parser.VariableReadWriteFlags):

 

int CPPVariableReadWriteFlags.getReadWriteFlags(IASTName n)

 

but seems like it is for internal use only. Is there a better way I can get what I want or should I use this one above?

 

Thanks!


Back to the top