Click here to Skip to main content
15,891,473 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Quick C# quiz Pin
Gerry Schmitz2-Dec-19 5:31
mveGerry Schmitz2-Dec-19 5:31 
GeneralRe: Quick C# quiz Pin
honey the codewitch2-Dec-19 5:33
mvahoney the codewitch2-Dec-19 5:33 
GeneralRe: Quick C# quiz Pin
zezba90002-Dec-19 8:35
zezba90002-Dec-19 8:35 
GeneralRe: Quick C# quiz Pin
honey the codewitch2-Dec-19 13:16
mvahoney the codewitch2-Dec-19 13:16 
GeneralRe: Quick C# quiz Pin
zezba90002-Dec-19 14:05
zezba90002-Dec-19 14:05 
GeneralRe: Quick C# quiz Pin
honey the codewitch2-Dec-19 14:12
mvahoney the codewitch2-Dec-19 14:12 
GeneralRe: Quick C# quiz Pin
zezba90002-Dec-19 14:42
zezba90002-Dec-19 14:42 
GeneralRe: Quick C# quiz Pin
honey the codewitch2-Dec-19 14:46
mvahoney the codewitch2-Dec-19 14:46 
That's pretty much what I'm doing.

I'm using the codedom as my ast.

Every root member ref (like "foo" in foo.bar) becomes a "variable reference" with "slang:unresolved" as one of it's "user-data" keys so I can find it later.

Every other member ref, like "bar" in the above is considered a field reference by default, also marked with "slang:unresolved"

later on, I revisit the AST after the parse, find each of these nodes, get the scope from where I'm at and use the type information I now have to replace these "slang:unresolved" items with the appropriate references.

It has served me well so far.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Quick C# quiz Pin
Member 140926054-Dec-19 21:33
Member 140926054-Dec-19 21:33 
GeneralRe: Quick C# quiz Pin
honey the codewitch4-Dec-19 21:37
mvahoney the codewitch4-Dec-19 21:37 
GeneralHomo Hackabilis ? Pin
BillWoodruff29-Nov-19 3:37
professionalBillWoodruff29-Nov-19 3:37 
AnswerRe: Homo Hackabilis ? Pin
lopatir29-Nov-19 3:54
lopatir29-Nov-19 3:54 
GeneralRe: Homo Hackabilis ? Pin
Maximilien29-Nov-19 4:00
Maximilien29-Nov-19 4:00 
GeneralRe: Homo Hackabilis ? Pin
CodeWraith29-Nov-19 4:10
CodeWraith29-Nov-19 4:10 
GeneralRe: Homo Hackabilis ? Pin
Maximilien29-Nov-19 4:22
Maximilien29-Nov-19 4:22 
GeneralRe: Homo Hackabilis ? Pin
Eddy Vluggen29-Nov-19 7:19
professionalEddy Vluggen29-Nov-19 7:19 
GeneralRe: Homo Hackabilis ? Pin
BillWoodruff29-Nov-19 19:28
professionalBillWoodruff29-Nov-19 19:28 
GeneralAaahhh, Friday afternoon! Pin
glennPattonWork329-Nov-19 3:31
professionalglennPattonWork329-Nov-19 3:31 
GeneralRe: Aaahhh, Friday afternoon! Pin
lopatir29-Nov-19 3:46
lopatir29-Nov-19 3:46 
GeneralRe: Aaahhh, Friday afternoon! Pin
RickZeeland29-Nov-19 3:58
mveRickZeeland29-Nov-19 3:58 
GeneralRe: Aaahhh, Friday afternoon! Pin
RickZeeland29-Nov-19 4:02
mveRickZeeland29-Nov-19 4:02 
GeneralRe: Aaahhh, Friday afternoon! Pin
stoneyowl229-Nov-19 5:04
stoneyowl229-Nov-19 5:04 
PraiseRe: Aaahhh, Friday afternoon! Pin
RickZeeland29-Nov-19 5:57
mveRickZeeland29-Nov-19 5:57 
GeneralRe: Aaahhh, Friday afternoon! Pin
stoneyowl230-Nov-19 3:36
stoneyowl230-Nov-19 3:36 
GeneralRe: Aaahhh, Friday afternoon! Pin
RickZeeland30-Nov-19 4:10
mveRickZeeland30-Nov-19 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.