This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
790 B

  1. API Reference
  2. =============
  3. Lark
  4. ----
  5. .. autoclass:: lark.Lark
  6. :members: open, parse, save, load
  7. LarkOptions
  8. -----------
  9. .. autoclass:: lark.lark.LarkOptions
  10. Tree
  11. ----
  12. .. autoclass:: lark.Tree
  13. :members: pretty, find_pred, find_data, iter_subtrees,
  14. iter_subtrees_topdown
  15. Token
  16. -----
  17. .. autoclass:: lark.Token
  18. Transformer, Vistor & Interpretor
  19. ---------------------------------
  20. See :doc:`visitors`.
  21. UnexpectedInput
  22. ---------------
  23. .. autoclass:: lark.exceptions.UnexpectedInput
  24. :members: get_context, match_examples
  25. .. autoclass:: lark.exceptions.UnexpectedToken
  26. .. autoclass:: lark.exceptions.UnexpectedCharacters
  27. ParserPuppet
  28. ------------
  29. .. autoclass:: lark.parsers.lalr_puppet.ParserPuppet
  30. :members: choices, feed_token, copy, pretty, resume_parse