80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
|
name: ParseException
|
||
|
class_comment: '# * Exception class thrown when an error occurs during parsing.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Fabien Potencier <fabien@symfony.com>'
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: rawMessage
|
||
|
- name: parsedLine
|
||
|
default: '-1'
|
||
|
- name: snippet
|
||
|
default: 'null'
|
||
|
- name: parsedFile
|
||
|
default: 'null'
|
||
|
- name: previous
|
||
|
default: 'null'
|
||
|
comment: '# * Exception class thrown when an error occurs during parsing.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Fabien Potencier <fabien@symfony.com>
|
||
|
|
||
|
# */
|
||
|
|
||
|
# class ParseException extends RuntimeException
|
||
|
|
||
|
# {
|
||
|
|
||
|
# /**
|
||
|
|
||
|
# * @param string $rawMessage The error message
|
||
|
|
||
|
# * @param int $parsedLine The line where the error occurred
|
||
|
|
||
|
# * @param string|null $snippet The snippet of code near the problem
|
||
|
|
||
|
# * @param string|null $parsedFile The file name where the error occurred'
|
||
|
- name: getSnippet
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Gets the snippet of code near the error.'
|
||
|
- name: setSnippet
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: snippet
|
||
|
comment: '# * Sets the snippet of code near the error.'
|
||
|
- name: getParsedFile
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Gets the filename where the error occurred.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * This method returns null if a string is parsed.'
|
||
|
- name: setParsedFile
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: parsedFile
|
||
|
comment: '# * Sets the filename where the error occurred.'
|
||
|
- name: getParsedLine
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Gets the line where the error occurred.'
|
||
|
- name: setParsedLine
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: parsedLine
|
||
|
comment: '# * Sets the line where the error occurred.'
|
||
|
- name: updateRepr
|
||
|
visibility: private
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits: []
|
||
|
interfaces: []
|