public void AddComponent(SolidityComponent component) { if (component is SolidityStatement) { components.Insert(0, component); } else { components.Add(component); } }
public void AddToBody(SolidityComponent component) { body.Add(component); }