At 00:30 13/11/2008, Ashok Varikuti wrote: >Gavin Lambert wrote: >> At 23:55 12/11/2008, Ashok Varikuti wrote: >> >For this sample edge cluster_A --> B, in the edges function, >> >start=node_id[g,subID] is the first match. >> >How do I do something like this, ( ^(D_EDGE_OP ( >> >start=edges[g,subID] | start=node_id[g,subID] (get value >> >of matched id in node_id func here) end=node_id[g,subID] >> >That is, I want to get the id of the matched node(which is >> >obvious node_id func) in the edges function. >> >> You mean like $start.nodeID? Or something else? >> >> (To do that you'd need to make your node_id rule assign the ID to >> the $nodeID return value as well.) >> >Can you suggest me some other way.
Can you explain why that wasn't sufficient for what you're trying to do? Or perhaps better explain what you're trying to do? (Or both.) List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
