are there any documentation about Conditions Tab (Index field) in Rules? In the above URL what is the meaning of the index fields 0-4?
Problem description is below.
I have two rules.
- One "Range Start" with condition to look for the word "function" and display that line in tree structure under functions list.
- Two "Range Start" with condition to look for the word "long" and display that line in tree structure under variables list.
Having this situation should be common in several languages, i believe.
I am looking for a way to re-write the rule in such a way that, do.something() is picked up only in function list.
Hence looking for the documentation, if I can use the index in such a way to differentiate "function long" and "long".
Thank you in advance.function long do.something()
{
long variable
}
Regards.