On 10/7/11 11:12 PM, "Jim Idle" <j...@temporal-wave.com> wrote:

> You don't need to do this. If you want the text that makes up that part of
> the tree, you can use the start and end tokens in the tree parser and
> write a few lines of java that will give you the text. Placing it in the
> tree is just duplicating it.

Hi Jim,
Hi Terence,

Actually I want only underline point I already have expressed before.

I think, that ANTLR should include such utility methods.
Users of ANTLR should not invent each time such "simple" algs.

Set of this algs can be and should be official and fixed and documented and
be consistent for all targets

Java

String  JointTextOfTokens(
    Token inStartToken,
    Token inEndToken )
{

}



c:

pANTLR3_STRING  JointTextOfTokens(
    Token* inStartToken,
    Token* inEndToken )
{

}



This can save many hours to users of your product.



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]



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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to