-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
scriptingRelated to the VBScript portRelated to the VBScript port
Description
Still a few items on the list:
- Handle global scope (handled at runtime, uses a
ScopeHandlerproxy) - Handle table item APIs (sorted out at compile time)
- Handle enums (handled at compile time, using
VbsApi) - Handle global API (compile time, also
VbsApi) - Handle stdlib calls (compile time, also
VbsApi) - Handle ActiveX COM implementations (Make ActiveX objects case-insensitive #174)
- Handle local scope
And probably more.
TODO
COM Implementations
I don't think they can be handled at compile time, since they are instances created by the table script we cannot query when compiling (table elements, enums etc work because we have them all at compile time).
So the getObject() method should return a ScopeHandler-like proxy that keeps an index when accessing props and methods and returns the correctly spelled version.
Local Scope
This should be doable at compile time, since all variables are declared in the same scope and don't come from other included files we know nothing about. I think I've tried this already but ascope choked at the AST we have when we do this.
Metadata
Metadata
Assignees
Labels
scriptingRelated to the VBScript portRelated to the VBScript port