public IfConstruction(TextUnit father, string fileData, string condition) : base(father, fileData) { Cond = new Condition(condition); ElseUnits = new List <ElseConstruction>(); Stop = true; }
private bool IsForeachDescendant() { TextUnit currentFather = Father; while (currentFather != null) { if (currentFather is ForeachConstruction) { return(true); } currentFather = currentFather.Father; } return(false); }
public UserDefinedMacrosConstruction(TextUnit father, UserDefinedMacross macross, string fileData, string macroData) : base(father, fileData) { arguments = macroData; actualMacross = macross; }
public IfConstruction(TextUnit father, string fileData) : base(father, fileData) { Stop = true; }
protected TextUnit(TextUnit father, string data) { Father = father; TextData = data; }
public void AddUnit(TextUnit tu) { Units.Add(tu); }
protected CompositeConstruction(TextUnit father, string data) : base(father, data) { Units = new List <TextUnit>(); }
public IncludeConstruction(TextUnit father, string fileData, string macroData) : base(father, fileData) { PathToFile = macroData; }
public StaticText(TextUnit father, string data) : base(father, data) { }
public ForeachConstruction(TextUnit father, string fileData, string foreachData) : base(father, fileData) { MacroData = foreachData; }
public SetMacros(TextUnit father, string fileData, string macroData) : base(father, fileData) { NewVariable = macroData; }
public ParseConstruction(TextUnit father, string fileData, string macroData) : base(father, fileData) { FilePath = macroData; }
public BreakConstruction(TextUnit father, string fileData) : base(father, fileData) { }