attributeSelector method

Parser<ExpressionNode Function(ExpressionNode)> attributeSelector()
inherited

Implementation

Parser<ExpressionNode Function(ExpressionNode)> attributeSelector() =>
    seq2(ref1(token, '.'), ref0(identifier)).map2(
      (_, name) =>
          (target) => AttributeNode(value: target, attribute: name),
    );