#include <qqmldomcodeformatter_p.h>
|
| enum class | StateType : quint8 {
Invalid = 0
, TopmostIntro
, TopQml
, TopJs
,
ObjectdefinitionOrJs
, MultilineCommentStart
, MultilineCommentCont
, ImportStart
,
ImportMaybeDotOrVersionOrAs
, ImportDot
, ImportMaybeAs
, ImportAs
,
PropertyStart
, PropertyModifiers
, RequiredProperty
, PropertyListOpen
,
PropertyName
, PropertyMaybeInitializer
, ComponentStart
, ComponentName
,
TypeAnnotation
, TypeParameter
, EnumStart
, SignalStart
,
SignalMaybeArglist
, SignalArglistOpen
, FunctionStart
, FunctionArglistOpen
,
FunctionArglistClosed
, BindingOrObjectdefinition
, BindingAssignment
, ObjectdefinitionOpen
,
Expression
, ExpressionContinuation
, ExpressionMaybeContinuation
, ExpressionOrObjectdefinition
,
ExpressionOrLabel
, ParenOpen
, BracketOpen
, ObjectliteralOpen
,
ObjectliteralAssignment
, BracketElementStart
, BracketElementMaybeObjectdefinition
, TernaryOp
,
TernaryOpAfterColon
, JsblockOpen
, EmptyStatement
, BreakcontinueStatement
,
IfStatement
, MaybeElse
, ElseClause
, ConditionOpen
,
Substatement
, SubstatementOpen
, LabelledStatement
, ReturnStatement
,
ThrowStatement
, StatementWithCondition
, StatementWithConditionParenOpen
, TryStatement
,
CatchStatement
, FinallyStatement
, MaybeCatchOrFinally
, DoStatement
,
DoStatementWhileParenOpen
, SwitchStatement
, CaseStart
, CaseCont
} |
Definition at line 35 of file qqmldomcodeformatter_p.h.
◆ StateType
| Enumerator |
|---|
| Invalid | |
| TopmostIntro | |
| TopQml | |
| TopJs | |
| ObjectdefinitionOrJs | |
| MultilineCommentStart | |
| MultilineCommentCont | |
| ImportStart | |
| ImportMaybeDotOrVersionOrAs | |
| ImportDot | |
| ImportMaybeAs | |
| ImportAs | |
| PropertyStart | |
| PropertyModifiers | |
| RequiredProperty | |
| PropertyListOpen | |
| PropertyName | |
| PropertyMaybeInitializer | |
| ComponentStart | |
| ComponentName | |
| TypeAnnotation | |
| TypeParameter | |
| EnumStart | |
| SignalStart | |
| SignalMaybeArglist | |
| SignalArglistOpen | |
| FunctionStart | |
| FunctionArglistOpen | |
| FunctionArglistClosed | |
| BindingOrObjectdefinition | |
| BindingAssignment | |
| ObjectdefinitionOpen | |
| Expression | |
| ExpressionContinuation | |
| ExpressionMaybeContinuation | |
| ExpressionOrObjectdefinition | |
| ExpressionOrLabel | |
| ParenOpen | |
| BracketOpen | |
| ObjectliteralOpen | |
| ObjectliteralAssignment | |
| BracketElementStart | |
| BracketElementMaybeObjectdefinition | |
| TernaryOp | |
| TernaryOpAfterColon | |
| JsblockOpen | |
| EmptyStatement | |
| BreakcontinueStatement | |
| IfStatement | |
| MaybeElse | |
| ElseClause | |
| ConditionOpen | |
| Substatement | |
| SubstatementOpen | |
| LabelledStatement | |
| ReturnStatement | |
| ThrowStatement | |
| StatementWithCondition | |
| StatementWithConditionParenOpen | |
| TryStatement | |
| CatchStatement | |
| FinallyStatement | |
| MaybeCatchOrFinally | |
| DoStatement | |
| DoStatementWhileParenOpen | |
| SwitchStatement | |
| CaseStart | |
| CaseCont | |
Definition at line 39 of file qqmldomcodeformatter_p.h.
◆ initialStatus()
| FormatTextStatus QQmlJS::Dom::FormatTextStatus::initialStatus |
( |
int | baseIndent = 0 | ) |
|
|
inlinestatic |
◆ isBracelessState()
| bool QQmlJS::Dom::FormatTextStatus::isBracelessState |
( |
StateType | type | ) |
|
|
inlinestatic |
◆ isExpressionEndState()
| bool QQmlJS::Dom::FormatTextStatus::isExpressionEndState |
( |
StateType | type | ) |
|
|
inlinestatic |
◆ popState()
| State QQmlJS::Dom::FormatTextStatus::popState |
( |
| ) |
|
|
inline |
◆ pushState()
◆ size()
| size_t QQmlJS::Dom::FormatTextStatus::size |
( |
| ) |
const |
|
inline |
◆ state()
| State QQmlJS::Dom::FormatTextStatus::state |
( |
int | belowTop = 0 | ) |
const |
◆ stateToString()
◆ finalIndent
| int QQmlJS::Dom::FormatTextStatus::finalIndent = 0 |
◆ lexerState
◆ states
The documentation for this class was generated from the following files: