Namespace NDepend.CodeQuery
The namespace NDepend.CodeQuery provides types used to create, compile, run and modelize the result, of CQLinq and CQL code queries and rules.
Classes (21)
- ExtensionMethodsQuery
Exposes base operations concerning code query strings, compile and execute.
- QueryExecutionContext
This class hold the context to execute a code query.
- QueryExecutionResultException
This exception is used in rare situations where the code query result cannot be handled properly.
- RecordBase
The base class for all records classes. A code query result is represented through a sequence of record objects.
- RecordCellValue
Represents a code query result record cell value.
- Record<T0>
The record generic class used for code query results made of sequence of records objects with 1 cell each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
The record generic class used for code query results made of sequence of records objects with 10 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
The record generic class used for code query results made of sequence of records objects with 11 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
The record generic class used for code query results made of sequence of records objects with 12 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
The record generic class used for code query results made of sequence of records objects with 13 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
The record generic class used for code query results made of sequence of records objects with 14 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
The record generic class used for code query results made of sequence of records objects with 15 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
The record generic class used for code query results made of sequence of records objects with 16 cells each.
- Record<T0, T1>
The record generic class used for code query results made of sequence of records objects with 2 cells each.
- Record<T0, T1, T2>
The record generic class used for code query results made of sequence of records objects with 3 cells each.
- Record<T0, T1, T2, T3>
The record generic class used for code query results made of sequence of records objects with 4 cells each.
- Record<T0, T1, T2, T3, T4>
The record generic class used for code query results made of sequence of records objects with 5 cells each.
- Record<T0, T1, T2, T3, T4, T5>
The record generic class used for code query results made of sequence of records objects with 6 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6>
The record generic class used for code query results made of sequence of records objects with 7 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7>
The record generic class used for code query results made of sequence of records objects with 8 cells each.
- Record<T0, T1, T2, T3, T4, T5, T6, T7, T8>
The record generic class used for code query results made of sequence of records objects with 9 cells each.
Interfaces (13)
- ICompletionItem
Represents a completion item returned by the method GenerateCompletionItems(string, int).
- IController
Changes to a hierarchy of code query objects are made through an instance of IController.
- IControllerChild
All query related objects, IQuery, IGroup and IGroupOfGroups, are children of a IController object and implement this interface.
- IGroup
Represents a group of code queries and groups. A IGroup object can be created with the method IController.CreateGroup(string, bool, bool, ICollection<IQuery>, ICollection<IGroup>).
- IGroupOfGroups
Represents a group of groups. IGroup implements IGroupOfGroups since it is both a group of groups and also, a group of queries.
- IQuery
Represents a code query. A IQuery object can be created with the method IController.CreateQuery(bool, string, bool, bool, bool, bool).
- IQueryCompilationError
Represents a query compilation error.
- IQueryCompiled
Represents the result of a query compilation no matter whether it was a successful compilation or not.
- IQueryCompiledError
Represents the result of a query compilation that failed.
- IQueryCompiledSuccess
Represents the result of a query that has been compiled successfully.
- IQueryCompiledUnresolved
Represents the result of a query compilation no matter whether it was a successful compilation or not, unresolved yet to a code base.
- IQueryExecutionResult
Represents a code query execution result. To compile a code query string and then execute it, use a ExtensionMethodsQuery.
- IQueryExecutionSuccessResult
Represents a code query successful execution result. Such an object is obtained from a IQueryExecutionResult with Status equals to true.
Enums (9)
- KindOfCodeQueryExpression
Identifies the kind of code query expression.
- KindOfCodeQuerySyntax
Defines a code query syntax, CQLinq or CQL.
- KindOfCompletionItem
Represents the various completion item kind possible.
- QueryExecutionStatus
Define the IQueryExecutionResult.Status.
- QueryPersistenceKind
Represent how the queries are stored in XML project files and XML rule files.
- QueryRelyOn
Represents various artifacts on which a code query can rely on.
- QueryResultExportDocumentKind
Define the kinds of document a query execution result can be exported to through the extension method
.
- QueryResultExportFlags
Flags to determine a query result export operation properties.
- RecordCellType
Represents the type of the object m_UntypedValue.