Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
Formatting
RulesProvider
Class RulesProvider
Index
Constructor methods
constructor
Properties
activeRules
globalRules
logger
options
rulesMap
Methods
createActiveRules
ensureUpToDate
getRuleByName
getRuleName
getRulesMap
Constructor methods
constructor
(
logger
:
ILogger
)
:
RulesProvider
Parameters
logger:
ILogger
Returns
RulesProvider
Properties
private
activeRules
:
any
private
globalRules
:
any
private
logger
:
any
private
options
:
any
private
rulesMap
:
any
Methods
private
createActiveRules
(
options
:
any
)
:
any
Parameters
options:
any
Returns
any
public
ensureUpToDate
(
options
:
FormatCodeOptions
)
Parameters
options:
FormatCodeOptions
public
getRuleByName
(
name
:
string
)
:
Rule
Parameters
name:
string
Returns
Rule
public
getRuleName
(
rule
:
Rule
)
:
string
Parameters
rule:
Rule
Returns
string
public
getRulesMap
(
)
:
RulesMap
Returns
RulesMap
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
RulesBucket
RulesBucketConstructionState
RulesMap
RulesProvider
constructor
activeRules
globalRules
logger
options
rulesMap
createActiveRules
ensureUpToDate
getRuleByName
getRuleName
getRulesMap
SingleTokenIndenter
SnapshotPoint
TextEditInfo
TextSnapshot
TextSnapshotLine
TokenSpan