[nem-en] Re: How field initializers are parsed?
vc
vc at rsdn.ru
Sun Dec 24 21:45:16 CET 2006
> That's why I propose to have a 'initializer : TExpr' field in
> FieldBuilder. I
> think it's a more appropriate and consistent solution (and will also help
> me
> with CodeDom creation).
>
> Maybe its initialization could be achieved by parsing BodyTyped of a kind
> of
> such fake method (if we cannot type standalone expressions :( ), although
> it
> looks like a dirty hack to me.
I fix some bug and add some properties into FieldBuilder:
InitializerLocation
InitializerTokens
InitializerParsed
InternalType
InitializerMessages
This properties give access to field initializer expression.
More information about the devel-en
mailing list