Skip to content

Commit

Permalink
better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguang committed Nov 16, 2022
1 parent 3b29e61 commit 60c6460
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/inline_syntaxes/delimiter_syntax.dart
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ class DelimiterRun implements Delimiter {

// If it is a left-flanking delimiter run, see
// http://spec.commonmark.org/0.30/#left-flanking-delimiter-run.
final leftFlanking = !followedByWhitespace &&
final isLeftFlanking = !followedByWhitespace &&
(!followedByPunctuation ||
precededByWhitespace ||
precededByPunctuation);

// If it is a right-flanking delimiter run, see
// http://spec.commonmark.org/0.30/#right-flanking-delimiter-run.
final rightFlanking = !precededByWhitespace &&
final isRightFlanking = !precededByWhitespace &&
(!precededByPunctuation ||
followedByWhitespace ||
followedByPunctuation);
Expand All @@ -323,8 +323,8 @@ class DelimiterRun implements Delimiter {
char: parser.charAt(runStart),
syntax: syntax,
tags: tags,
isLeftFlanking: leftFlanking,
isRightFlanking: rightFlanking,
isLeftFlanking: isLeftFlanking,
isRightFlanking: isRightFlanking,
isPrecededByPunctuation: precededByPunctuation,
isFollowedByPunctuation: followedByPunctuation,
allowIntraWord: allowIntraWord,
Expand Down

0 comments on commit 60c6460

Please sign in to comment.