- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Slow, inefficient regexp-based lexer. Define rules like this:
- Class
- Method
- Merge adjacent tokens of the same type. For example, if a comment is tokenized as <"//", "comment">, this method will merge the two tokens into a single combined token.
- Method
- Lex an input string into tokens.
- Method
- Process, normalize, and validate the raw lexer rules.
- Method
- Return a set of rules for this lexer. See description in @{class:PhutilLexer}.
- Method
- Lexer for a simple type grammar. See @{class:PhutilTypeSpec} for a description.
- Class
- Method
- Python lexer which can handle fragments of source code, e.g. for syntax highlighting of inline snippets. This is largely based on Pygments:
- Class
- Method
- Method
- PHP lexer which can handle fragments of source code, e.g. for syntax highlighting of inline snippets. This is largely based on Pygments, but alters some rules to better annotate symbols from source fragments.
- Class
- Method
- Syntax highlighting lexer for JSON fragments.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Lexer for shell-like argument strings. Somewhat similar to Python's shlex.
- Class
- Method
- Convert a shell command string into an argument vector. For example, this converts a string like:
- Method
- Lexer for simple options, like:
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class