FormatOptions
- class FormatOptions
-
Members defined in
FormatOptions(93 members)
RWControls
actionformatting in action nodes:
RWControls
allocationformatting in allocation usages:
RWControls
constraintformatting in assert constraint usages:
RWControls
refformatting in attribute usages:
RWControls allocation usage ends formatting:
RWControls
ofkeyword formatting in binary binding connectors:
RWControls binding connector ends formatting:
RWControls connection usage ends formatting:
RWControls connector ends formatting:
RWControls
fromkeyword formatting in binary connectors:
RWControls interface usage ends formatting:
RWControls
firstkeyword formatting in binary successions:
RWControls succession ends formatting:
RWControls
bindingformatting in binding connectors as usages:
RWControls line break preceding
aboutinComment:
RWControls
commentkeyword formatting:
RWControls
conjugationkeyword formatting in conjugation members:
RWControls
connectionformatting in connection usages:
RWControls
refformatting in connection usages:
RWControls
refformatting in connector as usages:
RWControls conjugated port typing formatting in port declarations.
RWControls conjugation formatting. Requires KerML.
RWControls cross subsetting formatting in feature declarations.
RWControls feature typing formatting.
RWControls redefinition formatting.
RWControls reference subsetting formatting in feature declarations.
RWControls specialization formatting.
RWControls subclassification formatting.
RWControls subsetting formatting.
RWControls
fromkeyword formatting in dependencies:
RWControls
disjoiningkeyword formatting in disjoining members:
RWControls
filter (...)condition expression in element filter memberships formatting:
RWControls formatting of empty children blocks:
RWControls
enumkeyword formatting inside enum definitions:
RWControls
occurrencekeyword formatting in event occurrence usages:
RWControls
refformatting in event occurrence usages:
RWControls
refformatting in exhibit state usages:
RWControls
stateformatting in exhibit state usages:
RWControls
featurekeyword formatting in KerML:
RWControls feature value equals token formatting whenever it can be omitted:
RWControls
ofkeyword formatting in type featuring members:
RWControls
fromkeyword formatting in flows:
RWControls
fromkeyword formatting in flow usages:
RWIf true, any child elements inside bodies will be printed on new line.
RWControls
concernformatting in framed concern usages:
RWControls
if (...)condition expression formatting:
RWControls
refformatting in include use case usages:
RWControls
use caseformatting in include use case usages:
RWControls
portformatting of default interface ends:
RWControls
connectformatting in interface usages:
RWControls
truekeyword formatting in invariants:
RWControls
invertingkeyword formatting in inverting members:
RWControls
LiteralRealformatting. Only applies to those numbers that are not in the source text.
RWControls
CommentandDocumentationbody formatting. If true, trailing whitespace is preserved on each line but last.
RWControls disjoining formatting in type declarations. If true, all disjoinings are merged into a single group. Requires KerML.
RWControls type featuring formatting in feature declarations. If true, all type featurings are merged into a single group. Requires KerML.
RWControls differencing formatting in type declarations. If true, all differencings are merged into a single group. Requires KerML.
RWControls feature chaining formatting in feature declarations. If true, all feature chainings are merged into a single group. Requires KerML.
RWControls intersecting formatting in type declarations. If true, all intersectings are merged into a single group. Requires KerML.
RWControls unioning formatting in type declarations. If true, all unionings are merged into a single group. Requires KerML.
RWControls
feature(KerML) andref(SysML) keyword formatting in metadata features:
RWControls first feature redefinition formatting inside MetadataFeature bodies:
RWControls metadata feature keyword used.
RWControls multiplicity placement in type declarations:
RWControls
NullExpressionformatting:
RWControls
occurrencekeyword formatting in occurrence usages and definitions:
RWControls binary operator placement on line breaks.
RWControls
orderedandnonuniqueprint order:
RWControls
refformatting in perform action usages:
RWControls
actionformatting in perform action usages:
RWControls
refformatting in attribute usages:
RWControls
publickeyword formatting:
RWControls
refformatting in reference usages:
RWControls
assertformatting in satisfy requirement usages:
RWControls
requirementformatting in satisfy requirement usages:
RWControls
SequenceExpressiontrailing comma formatting.
RWControls
specializationkeyword formatting in feature typing members:
RWControls
specializationkeyword formatting in redefinition members:
RWControls
specializationkeyword formatting in specialization members:
RWControls
specializationkeyword formatting in subclassification members:
RWControls
specializationkeyword formatting in subsetting members:
RWControls identifier formatting. If true, strips quotes from identifiers if the name doesn’t have restricted characters
RWControls
successionformatting in successions as usages:
RWControls
fromkeyword formatting in succession flows:
RWControls
fromkeyword formatting in succession flow usages:
RWControls
repkeyword formatting:
RWControls line break preceding
languageinTextualRepresentation:
RWControls
firstformatting in transition usages:
RWControls
transitionformatting in transition usages:
RWControls
if (...)condition expression in transition usages formatting:
RWControls
while (...)while loop action condition expression formatting:
RWControls
until (...)while loop action condition expression formatting:
Attributes
- property action_node_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
actionformatting in action nodes:always:actionis always printedas-needed:actionis printed only if required by the grammar
- property allocation_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
allocationformatting in allocation usages:always:allocationis always printedas-needed:allocationis only printed when required by the grammar
- property assert_constraint_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
constraintformatting in assert constraint usages:always:constraintis always printedas-needed:constraintis only printed when required by the grammar
- property attribute_usage_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in attribute usages:always:refis always printednever:refis never printed
- property binary_allocation_usages: syside.FormatPreserved[syside.AlwaysNever]
Controls allocation usage ends formatting:
always: binary ends are printed as binary declarationnever: binary ends are printed as nary declaration
- property binary_binding_connector_of_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
ofkeyword formatting in binary binding connectors:always:ofis always printedas-needed:ofis only printed when required by the grammar
- property binary_binding_connectors: syside.FormatPreserved[syside.AlwaysNever]
Controls binding connector ends formatting:
always: binary ends are printed as binary declarationnever: binary ends are printed as nary declaration
- property binary_connection_usages: syside.FormatPreserved[syside.AlwaysNever]
Controls connection usage ends formatting:
always: binary ends are printed as binary declarationnever: binary ends are printed as nary declaration
- property binary_connectors: syside.FormatPreserved[syside.AlwaysNever]
Controls connector ends formatting:
always: binary ends are printed as binary declarationnever: binary ends are printed as nary declaration
- property binary_connectors_from_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
fromkeyword formatting in binary connectors:always:fromis always printedas-needed:fromis only printed when required by the grammar
- property binary_interface_usages: syside.FormatPreserved[syside.AlwaysNever]
Controls interface usage ends formatting:
always: binary ends are printed as binary declarationnever: binary ends are printed as nary declaration
- property binary_succession_first_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
firstkeyword formatting in binary successions:always:firstis always printedas-needed:firstis only printed when required by the grammar
- property binary_successions: syside.FormatPreserved[syside.AlwaysNever]
Controls succession ends formatting:
always: binary ends are printed as binary declarationnever: binary ends are printed as nary declaration
- property binding_connector_as_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
bindingformatting in binding connectors as usages:always:bindingis always printedas-needed:bindingis only printed when required by the grammar
- property comment_about_break: syside.OptionalKw
Controls line break preceding
aboutinComment:always: about list is always on a new lineas-needed: printer tries to fit about list on the previous line
- property comment_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
commentkeyword formatting:always:commentwill always be printedas-needed:commentwill only be printed as needed
- property conjugation_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
conjugationkeyword formatting in conjugation members:always:conjugationwill always be printed.as-needed:conjugationwill be printed only if required by the grammar
- property connection_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
connectionformatting in connection usages:always:connectionis always printedas-needed:connectionis only printed when required by the grammar
- property connection_usage_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in connection usages:always:refis always printednever:refis never printed
- property connector_as_usage_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in connector as usages:always:refis always printednever:refis never printed
- property declaration_conjugated_port_typing: syside.FormatPreserved[syside.KwToken]
Controls conjugated port typing formatting in port declarations.
- property declaration_conjugation: syside.FormatPreserved[syside.KwToken]
Controls conjugation formatting. Requires KerML.
- property declaration_cross_subsetting: syside.FormatPreserved[syside.KwToken]
Controls cross subsetting formatting in feature declarations.
- property declaration_feature_typing: syside.FormatPreserved[syside.KwToken]
Controls feature typing formatting.
- property declaration_redefinition: syside.FormatPreserved[syside.KwToken]
Controls redefinition formatting.
- property declaration_reference_subsetting: syside.FormatPreserved[syside.KwToken]
Controls reference subsetting formatting in feature declarations.
- property declaration_specialization: syside.FormatPreserved[syside.KwToken]
Controls specialization formatting.
- property declaration_subclassification: syside.FormatPreserved[syside.KwToken]
Controls subclassification formatting.
- property declaration_subsetting: syside.FormatPreserved[syside.KwToken]
Controls subsetting formatting.
- property dependency_from_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
fromkeyword formatting in dependencies:always:fromwill always be printed.as-needed:fromwill be printed only if required by the grammar
- property disjoining_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
disjoiningkeyword formatting in disjoining members:always:disjoiningwill always be printed.as-needed:disjoiningwill be printed only if required by the grammar
- property element_filter_parenthesize: syside.OptionalToken
Controls
filter (...)condition expression in element filter memberships formatting:always: expression is printed with parenthesesnever: expression is printed without parentheseson-break: expression is printed with parentheses only if it breaks
- property empty_namespace_brackets: syside.FormatPreserved[syside.AlwaysNever]
Controls formatting of empty children blocks:
always: empty blocks are always formatted as{}never: empty blocks are always formatted as a trailing;
- property enum_member_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
enumkeyword formatting inside enum definitions:always:enumis always printednever:enumis never printed
- property event_occurrence_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
occurrencekeyword formatting in event occurrence usages:always:occurrenceis always printedas-needed:occurrenceis only printed when required by the grammar
- property event_occurrence_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in event occurrence usages:always:refis always printednever:refis never printed
- property exhibit_state_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in exhibit state usages:always:refis always printednever:refis never printed
- property exhibit_state_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
stateformatting in exhibit state usages:always:stateis always printedas-needed:stateis only printed when required by the grammar
- property feature_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
featurekeyword formatting in KerML:always:featurekeyword is always printedas-needed:featurekeyword is printed only when required by the grammar
- property feature_value_equals: syside.FormatPreserved[syside.OptionalKw]
Controls feature value equals token formatting whenever it can be omitted:
as-needed:=will only be printed if it is required by the grammaralways:=will be always printed when it is acceptable by the grammar
- property featuring_of_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
ofkeyword formatting in type featuring members:always:ofwill always be printed.as-needed:ofwill be printed only if required by the grammar
- property flow_from_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
fromkeyword formatting in flows:always:fromis always printedas-needed:fromis only printed when required by the grammar
- property flow_usage_from_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
fromkeyword formatting in flow usages:always:fromis always printedas-needed:fromis only printed when required by the grammar
- property force_break_bodies: bool
If true, any child elements inside bodies will be printed on new line.
- property framed_concern_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
concernformatting in framed concern usages:always:concernis always printedas-needed:concernis only printed if required by the grammar
- property if_parenthesize_condition: syside.OptionalToken
Controls
if (...)condition expression formatting:always: expression is printed with parenthesesnever: expression is printed without parentheseson-break: expression is printed with parentheses only if it breaks
- property include_use_case_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in include use case usages:always:refis always printednever:refis never printed
- property include_use_case_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
use caseformatting in include use case usages:always:use caseis always printedas-needed:use caseis only printed when required by the grammar
- property interface_port_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
portformatting of default interface ends:always:portis always printednever:portis never printed
- property interface_usage_connect_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
connectformatting in interface usages:always:connectis always printedas-needed:connectis only printed when required by the grammar
- property invariant_true_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
truekeyword formatting in invariants:never:trueis never printedalways:trueis always printed if invariant is not negated
- property inverting_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
invertingkeyword formatting in inverting members:always:invertingwill always be printed.as-needed:invertingwill be printed only if required by the grammar
- property literal_real: syside.FloatFormat
Controls
LiteralRealformatting. Only applies to those numbers that are not in the source text.
- property markdown_comments: bool
Controls
CommentandDocumentationbody formatting. If true, trailing whitespace is preserved on each line but last.
- property merge_declaration_disjoining: bool
Controls disjoining formatting in type declarations. If true, all disjoinings are merged into a single group. Requires KerML.
- property merge_declaration_type_featuring: bool
Controls type featuring formatting in feature declarations. If true, all type featurings are merged into a single group. Requires KerML.
- property merge_differencing: bool
Controls differencing formatting in type declarations. If true, all differencings are merged into a single group. Requires KerML.
- property merge_feature_chaining: bool
Controls feature chaining formatting in feature declarations. If true, all feature chainings are merged into a single group. Requires KerML.
- property merge_intersecting: bool
Controls intersecting formatting in type declarations. If true, all intersectings are merged into a single group. Requires KerML.
- property merge_unioning: bool
Controls unioning formatting in type declarations. If true, all unionings are merged into a single group. Requires KerML.
- property metadata_body_feature_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
feature(KerML) andref(SysML) keyword formatting in metadata features:always: keywords are always printednever: keywords are never printed
- property metadata_body_feature_redefines: syside.FormatPreserved[syside.OptionalKwToken]
Controls first feature redefinition formatting inside MetadataFeature bodies:
keyword:redefinesis printedtoken::>>is printednone: nothing is printed
- property metadata_feature_keyword: syside.FormatPreserved[syside.KwToken]
Controls metadata feature keyword used.
- property multiplicity_placement: syside.MultiPlacement
Controls multiplicity placement in type declarations:
first: multiplicity is printed before any specializationsfirst-specialization: multiplicity is printed after the first specializationlast: multiplicity is printed after all specializations
- property null_expression: syside.FormatPreserved[syside.NullFormat]
Controls
NullExpressionformatting:null: always formatted asnullbrackets: always formatted as()
- property occurrence_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
occurrencekeyword formatting in occurrence usages and definitions:always:occurrenceis always printedas-needed:occurrenceis only printed when required by the grammar
- property operator_break: syside.OperatorBreak
Controls binary operator placement on line breaks.
after: operators are placed on the same line as the LHS expressionbefore: operators are placed on the same line as the RHS expression
- property ordered_nonunique_priority: syside.FormatPreserved[syside.MultiOrder]
Controls
orderedandnonuniqueprint order:ordered:orderedis printed firstnonunique:nonuniqueis printed first
- property perform_action_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in perform action usages:always:refis always printednever:refis never printed
- property perform_action_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
actionformatting in perform action usages:always:actionis always printedas-needed:actionis only printed when required by the grammar
- property port_usage_reference_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
refformatting in attribute usages:always:refis always printednever:refis never printed
- property public_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
publickeyword formatting:always:publicwill always be printednever:publicwill never be printed
- property reference_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
refformatting in reference usages:always:refis always printedas-needed:refis only printed if required by the grammar
- property satisfy_requirement_assert_keyword: syside.FormatPreserved[syside.AlwaysNever]
Controls
assertformatting in satisfy requirement usages:always:assertis always printednever:assertis never printed
- property satisfy_requirement_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
requirementformatting in satisfy requirement usages:always:requirementis always printedas-needed:requirementis only printed when required by the grammar
- property sequence_expression_trailing_comma: syside.OptionalToken
Controls
SequenceExpressiontrailing comma formatting.
- property specialization_keyword_feature_typing: syside.FormatPreserved[syside.OptionalKw]
Controls
specializationkeyword formatting in feature typing members:always:specializationwill always be printed.as-needed:specializationwill be printed only if required by the grammar
- property specialization_keyword_redefinition: syside.FormatPreserved[syside.OptionalKw]
Controls
specializationkeyword formatting in redefinition members:always:specializationwill always be printed.as-needed:specializationwill be printed only if required by the grammar
- property specialization_keyword_specialization: syside.FormatPreserved[syside.OptionalKw]
Controls
specializationkeyword formatting in specialization members:always:specializationwill always be printed.as-needed:specializationwill be printed only if required by the grammar
- property specialization_keyword_subclassification: syside.FormatPreserved[syside.OptionalKw]
Controls
specializationkeyword formatting in subclassification members:always:specializationwill always be printed.as-needed:specializationwill be printed only if required by the grammar
- property specialization_keyword_subsetting: syside.FormatPreserved[syside.OptionalKw]
Controls
specializationkeyword formatting in subsetting members:always:specializationwill always be printed.as-needed:specializationwill be printed only if required by the grammar
- property strip_unnecessary_quotes: bool
Controls identifier formatting. If true, strips quotes from identifiers if the name doesn’t have restricted characters
- property succession_as_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
successionformatting in successions as usages:always:successionis always printedas-needed:successionis only printed when required by the grammar
- property succession_flow_from_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
fromkeyword formatting in succession flows:always:fromis always printedas-needed:fromis only printed when required by the grammar
- property succession_flow_usage_from_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
fromkeyword formatting in succession flow usages:always:fromis always printedas-needed:fromis only printed when required by the grammar
- property textual_representation_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
repkeyword formatting:always:repwill always be printedas-needed:repwill only be printed as needed
- property textual_representation_language_break: syside.OptionalKw
Controls line break preceding
languageinTextualRepresentation:always: language is always on a new lineas-needed: printer tries to fit language on the previous line
- property transition_usage_first_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
firstformatting in transition usages:always:firstis always printed if permitted by the grammaras-needed:firstis only printed if required by the grammar
- property transition_usage_keyword: syside.FormatPreserved[syside.OptionalKw]
Controls
transitionformatting in transition usages:always:transitionis always printed if permitted by the grammaras-needed:transitionis only printed if required by the grammar
- property transition_usage_parenthesize_guard: syside.OptionalToken
Controls
if (...)condition expression in transition usages formatting:always: expression is printed with parenthesesnever: expression is printed without parentheseson-break: expression is printed with parentheses only if it breaks
- property while_loop_parenthesize_condition: syside.OptionalToken
Controls
while (...)while loop action condition expression formatting:always: expression is printed with parenthesesnever: expression is printed without parentheseson-break: expression is printed with parentheses only if it breaks
- property while_loop_parenthesize_until: syside.OptionalToken
Controls
until (...)while loop action condition expression formatting:always: expression is printed with parenthesesnever: expression is printed without parentheseson-break: expression is printed with parentheses only if it breaks
Methods
- __init__() None