Assert that a given CodeCompletionContext in the file that
has a MIME type registered in the IDE for PHP processing.
throws: java.lang.Exception - if a given CodeCompletionContext is not in the in the file that has a MIME type registered in the IDE for PHP processing.
Assert that a given CodeCompletionContext in the scope of a
PHP project.
throws: java.lang.Exception - if a given CodeCompletionContext is not in the scope of a PHP project.
Returns the TokenSequence of the PHP block pointed by
the caret offset of the CodeCompletionContext.
the TokenSequence of the PHP block. throws: java.io.IOException - if ASTBasedProvider.getDocument() fails throws: java.lang.Exception - if pointed code is not a PHP block or TokenSequence can't be returned for this code.
Parameters: c - the set of expected tokens in the current position. Parameters: l1 - the set of expected tokens in the previous position. true if expected tokens are matched.