reEmptyStringLeading top-level property

RegExp reEmptyStringLeading
final

Used to match empty string literals in compiled template source.

Implementation

final reEmptyStringLeading = RegExp(r"\b__p \+= '';"),
    reEmptyStringMiddle = RegExp(r"\b(__p \+=) '' \+"),
    reEmptyStringTrailing = RegExp(r"(__e\(.*?\)|\b__t\)) \+\n'';");