예제 #1
0
 public ScopeParser(ScopeOptions?options = null)
 {
     _options = options ?? new ScopeOptions();
 }
예제 #2
0
 public MangleTreeWalker(ScopeOptions options)
 {
     _options  = options;
     _toMangle = new StructList <SymbolDef>();
 }
 public SetupScopeChainingAndHandleDefinitionsTreeWalker(ScopeOptions options, AstToplevel astToplevel)
 {
     _options      = options;
     _currentScope = astToplevel.ParentScope = null;
     _defun        = null;
 }
 public FindBackReferencesAndEvalTreeWalker(ScopeOptions options, AstToplevel astToplevel)
 {
     _options             = options;
     _astToplevel         = astToplevel;
     _astToplevel.Globals = new Dictionary <string, SymbolDef>();
 }
예제 #5
0
 public MangleTreeWalker(ScopeOptions options, OutputOptions?outputOptions = null)
 {
     _options       = options;
     _outputOptions = outputOptions;
     _toMangle      = new StructList <SymbolDef>();
 }