Container

- Removed old methods
This commit is contained in:
Tristan B. Velloza Kildaire 2024-05-10 21:21:35 +02:00
parent 261d8614c7
commit 8386766e73
1 changed files with 0 additions and 30 deletions

View File

@ -75,36 +75,6 @@ public interface Container : MStatementSearchable, MStatementReplaceable
* Returns: a `Statement[]`
*/
public Statement[] getStatements();
/**
* Finds the index whereby the given
* AST node occurs within this container.
*
* If not directly found then the
* nodes contained within, of which
* are `MStatementSearchable`, will
* be queried. Such searchable node
* will have its position returned.
*
* Params:
* statement = the AST node
* Returns: the position or `-1` if
* not found
*/
public size_t indexOf(Statement statement);
/**
* Inserts the given AST node at the
* provided index.
*
* This will reparent the AST node
* to this container.
*
* Params:
* index = the index to insert at
* statement = the AST node to insert
*/
public void insertAt(size_t index, Statement statement);
}