Home
last modified time | relevance | path

Searched defs:FormattingContext (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lsp/include/formatting/
Dformatting_context.h51 struct FormattingContext { struct
63 const RangeWithKind &GetCurrentTokenSpan() const in GetCurrentTokenSpan()
67 const RangeWithKind &GetNextTokenSpan() const in GetNextTokenSpan()
72 ir::AstNode *GetContextNode() const in GetContextNode()
76 ir::AstNode *GetCurrentTokenParent() const in GetCurrentTokenParent()
80 ir::AstNode *GetNextTokenParent() const in GetNextTokenParent()
85 FormatCodeSettings GetFormatCodeSettings() in GetFormatCodeSettings()
90 FormattingRequestKind GetformattingRequestKind() in GetformattingRequestKind()
99 bool contextNodeAllOnSameLine_ = false;
100 bool nextNodeAllOnSameLine_ = false;
[all …]
/arkcompiler/ets_frontend/ets2panda/lsp/src/formatting/
Dformatting_context.cpp22 FormattingContext::FormattingContext(FormattingRequestKind requestKind, FormatCodeSettings &formatS… in FormattingContext() function in ark::es2panda::lsp::FormattingContext