Thanks. I see that, however RBBlockNode or RBArrayNode doesn't have tokens. These classes have only methods in accessing-token protocol. I think it would be better if we have token object for those classes, because it makes more sense to hold such information in token object.
Mark 2014-10-28 11:59 GMT+02:00 Nicolai Hess <nicolaih...@web.de>: > 2014-10-27 19:36 GMT+01:00 Mark Rizun <mri...@gmail.com>: > >> Hi all, >> >> Trying to understand here how tokens are used in AST. >> So far I can not see any order in usage of tokens. >> For instance, why RBValueNode doesn't have token? Is it haow it's >> supposed to be? >> > > RBValueNode is an abstract class. > > >> >> Cheers, >> Mark >> > >