indentNodeProp top-level property

NodeProp<int? Function(TreeIndentContext)> indentNodeProp
final

A syntax tree node prop used to associate indentation strategies with node types.

Such a strategy is a function from an indentation context to a column number (see indentString) or null, where null indicates that no definitive indentation can be determined.

Implementation

final NodeProp<int? Function(TreeIndentContext)> indentNodeProp = NodeProp<int? Function(TreeIndentContext)>(
  deserialize: (_) => throw UnsupportedError('Cannot deserialize indentNodeProp'),
);