예제 #1
0
        public static Module Analyze(Modules modules, CompilerSink sink, string name, string text)
        {
            CompilerContext context = new CompilerContext(name, sink);
            Parser parser = Parser.FromString(state, context, text);
            Statement Statement = parser.ParseFileInput();

            Analyzer analyzer = new Analyzer();
            return analyzer.DoAnalyze(modules, name, Statement);
        }
예제 #2
0
 public TryAnalyzer(Analyzer analyzer)
     : base(analyzer)
 {
 }
예제 #3
0
 public ListCompForAnalyzer(Analyzer analyzer)
     : base(analyzer)
 {
 }
예제 #4
0
 public ForAnalyzer(Analyzer analyzer)
     : base(analyzer)
 {
 }
예제 #5
0
 public DelAnalyzer(Analyzer analyzer)
     : base(analyzer)
 {
 }
예제 #6
0
 protected DefineAnalyzer(Analyzer analyzer)
 {
     this.analyzer = analyzer;
 }
예제 #7
0
 public AssignmentAnalyzer(Analyzer analyzer)
     : base(analyzer)
 {
 }
예제 #8
0
 public ArgumentAnalyzer(Analyzer analyzer)
     : base(analyzer)
 {
 }