Page MenuHomePhabricator

Allow AAST to extract string literal values from HEREDOCs
ClosedPublic

Authored by epriestley on Sep 5 2020, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 3:24 PM
Unknown Object (File)
Mon, Nov 18, 7:08 AM
Unknown Object (File)
Thu, Nov 14, 3:10 AM
Unknown Object (File)
Sun, Nov 10, 2:19 PM
Unknown Object (File)
Wed, Nov 6, 1:25 AM
Unknown Object (File)
Oct 9 2024, 1:40 PM
Unknown Object (File)
Sep 4 2024, 3:12 AM
Unknown Object (File)
Aug 28 2024, 9:08 AM
Subscribers
None

Details

Summary

Ref T13577. I'd like to arc lint --everything to find other bad calls to pht() and similar functions, but n_HEREDOC nodes currently can not generate a response to "getStringLiteralValue()".

Support literal extraction from heredocs.

Test Plan

Added a test, made it pass. Will lint everything.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable