Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
Formatting
Rules
Class Rules
Index
Index signatures
Constructor methods
constructor
Properties
ControlOpenBraceLeftTokenRange
FunctionOpenBraceLeftTokenRange
HighPriorityCommonRules
IgnoreAfterLineComment
IgnoreBeforeComment
LowPriorityCommonRules
NewLineAfterOpenBraceInBlockContext
NewLineBeforeCloseBraceInBlockContext
NewLineBeforeOpenBraceInControl
NewLineBeforeOpenBraceInFunction
NewLineBeforeOpenBraceInTypeScriptDeclWithBlock
NoSpaceAfterAnonymousFunctionKeyword
NoSpaceAfterBinaryOperator
NoSpaceAfterCloseAngularBracket
NoSpaceAfterCloseBrace
NoSpaceAfterCloseBracket
NoSpaceAfterComma
NoSpaceAfterConstructor
NoSpaceAfterDot
NoSpaceAfterEllipsis
NoSpaceAfterKeywordInControl
NoSpaceAfterModuleImport
NoSpaceAfterOpenAngularBracket
NoSpaceAfterOpenBracket
NoSpaceAfterOpenParen
NoSpaceAfterOptionalParameters
NoSpaceAfterSemicolonInFor
NoSpaceAfterUnaryPredecrementOperator
NoSpaceAfterUnaryPrefixOperator
NoSpaceAfterUnaryPreincrementOperator
NoSpaceBeforeBinaryOperator
NoSpaceBeforeCloseAngularBracket
NoSpaceBeforeCloseBracket
NoSpaceBeforeCloseParen
NoSpaceBeforeColon
NoSpaceBeforeComma
NoSpaceBeforeDot
NoSpaceBeforeOpenAngularBracket
NoSpaceBeforeOpenBracket
NoSpaceBeforeOpenParenInFuncCall
NoSpaceBeforeOpenParenInFuncDecl
NoSpaceBeforeQMark
NoSpaceBeforeSemicolon
NoSpaceBeforeUnaryPostdecrementOperator
NoSpaceBeforeUnaryPostincrementOperator
NoSpaceBetweenCloseParenAndAngularBracket
NoSpaceBetweenEmptyBraceBrackets
NoSpaceBetweenEmptyInterfaceBraceBrackets
NoSpaceBetweenParens
NoSpaceBetweenReturnAndSemicolon
SpaceAfterAddWhenFollowedByPreincrement
SpaceAfterAddWhenFollowedByUnaryPlus
SpaceAfterAnonymousFunctionKeyword
SpaceAfterArrow
SpaceAfterBinaryKeywordOperator
SpaceAfterBinaryOperator
SpaceAfterCertainKeywords
SpaceAfterCertainTypeScriptKeywords
SpaceAfterCloseBrace
SpaceAfterColon
SpaceAfterComma
SpaceAfterFunctionInFuncDecl
SpaceAfterGetSetInMember
SpaceAfterKeywordInControl
SpaceAfterModuleName
SpaceAfterOpenBrace
SpaceAfterOpenParen
SpaceAfterPostdecrementWhenFollowedBySubtract
SpaceAfterPostincrementWhenFollowedByAdd
SpaceAfterQMark
SpaceAfterSemicolon
SpaceAfterSemicolonInFor
SpaceAfterSubtractWhenFollowedByPredecrement
SpaceAfterSubtractWhenFollowedByUnaryMinus
SpaceAfterTryFinally
SpaceAfterVoidOperator
SpaceBeforeBinaryKeywordOperator
SpaceBeforeBinaryOperator
SpaceBeforeCertainTypeScriptKeywords
SpaceBeforeCloseBrace
SpaceBeforeCloseParen
SpaceBeforeOpenBraceInControl
SpaceBeforeOpenBraceInFunction
SpaceBeforeOpenBraceInTypeScriptDeclWithBlock
SpaceBetweenCloseBraceAndElse
SpaceBetweenCloseBraceAndWhile
SpaceBetweenStatements
TypeScriptOpenBraceLeftTokenRange
Methods
IsAfterCodeBlockContext
IsBeforeBlockContext
IsBeforeMultilineBlockContext
IsBinaryOpContext
IsBlockContext
IsControlDeclContext
IsForContext
IsFunctionCallContext
IsFunctionCallOrNewContext
IsFunctionDeclContext
IsModuleDeclContext
IsMultilineBlockContext
IsNewContext
IsNotBinaryOpContext
IsNotForContext
IsNotFormatOnEnter
IsObjectContext
IsObjectTypeContext
IsSameLineTokenContext
IsSameLineTokenOrBeforeMultilineBlockContext
IsSingleLineBlockContext
IsTypeArgumentOrParameter
IsTypeArgumentOrParameterContext
IsTypeScriptDeclWithBlockContext
IsVoidOpContext
NodeIsBlockContext
NodeIsTypeScriptDeclWithBlockContext
getRuleName
Index signatures
(
name
:
string
)
:
any
Parameters
name:
string
Returns
any
Constructor methods
constructor
(
)
:
Rules
Returns
Rules
Properties
public
ControlOpenBraceLeftTokenRange
:
TokenRange
public
FunctionOpenBraceLeftTokenRange
:
TokenRange
public
HighPriorityCommonRules
:
Rule
[]
public
IgnoreAfterLineComment
:
Rule
public
IgnoreBeforeComment
:
Rule
public
LowPriorityCommonRules
:
Rule
[]
public
NewLineAfterOpenBraceInBlockContext
:
Rule
public
NewLineBeforeCloseBraceInBlockContext
:
Rule
public
NewLineBeforeOpenBraceInControl
:
Rule
public
NewLineBeforeOpenBraceInFunction
:
Rule
public
NewLineBeforeOpenBraceInTypeScriptDeclWithBlock
:
Rule
public
NoSpaceAfterAnonymousFunctionKeyword
:
Rule
public
NoSpaceAfterBinaryOperator
:
Rule
public
NoSpaceAfterCloseAngularBracket
:
Rule
public
NoSpaceAfterCloseBrace
:
Rule
public
NoSpaceAfterCloseBracket
:
Rule
public
NoSpaceAfterComma
:
Rule
public
NoSpaceAfterConstructor
:
Rule
public
NoSpaceAfterDot
:
Rule
public
NoSpaceAfterEllipsis
:
Rule
public
NoSpaceAfterKeywordInControl
:
Rule
public
NoSpaceAfterModuleImport
:
Rule
public
NoSpaceAfterOpenAngularBracket
:
Rule
public
NoSpaceAfterOpenBracket
:
Rule
public
NoSpaceAfterOpenParen
:
Rule
public
NoSpaceAfterOptionalParameters
:
Rule
public
NoSpaceAfterSemicolonInFor
:
Rule
public
NoSpaceAfterUnaryPredecrementOperator
:
Rule
public
NoSpaceAfterUnaryPrefixOperator
:
Rule
public
NoSpaceAfterUnaryPreincrementOperator
:
Rule
public
NoSpaceBeforeBinaryOperator
:
Rule
public
NoSpaceBeforeCloseAngularBracket
:
Rule
public
NoSpaceBeforeCloseBracket
:
Rule
public
NoSpaceBeforeCloseParen
:
Rule
public
NoSpaceBeforeColon
:
Rule
public
NoSpaceBeforeComma
:
Rule
public
NoSpaceBeforeDot
:
Rule
public
NoSpaceBeforeOpenAngularBracket
:
Rule
public
NoSpaceBeforeOpenBracket
:
Rule
public
NoSpaceBeforeOpenParenInFuncCall
:
Rule
public
NoSpaceBeforeOpenParenInFuncDecl
:
Rule
public
NoSpaceBeforeQMark
:
Rule
public
NoSpaceBeforeSemicolon
:
Rule
public
NoSpaceBeforeUnaryPostdecrementOperator
:
Rule
public
NoSpaceBeforeUnaryPostincrementOperator
:
Rule
public
NoSpaceBetweenCloseParenAndAngularBracket
:
Rule
public
NoSpaceBetweenEmptyBraceBrackets
:
Rule
public
NoSpaceBetweenEmptyInterfaceBraceBrackets
:
Rule
public
NoSpaceBetweenParens
:
Rule
public
NoSpaceBetweenReturnAndSemicolon
:
Rule
public
SpaceAfterAddWhenFollowedByPreincrement
:
Rule
public
SpaceAfterAddWhenFollowedByUnaryPlus
:
Rule
public
SpaceAfterAnonymousFunctionKeyword
:
Rule
public
SpaceAfterArrow
:
Rule
public
SpaceAfterBinaryKeywordOperator
:
Rule
public
SpaceAfterBinaryOperator
:
Rule
public
SpaceAfterCertainKeywords
:
Rule
public
SpaceAfterCertainTypeScriptKeywords
:
Rule
public
SpaceAfterCloseBrace
:
Rule
public
SpaceAfterColon
:
Rule
public
SpaceAfterComma
:
Rule
public
SpaceAfterFunctionInFuncDecl
:
Rule
public
SpaceAfterGetSetInMember
:
Rule
public
SpaceAfterKeywordInControl
:
Rule
public
SpaceAfterModuleName
:
Rule
public
SpaceAfterOpenBrace
:
Rule
public
SpaceAfterOpenParen
:
Rule
public
SpaceAfterPostdecrementWhenFollowedBySubtract
:
Rule
public
SpaceAfterPostincrementWhenFollowedByAdd
:
Rule
public
SpaceAfterQMark
:
Rule
public
SpaceAfterSemicolon
:
Rule
public
SpaceAfterSemicolonInFor
:
Rule
public
SpaceAfterSubtractWhenFollowedByPredecrement
:
Rule
public
SpaceAfterSubtractWhenFollowedByUnaryMinus
:
Rule
public
SpaceAfterTryFinally
:
Rule
public
SpaceAfterVoidOperator
:
Rule
public
SpaceBeforeBinaryKeywordOperator
:
Rule
public
SpaceBeforeBinaryOperator
:
Rule
public
SpaceBeforeCertainTypeScriptKeywords
:
Rule
public
SpaceBeforeCloseBrace
:
Rule
public
SpaceBeforeCloseParen
:
Rule
public
SpaceBeforeOpenBraceInControl
:
Rule
public
SpaceBeforeOpenBraceInFunction
:
Rule
public
SpaceBeforeOpenBraceInTypeScriptDeclWithBlock
:
Rule
public
SpaceBetweenCloseBraceAndElse
:
Rule
public
SpaceBetweenCloseBraceAndWhile
:
Rule
public
SpaceBetweenStatements
:
Rule
public
TypeScriptOpenBraceLeftTokenRange
:
TokenRange
Methods
public
static
IsAfterCodeBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsBeforeBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsBeforeMultilineBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsBinaryOpContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsControlDeclContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsForContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsFunctionCallContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsFunctionCallOrNewContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsFunctionDeclContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsModuleDeclContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsMultilineBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsNewContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsNotBinaryOpContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsNotForContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsNotFormatOnEnter
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsObjectContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsObjectTypeContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsSameLineTokenContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsSameLineTokenOrBeforeMultilineBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsSingleLineBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsTypeArgumentOrParameter
(
tokenKind
:
SyntaxKind
, parentKind
:
SyntaxKind
)
:
boolean
Parameters
tokenKind:
SyntaxKind
parentKind:
SyntaxKind
Returns
boolean
public
static
IsTypeArgumentOrParameterContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsTypeScriptDeclWithBlockContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
IsVoidOpContext
(
context
:
FormattingContext
)
:
boolean
Parameters
context:
FormattingContext
Returns
boolean
public
static
NodeIsBlockContext
(
node
:
IndentationNodeContext
)
:
boolean
Parameters
node:
IndentationNodeContext
Returns
boolean
public
static
NodeIsTypeScriptDeclWithBlockContext
(
node
:
IndentationNodeContext
)
:
boolean
Parameters
node:
IndentationNodeContext
Returns
boolean
public
getRuleName
(
rule
:
Rule
)
:
any
Parameters
rule:
Rule
Returns
any
Globals
TypeScript
TypeScript.ASTHelpers
TypeScript.BitMatrix
TypeScript.BitVector
TypeScript.Collections
TypeScript.CompilerDiagnostics
TypeScript.DeclarationCreator
TypeScript.Indentation
TypeScript.IntegerUtilities
TypeScript.LineMap1
TypeScript.Parser
TypeScript.PullHelpers
TypeScript.PullInstantiationHelpers
TypeScript.ScriptSnapshot
TypeScript.Services
TypeScript.Services.Breakpoints
TypeScript.Services.Formatting
TypeScript.Services.Formatting.Shared
TypeScript.SimpleText
TypeScript.Syntax
TypeScript.SyntaxFacts
TypeScript.TextFactory
TypeScript.TextUtilities
typescript-services
FormattingRequestKind
RuleAction
RuleFlags
RulesPosition
ITextSnapshot
ITextSnapshotLine
Formatter
FormattingContext
FormattingManager
IndentationNodeContext
IndentationNodeContextPool
IndentationTrackingWalker
MultipleTokenIndenter
Rule
RuleDescriptor
RuleOperation
RuleOperationContext
Rules
constructor
ControlOpenBraceLeftTokenRange
FunctionOpenBraceLeftTokenRange
HighPriorityCommonRules
IgnoreAfterLineComment
IgnoreBeforeComment
LowPriorityCommonRules
NewLineAfterOpenBraceInBlockContext
NewLineBeforeCloseBraceInBlockContext
NewLineBeforeOpenBraceInControl
NewLineBeforeOpenBraceInFunction
NewLineBeforeOpenBraceInTypeScriptDeclWithBlock
NoSpaceAfterAnonymousFunctionKeyword
NoSpaceAfterBinaryOperator
NoSpaceAfterCloseAngularBracket
NoSpaceAfterCloseBrace
NoSpaceAfterCloseBracket
NoSpaceAfterComma
NoSpaceAfterConstructor
NoSpaceAfterDot
NoSpaceAfterEllipsis
NoSpaceAfterKeywordInControl
NoSpaceAfterModuleImport
NoSpaceAfterOpenAngularBracket
NoSpaceAfterOpenBracket
NoSpaceAfterOpenParen
NoSpaceAfterOptionalParameters
NoSpaceAfterSemicolonInFor
NoSpaceAfterUnaryPredecrementOperator
NoSpaceAfterUnaryPrefixOperator
NoSpaceAfterUnaryPreincrementOperator
NoSpaceBeforeBinaryOperator
NoSpaceBeforeCloseAngularBracket
NoSpaceBeforeCloseBracket
NoSpaceBeforeCloseParen
NoSpaceBeforeColon
NoSpaceBeforeComma
NoSpaceBeforeDot
NoSpaceBeforeOpenAngularBracket
NoSpaceBeforeOpenBracket
NoSpaceBeforeOpenParenInFuncCall
NoSpaceBeforeOpenParenInFuncDecl
NoSpaceBeforeQMark
NoSpaceBeforeSemicolon
NoSpaceBeforeUnaryPostdecrementOperator
NoSpaceBeforeUnaryPostincrementOperator
NoSpaceBetweenCloseParenAndAngularBracket
NoSpaceBetweenEmptyBraceBrackets
NoSpaceBetweenEmptyInterfaceBraceBrackets
NoSpaceBetweenParens
NoSpaceBetweenReturnAndSemicolon
SpaceAfterAddWhenFollowedByPreincrement
SpaceAfterAddWhenFollowedByUnaryPlus
SpaceAfterAnonymousFunctionKeyword
SpaceAfterArrow
SpaceAfterBinaryKeywordOperator
SpaceAfterBinaryOperator
SpaceAfterCertainKeywords
SpaceAfterCertainTypeScriptKeywords
SpaceAfterCloseBrace
SpaceAfterColon
SpaceAfterComma
SpaceAfterFunctionInFuncDecl
SpaceAfterGetSetInMember
SpaceAfterKeywordInControl
SpaceAfterModuleName
SpaceAfterOpenBrace
SpaceAfterOpenParen
SpaceAfterPostdecrementWhenFollowedBySubtract
SpaceAfterPostincrementWhenFollowedByAdd
SpaceAfterQMark
SpaceAfterSemicolon
SpaceAfterSemicolonInFor
SpaceAfterSubtractWhenFollowedByPredecrement
SpaceAfterSubtractWhenFollowedByUnaryMinus
SpaceAfterTryFinally
SpaceAfterVoidOperator
SpaceBeforeBinaryKeywordOperator
SpaceBeforeBinaryOperator
SpaceBeforeCertainTypeScriptKeywords
SpaceBeforeCloseBrace
SpaceBeforeCloseParen
SpaceBeforeOpenBraceInControl
SpaceBeforeOpenBraceInFunction
SpaceBeforeOpenBraceInTypeScriptDeclWithBlock
SpaceBetweenCloseBraceAndElse
SpaceBetweenCloseBraceAndWhile
SpaceBetweenStatements
TypeScriptOpenBraceLeftTokenRange
IsAfterCodeBlockContext
IsBeforeBlockContext
IsBeforeMultilineBlockContext
IsBinaryOpContext
IsBlockContext
IsControlDeclContext
IsForContext
IsFunctionCallContext
IsFunctionCallOrNewContext
IsFunctionDeclContext
IsModuleDeclContext
IsMultilineBlockContext
IsNewContext
IsNotBinaryOpContext
IsNotForContext
IsNotFormatOnEnter
IsObjectContext
IsObjectTypeContext
IsSameLineTokenContext
IsSameLineTokenOrBeforeMultilineBlockContext
IsSingleLineBlockContext
IsTypeArgumentOrParameter
IsTypeArgumentOrParameterContext
IsTypeScriptDeclWithBlockContext
IsVoidOpContext
NodeIsBlockContext
NodeIsTypeScriptDeclWithBlockContext
getRuleName
RulesBucket
RulesBucketConstructionState
RulesMap
RulesProvider
SingleTokenIndenter
SnapshotPoint
TextEditInfo
TextSnapshot
TextSnapshotLine
TokenSpan