Homec4science

Add context support to PHP highlighter

Authored by Alan Huang <alanh@fb.com> on Aug 9 2012, 20:06.

Description

Add context support to PHP highlighter

Summary:

  • Detect x::y, and mark y as an attribute with context x.
  • Export found contexts as a data attribute.

Test Plan: Load Diffusion. Examine DOM and click on things.

Reviewers: epriestley

Reviewed By: epriestley

CC: nh, aran, Korvin

Maniphest Tasks: T1602

Differential Revision: https://secure.phabricator.com/D3214

Details

Committed
Alan Huang <alanh@fb.com>Aug 9 2012, 20:06
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU090798a75df7: Allow redirecting output in console
Branches
Unknown
Tags
Unknown

Event Timeline

Alan Huang <alanh@fb.com> committed rPHU209338c418d4: Add context support to PHP highlighter (authored by Alan Huang <alanh@fb.com>).Aug 9 2012, 20:06