Exemplo n.º 1
0
 public StdInterpreterPackage(ConfigurableEWRIptrFactory factory, ImmediateGiver <Behaver, GrammarBlock> behaverGiver)
 {
     _fAnalyser        = factory.NewConfigurableFAnalyser();
     _gAnalyser        = factory.NewConfigurableGAnalyser();
     _bAnalyser        = factory.NewConfigurableBAnalyser(behaverGiver);
     _configurableIptr = factory.NewNativeConfigurableERWInterpreter();
     _configurableIptr.SetFAnalyser(_fAnalyser);
     _configurableIptr.SetGAnalyser(_gAnalyser);
     _configurableIptr.SetBAnalyser(_bAnalyser);
 }
Exemplo n.º 2
0
 public void SetGAnalyser(ConfigurableGAnalyserBridge gAnalyser)
 {
     currentGAnlys = gAnalyser;
     SetGAnalyser(implPtr, currentGAnlys.implPtr);
 }