How to use the ngast.PipeSymbol function in ngast

To help you get started, we’ve selected a few ngast examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mgechev / ngrev / app / processor.js View on Github external
ModuleState.prototype.nextState = function (nodeId) {
        if (nodeId === this.symbolId) {
            return null;
        }
        var data = this.symbols[nodeId].data;
        if (!data) {
            return null;
        }
        if (data.symbol instanceof ngast.DirectiveSymbol) {
            return new DirectiveState(this.context, data.symbol);
        }
        else if (data.symbol instanceof ngast.ProviderSymbol) {
            return new ProviderState(this.context, data.symbol);
        }
        else if (data.symbol instanceof ngast.PipeSymbol) {
            return new PipeState(this.context, data.symbol);
        }
        return null;
    };
    ModuleState.prototype.getData = function () {

ngast

Parsing tools for Angular. The project is an abstraction over the Angular compiler which provides friendly interface.

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis