Irony's Transient

121 views
Skip to first unread message

Brannon King

unread,
Sep 17, 2013, 3:30:54 PM9/17/13
to eto-...@googlegroups.com
When using Irony, you can mark various parser instances as transient. This makes it so that they don't show up in the match hierarchy. It simplifies some things where you have a very deep tree in the definition, but the result is a much slimmer tree being two or three levels deep at the most. Does Eto.Parser have any equivalent of this functionality?

Curtis Wensley

unread,
Sep 17, 2013, 3:33:33 PM9/17/13
to eto-...@googlegroups.com
Yes, basically only named parsers get added to the tree, so if you are interested in something after it matches, set its name.

Otherwise, it won't add to the match tree.

Brannon King

unread,
Sep 17, 2013, 4:41:38 PM9/17/13
to eto-...@googlegroups.com
Yes, basically only named parsers get added to the tree, so if you are interested in something after it matches, set its name.
 
It's working beautifully! You should put this information in your main read-me. In fact, you should probably add the answers of all my questions today to your main documentation. It would also be nice if you added summary documentation to all your public members that included information like this. Increasing documentation always increases adoption.

Curtis Wensley

unread,
Sep 17, 2013, 4:55:36 PM9/17/13
to eto-...@googlegroups.com
Excellent!

Eto.Parse is pretty new and I will be adding more xml documentation and start on a wiki for more detailed information like this.  I believe the Name property is documented as such already.  However, it looks like the nuget package isn't including the xml documentation, so I'll make sure it's there next release.

This is a side project, so it might some time to get all this done. (;

Curtis.
Reply all
Reply to author
Forward
0 new messages