public override bool EnsureBuilt( bool force, PcodeSystem.IEvaluationContext pcodeEnvironment, BuildFailedCallback failedCallback) { if (!force && (_sequencerSpec != null)) { return(true); } _sequencerSpec = null; int ErrorLine; Synthesizer.SequencerConfigSpecRec LocalSequencerSpec; Synthesizer.BuildSeqErrors Error = Synthesizer.BuildSequencerFromText( this.Source, out ErrorLine, out LocalSequencerSpec); if (Error != Synthesizer.BuildSeqErrors.eBuildSeqNoError) { failedCallback(this, new LiteralBuildErrorInfo(Synthesizer.BuildSeqGetErrorMessageText(Error), ErrorLine)); return(false); } _sequencerSpec = LocalSequencerSpec; return(true); }
public override void Unbuild() { _sequencerSpec = null; }