Hello,

 

I want to usd stringtemplat to modify 

 

var v1:Number=10;
var v2:Number=10;

 

to

 

var v1,v2:Number=10;

 

I got the tree like this:

 

(PROPERTY_DECL (VARIABLE_STATEMENT .... (VAR_ID_DECL v1 (QUALIFIED_NAME 
Number)) (ASSIGNMENT_EXPRESSION (CONDITION_EXPRESSION .... (PRIMARY_EXPRESSION 
10)

(PROPERTY_DECL (VARIABLE_STATEMENT .... (VAR_ID_DECL v2 (QUALIFIED_NAME 
Number)) (ASSIGNMENT_EXPRESSION (CONDITION_EXPRESSION .... (PRIMARY_EXPRESSION 
10)

 

They are in two different tree. How to modify lines of code?

 

Thanks in advance!

 

Annie

 

 

 

_________________________________________________________________
MSN 表情魔法书,改变你的对话时代!
http://im.live.cn/emoticons/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to