File: syntax.el.html

The main exported function is syntax-ppss. You might also need to call syntax-ppss-flush-cache or to add it to before-change-functions'(although this is automatically done by syntax-ppss when needed, but that might fail if syntax-ppss is called in a context where before-change-functions is temporarily let-bound to nil).

Defined variables (9)

syntax-begin-functionFunction to move back outside of any comment/string/paren.
syntax-ppss-max-spanThreshold below which cache info is deemed unnecessary.
syntax-ppss-narrowSame as ‘syntax-ppss-wide’ but for a narrowed buffer.
syntax-ppss-narrow-startStart position of the narrowing for ‘syntax-ppss-narrow’.
syntax-ppss-tableSyntax-table to use during ‘syntax-ppss’, if any.
syntax-ppss-wideCons of two elements (LAST . CACHE).
syntax-propertize--inhibit-flushIf non-nil, ‘syntax-ppss-flush-cache’ only flushes the ppss cache.
syntax-propertize-extend-region-functionsSpecial hook run just before proceeding to propertize a region.
syntax-propertize-functionMode-specific function to apply ‘syntax-table’ text properties.

Defined functions (39)

internal--syntax-propertize(CHARPOS)
make-ppss
make-ppss--cmacro
ppss-comment-depth(CL-X)
ppss-comment-depth--cmacro(CL-WHOLE-ARG CL-X)
ppss-comment-or-string-start(CL-X)
ppss-comment-or-string-start--cmacro(CL-WHOLE-ARG CL-X)
ppss-comment-style(CL-X)
ppss-comment-style--cmacro(CL-WHOLE-ARG CL-X)
ppss-depth(CL-X)
ppss-depth--cmacro(CL-WHOLE-ARG CL-X)
ppss-innermost-start(CL-X)
ppss-innermost-start--cmacro(CL-WHOLE-ARG CL-X)
ppss-last-complete-sexp-start(CL-X)
ppss-last-complete-sexp-start--cmacro(CL-WHOLE-ARG CL-X)
ppss-min-depth(CL-X)
ppss-min-depth--cmacro(CL-WHOLE-ARG CL-X)
ppss-open-parens(CL-X)
ppss-open-parens--cmacro(CL-WHOLE-ARG CL-X)
ppss-quoted-p(CL-X)
ppss-quoted-p--cmacro(CL-WHOLE-ARG CL-X)
ppss-string-terminator(CL-X)
ppss-string-terminator--cmacro(CL-WHOLE-ARG CL-X)
ppss-two-character-syntax(CL-X)
ppss-two-character-syntax--cmacro(CL-WHOLE-ARG CL-X)
syntax-ppss(&optional POS)
syntax-ppss--update-stats(I OLD NEW)
syntax-ppss-after-change-function(BEG &rest IGNORED)
syntax-ppss-context(PPSS)
syntax-ppss-depth(PPSS)
syntax-ppss-flush-cache(BEG &rest IGNORED)
syntax-ppss-toplevel-pos(PPSS)
syntax-propertize(POS)
syntax-propertize--shift-groups-and-backrefs(RE N)
syntax-propertize-multiline(BEG END)
syntax-propertize-precompile-rules(&rest RULES)
syntax-propertize-rules(&rest RULES)
syntax-propertize-via-font-lock(KEYWORDS)
syntax-propertize-wholelines(START END)

Defined faces (0)