parseStringValue method

StringValueContext? parseStringValue()

Implementation

StringValueContext? parseStringValue() =>
    next(TokenType.STRING) && current != null
        ? StringValueContext(current!)
        : (next(TokenType.BLOCK_STRING) && current != null
            ? StringValueContext(current!, isBlockString: true)
            : null);