private string GetSequentialCode(VHDLCompilerInterface compiler, SequentialStatement st) { SequentialStatementObserver observer = new SequentialStatementObserver(st, logger); observer.Observe(compiler); return(observer.code); }
public void ObserveSequentialStatements(VHDLCompilerInterface compiler, IList <SequentialStatement> statements) { methodName = process.Label; foreach (SequentialStatement statement in statements) { SequentialStatementObserver stObserver = new SequentialStatementObserver(statement, logger); stObserver.Observe(compiler); if (string.IsNullOrEmpty(stObserver.Code) == false) { this.statements.Add(stObserver.Code); } } }