Set of angular attribute directives supported out of the box. You can give this list in ProjectSettings.attributeDirectives, or you can add your own or provide your own list entirely.
Default set of ControllerViewConnector which can recognize connections between angular controllers and views from the typescript source. You can give this list in ProjectSettings.ctrlViewConnectors, or you can add your own or provide your own list entirely.
Default set of controller view fragment extractors (currently empty)
Default set of ModelViewConnector which can recognize connections between angular models (contained in controller or directives) and views from the typescript source. You can give this list in ProjectSettings.modelViewConnectors, or you can add your own or provide your own list entirely.
Set of angular filters supported out of the box. You can give this list in ProjectSettings.ngFilters, or you can add your own or provide your own list entirely.
Set of angular tag directives supported out of the box. You can give this list in ProjectSettings.tagDirectives, or you can add your own or provide your own list entirely.
Convert an angular filter expression to typescript code. For instance, "data.items | orderBy: 'name'" will become: "f___orderBy($scope.data.items, 'name');". Calls ngFilterExpressionToTypeScriptStandalone under the hood.
The angular filter expression
Object which contains functions to assist with typescript code generation.
A typescript expression for type-checking the angular filters, or the empty string in case of parse error.
Convert a parsed angular filter expression to typescript code.
For instance, "data.items | orderBy: 'name'" will become:
"f___orderBy($scope.data.items, 'name')".
Unlike ngFilterExpressionToTypeScriptStandalone, this version will
generate typescript code to be reused by further code, not to be generated
standalone. For instance:
ng-options="item.subItem as item.label for item in data.groups | orderBy:'labelSort'"
In that case we can generate a typescript embeddable expression for:
data.groups | orderBy:'labelSort'
and then include it in the rest of the
outer expression.
The parsed angular filter expression
Code generation helpers
A typescript expression for type-checking the angular filters, or the empty string in case of parse error.
Convert a parsed angular filter expression to typescript code. For instance, "data.items | orderBy: 'name'" will become: "f___orderBy($scope.data.items, 'name');".
The parsed angular filter expression
Object which contains functions to assist with typescript code generation.
A typescript expression for type-checking the angular filters, or the empty string in case of parse error.
Parsimmon parser for angular filter expressions. You can then use ngFilterExpressionToTypeScriptEmbedded and ngFilterExpressionToTypeScriptStandalone to operate on the data.
a Parsimmon Parser of NgFilterExpression
Will go through the views and controllers in the project folder and generate viewtest typescript files to ascertain type-safety of the views. NOTE: The function returns a promise but is not fully async: a good part of its runtime is spend running synchronous functions.
Generated using TypeDoc
Scope info used by ng-typeview. Directive authors can consider it an opaque type (type synonym on purpose so typedoc doesn't document it).