Skip to content

Commit

Permalink
Remove collection from temp types linkeddata#355
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Oct 8, 2019
1 parent 7a9c7c3 commit 07dd859
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions types-temp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,48 +18,6 @@ import { NamedNode } from './src';
// TypeScript Version: 3.0
// Acknowledgements: This work has been financed by Logilab SA, FRANCE, logilab.fr

/**
* A collection of other RDF nodes
*/
export interface Collection extends Node {
/**
* The identifier for this collection
*/
id: string;
/**
* The nodes in this collection
*/
elements: Node[];
/**
* Whether this collection is closed
*/
closed: boolean;
/**
* Initializes this collection
* @param initial The initial elements
*/
constructor(initial: ReadonlyArray<ValueType>);
/**
* Appends an element to this collection
* @param element The new element
*/
append(element: Node): number;
/**
* Closes this collection
*/
close(): boolean;
/**
* Removes the first element from the collection (and return it)
*/
shift(): Node;
/**
* Preprends the specified element to the colelction's front
* @param element The element to preprend
*/
unshift(element: Node): number;
static termType: string;
}

/**
* Variables are placeholders used in patterns to be matched.
* In cwm they are symbols which are the formula's list of quantified variables.
Expand Down

0 comments on commit 07dd859

Please sign in to comment.