diff --git a/apidoc/all-documents.html b/apidoc/all-documents.html index 1c7029a..7170486 100644 --- a/apidoc/all-documents.html +++ b/apidoc/all-documents.html @@ -468,6 +468,94 @@
Class
PUBLIC
Base class for all Bootstraparse errors
+
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html
    +
    ZopeInterfaceClass
    +
    Class
    +
    PUBLIC
    +
    Error on a token, provides if possible the line and column number of the error, the file name and the message of the error and if possible a context for the error
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.__init__
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#__init__
    +
    ZopeInterfaceFunction
    +
    Method
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.token
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#token
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.pile
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#pile
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.line
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#line
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.index
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#index
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.label
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#label
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.name
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#name
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.context
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#context
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.get_context
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#get_context
    +
    ZopeInterfaceFunction
    +
    Method
    +
    PUBLIC
    +
    Returns the context of the error :return: The context of the error :rtype: str
    +
  • + +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.context_multiline
    +
    bootstraparse.modules.error_mngr.BootstraparseTokenError.html#context_multiline
    +
    ZopeInterfaceFunction
    +
    Method
    +
    PUBLIC
    +
    Returns the context of the error as a multiline string :return: The context of the error :rtype: str
  • bootstraparse.modules.error_mngr.ParsingError
    @@ -548,6 +636,14 @@
    Instance Variable
    PUBLIC
    Undocumented
    +
  • + +
    bootstraparse.modules.error_mngr.MismatchedContainerError.pile
    +
    bootstraparse.modules.error_mngr.MismatchedContainerError.html#pile
    +
    ZopeInterfaceAttribute
    +
    Instance Variable
    +
    PUBLIC
    +
    Undocumented
  • bootstraparse.modules.error_mngr.MismatchedContainerError.line
    diff --git a/apidoc/bootstraparse.__main__.html b/apidoc/bootstraparse.__main__.html index 720c597..95a566d 100644 --- a/apidoc/bootstraparse.__main__.html +++ b/apidoc/bootstraparse.__main__.html @@ -318,7 +318,7 @@
    API Documentation for bootstraparse, generated by pydoctor - 22.5.1 at 2022-06-15 23:47:49. + 22.5.1 at 2022-06-16 01:49:27.
    + + +
    +

    Results provided by Lunr.js

    +
    + + + + + + + + +
    + + + + +
    + + + + + + +
    + class documentation +
    + + + +
    +

    Error on a token, provides if possible the line and column number of the error, the file name and the message of the error and if possible a context for the error

    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Method__init__Undocumented
    Methodcontext_multilineReturns the context of the error as a multiline string :return: The context of the error :rtype: str
    Methodget_contextReturns the context of the error :return: The context of the error :rtype: str
    Instance VariablecontextUndocumented
    Instance VariableindexUndocumented
    Instance VariablelabelUndocumented
    Instance VariablelineUndocumented
    Instance VariablenameUndocumented
    Instance VariablepileUndocumented
    Instance VariabletokenUndocumented
    + + + +
    + +
    +
    + + + + + + + + +
    + + def __init__(self, token, pile, message): + +
    + +
    + + + + + + + + +
    + + def context_multiline(self, context_size=10): + +
    +
    + + +

    Returns the context of the error as a multiline string :return: The context of the error :rtype: str

    +
    +
    +
    + + + + + + + + +
    + + def get_context(self, context_size=5): + +
    +
    + + +

    Returns the context of the error :return: The context of the error :rtype: str

    +
    +
    +
    + + + + + + + + +
    + + context = + +
    +
    + + +

    Undocumented

    + +
    +
    + + + + + + + + +
    + + index = + +
    +
    + + +

    Undocumented

    + +
    +
    + + + + + + + + +
    + + label = + +
    +
    + + +

    Undocumented

    + +
    +
    + + + + + + + + +
    + + line = + +
    +
    + + +

    Undocumented

    + +
    +
    + + + + + + + + +
    + + name = + +
    +
    + + +

    Undocumented

    + +
    +
    + + + + + + + + +
    + + pile = + +
    +
    + + +

    Undocumented

    + +
    +
    + + + + + + + + +
    + + token = + +
    +
    + + +

    Undocumented

    + +
    +
    +
    + +
    +
    + + + + + + + \ No newline at end of file diff --git a/apidoc/bootstraparse.modules.error_mngr.LonelyOptionalError.html b/apidoc/bootstraparse.modules.error_mngr.LonelyOptionalError.html index b178f1b..7ae09e9 100644 --- a/apidoc/bootstraparse.modules.error_mngr.LonelyOptionalError.html +++ b/apidoc/bootstraparse.modules.error_mngr.LonelyOptionalError.html @@ -249,6 +249,16 @@ +
  • + + + + + +
    BootstraparseTokenError +
    + +
  • @@ -380,7 +390,7 @@
    - +
    @@ -528,7 +538,7 @@
    API Documentation for bootstraparse, generated by pydoctor - 22.5.1 at 2022-06-15 23:47:49. + 22.5.1 at 2022-06-16 01:49:27.