Beispiel #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);
 }
Beispiel #2
0
 public BaseSyntacticalMatch(ISyntaxAnalysis <TToken, TNode, TModel> syntax)
 {
     _syntax = syntax;
 }
Beispiel #3
0
 public RoslynSyntacticalMatch(ISyntaxAnalysis <SyntaxToken, SyntaxNode, SemanticModel> syntax, string when) :
     base(syntax, when)
 {
 }
Beispiel #4
0
 public BaseSyntacticalMatch(ISyntaxAnalysis <TToken, TNode, TModel> syntax, string when)
 {
     _syntax = syntax;
     _when   = when;
 }