idlwave-statement-match
idlwave-statement-match is a variable defined in `
idlwave.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Associated list of statement matching regular expressions.
Each regular expression matches the start of an IDL statement.
The first element of each association is a symbol giving the statement
type. The associated value is a list. The first element of this list
is a regular expression matching the start of an IDL statement for
identifying the statement type. The second element of this list is a
regular expression for finding a substatement for the type. The
substatement starts after the end of the found match modulo
whitespace. If it is nil then the statement has no substatement. The
list order matters since matching an assignment statement exactly is
not possible without parsing. Thus assignment statement become just
the leftover unidentified statements containing an equal sign.
Value:
((endelse "end\\(\\|if\\)\\s +else" "end\\(\\|if\\)\\s +else")
(end "\\" nil)
(if "if\\>" "then")
(for "for\\>" "do")
(begin "begin\\>" nil)
(pdef "pro\\>\\|function\\>" nil)
(while "while\\>" "do")
(repeat "repeat\\>" "repeat")
(goto "goto\\>" nil)
(case "case\\>" nil)
(switch "switch\\>" nil)
(call "\\([a-zA-Z_][a-zA-Z0-9$_]*\\|![a-zA-Z_][a-zA-Z0-9$_]*\\) *= *\\([a-zA-Z_][a-zA-Z0-9$_]*\\s *->\\(\\s *[a-zA-Z_][a-zA-Z0-9$_]*::\\)?\\s *\\)?[a-zA-Z_][a-zA-Z0-9$_]*\\s *(" nil)
(call "\\([a-zA-Z_][a-zA-Z0-9$_]*\\s *->\\(\\s *[a-zA-Z_][a-zA-Z0-9$_]*::\\)?\\s *\\)?[a-zA-Z_][a-zA-Z0-9$_]*\\( *\\($\\|\\$\\)\\|\\s *,\\)" nil)
(assign "\\([a-zA-Z_][a-zA-Z0-9$_]*\\|![a-zA-Z_][a-zA-Z0-9$_]*\\) *=" nil))