Esempio n. 1
0
 public void Setup()
 {
     _analyser = new SyntacticAnalyzer();
 }
 public void SetUp()
 {
     LexicalAnalyzer = new LexicalAnalyzer(AnalyzerFacade.LexicalRules);
     SyntacticAnalyzer = new SyntacticAnalyzer(AnalyzerFacade.SyntacticRules);
 }
Esempio n. 3
0
 public Lexer(ISourceCodeTokenizer tokenizer, ISyntacticAnalyzer analyzer)
 {
     _tokenizer = tokenizer;
     _analyzer = analyzer;
 }
 public void SetUp()
 {
     LexicalAnalyzer = new LexicalAnalyzer(StandardProcessorBuilder.LexicalRules);
     SyntacticAnalyzer = new SyntacticAnalyzer(StandardProcessorBuilder.SyntacticRules);
 }