Esempio n. 1
0
 public CompilerBase(ILexicalAnalysis <TToken, TNode, TModel> lexical,
                     ISyntaxAnalysis <TToken, TNode, TModel> syntax,
                     ISemanticAnalysis <TToken, TNode, TModel> semantics,
                     ICompilerEnvironment environment,
                     IInstanceAnalisys <TNode> instance,
                     Scope scope)
 {
     _lexical     = lexical;
     _syntax      = syntax;
     _semantics   = semantics;
     _environment = environment;
     _instance    = instance;
     _scope       = new Scope(scope);
 }
Esempio n. 2
0
 public InstanceMatchBase(IInstanceAnalisys <TNode> owner, Func <string, object, Scope, bool> match)
 {
     _owner = owner;
     _match = match;
 }