public void setPredicats(SourceCodeProccessor predicats) { this.predicats = predicats; var names = predicats.getPredicatsName(); string singleStringName = ""; foreach (var s in names) { singleStringName += s + "\n"; } this.PredicatSignature.Buffer.Text = singleStringName; }
private bool compile() { code = new SourceCodeProccessor(this.sourceCodeField.Buffer.Text); List <string> errors = new List <string>(); if (!code.compile(ref errors)) { string errorStr = ""; foreach (var i in errors) { errorStr += (i + "\n"); } this.errorList.Buffer.Text = errorStr; return(false); } return(true); }
public PredicatProccessor(string expression, SourceCodeProccessor predicatSource) { this.expression = expression; this.predicatSource = predicatSource; pareseExpression(); }