Page 1 of 1

Compiler representation of System.Console.writeLine()

PostPosted: Sat Mar 05, 2011 2:05 am
by RIGHT_THEN
Charles,

System.Console.writeLine( "Hello Again") ;

if i write System alone it becomes identifierExpr
and Console is always a type Expression

but what is it combined what class do i need to get hold of in visitation
to get this.

ThankingYou
RIGHT_THEN

Re: Compiler representation of System.Console.writeLine()

PostPosted: Sat Mar 05, 2011 6:13 am
by hopscc
DotExpr
de.left ('System') starts as an IdentifierExpr and gets recognised and typed to a Namespace
de.right ('Console') starts as MemberExpr ( in System) and typed to a Class/Type (Console)

Re: Compiler representation of System.Console.writeLine()

PostPosted: Sat Mar 05, 2011 8:15 am
by RIGHT_THEN
Thanks Mr. hopscc

when i posted this your posts were 360
and mine were 36.
0 taking the credit i would say. :)


Thanking_You
RIGHT_THEN