PlatformSelector.parse constructor

PlatformSelector.parse(
  1. String selector,
  2. [SourceSpan span]
)

Parses selector.

If span is passed, it indicates the location of the text for selector in a larger document. It's used for error reporting.

Implementation

PlatformSelector.parse(String selector, [SourceSpan span])
    : _inner =
          _wrapFormatException(() => BooleanSelector.parse(selector), span),
      _span = span;