This convenience method returns the PPI::Document representing the content. This document should be considered read only.

Note that the content of the returned PPI::Document may not be the same as the content of the original PPIx::Regexp::Token::Interpolation. This can happen because interpolated variable names may be enclosed in curly brackets, but this does not happen in normal code. For example, in /${foo}bar/, the content of the PPIx::Regexp::Token::Interpolation object will be '${foo}', but the content of the PPI::Document will be '$foo'.