compiler/stage1_py/l0_lexer.py

Module l0_lexer

Overview Symbols grouped by source file: compiler/stage1_py/l0_lexer.py

Source: compiler/stage1_py/l0_lexer.py Language: Python

Module Members

  • KEYWORDS: dict l0_lexer.KEYWORDS
  • _EXPR_ENDING_TOKENS: l0_lexer._EXPR_ENDING_TOKENS
  • OCT_CHARS: str l0_lexer.OCT_CHARS
  • HEX_CHARS: str l0_lexer.HEX_CHARS
  • _is_ascii_ident_start: bool l0_lexer._is_ascii_ident_start(str c) - Return whether c can start an ASCII Dea identifier.
  • _is_ascii_ident_part: bool l0_lexer._is_ascii_ident_part(str c) - Return whether c can continue an ASCII Dea identifier.
  • _logical_predecessor_ends_expression: bool l0_lexer._logical_predecessor_ends_expression(Token token, bool previous) - Return whether the parser-visible predecessor ends an expression.
  • is_reserved_keyword: bool l0_lexer.is_reserved_keyword(str word) - Check if a word is a reserved L0 keyword.