public override void visit(documentation_comment_tag_param _documentation_comment_tag_param) { }
public void read_documentation_comment_tag_param(documentation_comment_tag_param _documentation_comment_tag_param) { read_syntax_tree_node(_documentation_comment_tag_param); if (br.ReadByte() == 0) { _documentation_comment_tag_param.name = null; } else { _documentation_comment_tag_param.name = br.ReadString(); } if (br.ReadByte() == 0) { _documentation_comment_tag_param.value = null; } else { _documentation_comment_tag_param.value = br.ReadString(); } }
public override void visit(documentation_comment_tag_param node) { throw new NotImplementedException(); }
public void ReplaceInList(documentation_comment_tag_param el, IEnumerable<documentation_comment_tag_param> newels) { var ind = FindIndexInList(el); parameters.RemoveAt(ind); parameters.InsertRange(ind, newels); }
public void visit(documentation_comment_tag_param _documentation_comment_tag_param) { read_documentation_comment_tag_param(_documentation_comment_tag_param); }
public void visit(documentation_comment_tag_param _documentation_comment_tag_param) { throw new NotImplementedException(); }
public void ReplaceInList(documentation_comment_tag_param el, documentation_comment_tag_param newel) { parameters[FindIndexInList(el)] = newel; }
public void InsertBefore(documentation_comment_tag_param el, documentation_comment_tag_param newel) { parameters.Insert(FindIndex(el), newel); }
public void InsertBefore(documentation_comment_tag_param el, IEnumerable<documentation_comment_tag_param> newels) { parameters.InsertRange(FindIndex(el), newels); }
private int FindIndexInList(documentation_comment_tag_param el) { var ind = parameters.FindIndex(x => x == el); if (ind == -1) throw new Exception(string.Format("У списка {0} не найден элемент {1} среди дочерних\n", this, el)); return ind; }
public void InsertAfter(documentation_comment_tag_param el, documentation_comment_tag_param newel) { parameters.Insert(FindIndex(el) + 1, newel); }
public void AddFirst(documentation_comment_tag_param el) { parameters.Insert(0, el); }
// Методы списка public documentation_comment_tag Add(documentation_comment_tag_param elem, SourceContext sc = null) { parameters.Add(elem); if (sc != null) source_context = sc; return this; }
// Конструкторы списка public documentation_comment_tag(documentation_comment_tag_param elem, SourceContext sc = null) { Add(elem, sc); }
public void visit(documentation_comment_tag_param _documentation_comment_tag_param) { bw.Write((Int16)175); write_documentation_comment_tag_param(_documentation_comment_tag_param); }
public bool Remove(documentation_comment_tag_param el) { return parameters.Remove(el); }
public void write_documentation_comment_tag_param(documentation_comment_tag_param _documentation_comment_tag_param) { write_syntax_tree_node(_documentation_comment_tag_param); if (_documentation_comment_tag_param.name == null) { bw.Write((byte)0); } else { bw.Write((byte)1); bw.Write(_documentation_comment_tag_param.name); } if (_documentation_comment_tag_param.value == null) { bw.Write((byte)0); } else { bw.Write((byte)1); bw.Write(_documentation_comment_tag_param.value); } }
public override void visit(documentation_comment_tag_param node) { text = string.Format("name={0} value={1}", node.name, node.value); }