[Webkit-unassigned] [Bug 118711] New: Generate CSS Lexer code that performs identifier matching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 15 22:11:04 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118711

           Summary: Generate CSS Lexer code that performs identifier
                    matching
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: koivisto at iki.fi, benjamin at webkit.org,
                    akling at apple.com, dchris at gmail.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/bdbfdcc73187f8d43216148495a51ab725487609

Developers can now write C++ functions code like the following instead of manually branching on the identifier length and on the characters appearing at each position.

SWITCH(characters, nameLength) {
  CASE("skew(") { ... }
  CASE("scale(") { .. }
  CASE("skewx(") { .. }
}

Code generation expands the SWITCH into nested branching statements.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list