| Did you know ... | Search Documentation: |
| text_buffer<-matching_bracket |
from holds a text_buffer<-character bracket.
If no bracket is specified, the text_buffer<-character
at from is used. Specifying the bracket is useful to find the start of
the bracketed environment point is in.
start_of_compound_statement(TB, Here, Start) :-
get(TB, matching_bracket, Here, '}', Start).
If this method traps -while scanning-, a bracket mismatch (e.g.
(hello}) it will generate a mismatched_bracket error. See class error
and the predicate pce_catch_error/2.
See class syntax_table for defining brackets.
This method deals with string and comment. See text_buffer->in_string,
text_buffer->in_comment
and text_buffer<-scan.