/**
* The corresponding file name
- *
- * @deprecated
*/
//TODO: rm
+ [Deprecated]
public string? get_filename () {
if (file == null) {
return null;
/**
* Specifies whether this node has at least one child with the given types
*
- * @param type a list of node types
+ * @param types a list of node types
*/
public bool has_children (NodeType[] types) {
foreach (NodeType type in types) {
/**
* Returns a list of all children with the given type.
*
- * @param type a list of node types
+ * @param type a node type
* @param filtered specifies whether nodes which are not browsable should appear in the list
*/
public Gee.List<Node> get_children_by_type (NodeType type, bool filtered = true) {
/**
* Returns a list of all children with the given types.
*
- * @param type a list of node types
+ * @param types a list of node types
* @param filtered specifies whether nodes which are not browsable should appear in the list
*/
public Gee.List<Node> get_children_by_types (NodeType[] types, bool filtered = true) {
/**
* Visits all children of this node with the given types with the specified Visitor.
*
- * @param type a list of node types
+ * @param types a list of node types
* @param visitor the visitor to be called while traversing
* @param filtered specifies whether nodes which are not browsable should appear in the list
*/
/**
* Adds text onto the end of the builder.
*
- * @param literal a string
+ * @param text a string
* @param spaced add a space at the front of the string if necessary
* @return this
*/
/**
* Adds text onto the end of the builder.
*
- * @param literal a string
+ * @param text a string
* @param spaced add a space at the front of the string if necessary
* @return this
*/
/**
* Adds highlighted text onto the end of the builder.
*
- * @param literal a string
+ * @param text a string
* @param spaced add a space at the front of the string if necessary
* @return this
*/
/**
* Adds a Inline onto the end of the builder.
*
- * @param literal a content
+ * @param content a content
* @param spaced add a space at the front of the inline if necessary
* @return this
*/
/**
* Adds a keyword onto the end of the builder.
*
- * @param literal a keyword
+ * @param keyword a keyword
* @param spaced add a space at the front of the keyword if necessary
* @return this
*/
/**
* Returns the accessibility modifier as string
- *
- * @deprecated
*/
//TODO: rm
+ [Deprecated]
protected string get_accessibility_modifier () {
return accessibility.to_string ();
}
/**
* Resolves symbols by C-names
*
- * @param name a C-name
+ * @param _name a C-name
* @return the resolved node or null
*/
public Api.Node? resolve_symbol (Api.Node? element, string _name) {
/**
* Returns canonicalized absolute pathname
*
- * @param basedir the path being checked
+ * @param name the path being checked
* @return a canonicalized absolute pathname
*/
public string realpath (string name) {
}
/**
- * Writes text to a desination like a {@link StringBuilder} or a {@link FileStream}
+ * Writes text to a desination like a {@link GLib.StringBuilder} or a {@link GLib.FileStream}
*/
public delegate void WriteFunc (string text);
/**
* Initializes a new instance of the MarkupWriter
*
- * @param stream a WriteFunc
- * @param xml_delcaration specifies whether this file starts with an xml-declaration
+ * @param write stream a WriteFunc
+ * @param xml_declaration specifies whether this file starts with an xml-declaration
*/
public MarkupWriter (owned WriteFunc write, bool xml_declaration = true) {
this.write = (owned) write;
/**
* Writes an start tag of a markup element to the file
*
- * @param the name of the markup
- * @param a list of name/value pairs
+ * @param name the name of the markup
+ * @param attributes a list of name/value pairs
* @return this
*/
public MarkupWriter start_tag (string name, string[]? attributes=null) {
/**
* Writes a simple tag (<name />) to the file
*
- * @param the name of the markup
- * @param a list of name/value pairs
+ * @param name the name of the markup
+ * @param attributes a list of name/value pairs
* @return this
*/
public MarkupWriter simple_tag (string name, string[]? attributes=null) {
/**
* Writes an end tag of a markup element to the file
*
- * @param the name of the markup
+ * @param name the name of the markup
* @return this
*/
public MarkupWriter end_tag (string name) {