Add a 'None' member to SymbolFlags enum.

This commit is contained in:
Cyrus Najmabadi 2015-04-19 16:02:07 -07:00
parent b75fda1052
commit 9043121188
2 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,6 @@ module ts {
function bind(node: Node): void {
node.parent = parent;
switch (node.kind) {
case SyntaxKind.TypeParameter:
declareSymbolForDeclarationAndBindChildren(<Declaration>node, SymbolFlags.TypeParameter, SymbolFlags.TypeParameterExcludes);

View File

@ -1279,6 +1279,7 @@ module ts {
}
export const enum SymbolFlags {
None = 0,
FunctionScopedVariable = 0x00000001, // Variable (var) or parameter
BlockScopedVariable = 0x00000002, // A block-scoped variable (let or const)
Property = 0x00000004, // Property or enum member