    import {PipeSymbol} from 'ngast/dist-docs/lib/pipe-symbol.js'

public class | source

# PipeSymbol

#### Extends:

Symbol → PipeSymbol

A wrapper around the pipe symbol.

## Constructor Summary

Public Constructor
public | constructor(program: Program, symbol: StaticSymbol, resolver: PipeResolver, projectSymbols: ContextSymbols) Creates an instance of PipeSymbol. |

## Method Summary

Public Methods
public | getMetadata(): Pipe Returns the pipe metadata. |
public | getModule(): CompileNgModuleMetadata | undefined Returns the module where the wrapped pipe was defined. |

## Inherited Summary

From class Symbol
public get | symbol: * The wrapped `StaticSymbol` from `@angular/compiler`. |
public | getNode(): ts.ClassDeclaration | undefined Gets the ts.node which corresponds to the controller of the DirectiveSymbol or the implementation of the pipe. |

## Public Constructors

### public constructor(program: Program, symbol: StaticSymbol, resolver: PipeResolver, projectSymbols: ContextSymbols) source

Creates an instance of PipeSymbol.

#### Override:

Symbol#constructor

#### Params:

Name | Type | Attribute | Description
program | Program |  |
symbol | StaticSymbol |  |
resolver | PipeResolver |  |
projectSymbols | ContextSymbols |  |

## Public Methods

### public getMetadata(): Pipe source

Returns the pipe metadata.

#### Return:

Pipe

### public getModule(): CompileNgModuleMetadata | undefined source

Returns the module where the wrapped pipe was defined.

#### Return:

CompileNgModuleMetadata | undefined