DescriptionClean up SVGViewSpec::parseViewSpecInternal
Make this function slightly more readable by partitioning it as:
1) Parse outer function ("svgView")
2) For all functions:
2.1) Match/parse "function name"
2.2) Parse arguments to said function
This gets rid of a lot of the parameter list boilerplate that every case
shares. (I.e handling '(' and ')'.)
Also change to use skipExactly and skipUntil from ParsingUtilities.h.
Committed: https://crrev.com/6213989c3e5b0295a6324dd9de3c600512deda04
Cr-Commit-Position: refs/heads/master@{#425315}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|