SpaceManiac / SpacemanDMM

A BYOND language smartness provider, map renderer, and more.
https://marketplace.visualstudio.com/items?itemName=platymuus.dm-langclient
GNU General Public License v3.0
83 stars 83 forks source link

Implements the scope operator #367

Closed LemonInTheDark closed 1 year ago

LemonInTheDark commented 1 year ago

Adds support for :: to the parser, in all its forms (global proc/var, off type) Also implements behavior for it. We'll properly read the type of what we attach to, and double check that everything matches. Works for the proc refs too.

I've added unit tests for all this to double check my work. I DIDN'T mirror the static var detection byond does. problem for another day.

Please let me know if the way I'm going about this is silly/mislead, I'll declutter as directed

LemonInTheDark commented 1 year ago

Fails to error on non existing vars, workin on it

LemonInTheDark commented 1 year ago

I tell a lie, it works fine