pub struct ScriptStackFrame {
pub end_column: Option<i32>,
pub end_line: Option<i32>,
pub procedure_id: Option<String>,
pub start_column: Option<i32>,
pub start_line: Option<i32>,
pub text: Option<String>,
}Expand description
Represents the location of the statement/expression being evaluated. Line and column numbers are defined as follows: - Line and column numbers start with one. That is, line 1 column 1 denotes the start of the script. - When inside a stored procedure, all line/column numbers are relative to the procedure body, not the script in which the procedure was defined. - Start/end positions exclude leading/trailing comments and whitespace. The end position always ends with a “;”, when present. - Multi-byte Unicode characters are treated as just one column. - If the original script (or procedure definition) contains TAB characters, a tab “snaps” the indentation forward to the nearest multiple of 8 characters, plus 1. For example, a TAB on column 1, 2, 3, 4, 5, 6 , or 8 will advance the next character to column 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16 will advance the next character to column 17.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_column: Option<i32>Output only. One-based end column.
end_line: Option<i32>Output only. One-based end line.
procedure_id: Option<String>Output only. Name of the active procedure, empty if in a top-level script.
start_column: Option<i32>Output only. One-based start column.
start_line: Option<i32>Output only. One-based start line.
text: Option<String>Output only. Text of the current statement/expression.
Trait Implementations§
Source§impl Clone for ScriptStackFrame
impl Clone for ScriptStackFrame
Source§fn clone(&self) -> ScriptStackFrame
fn clone(&self) -> ScriptStackFrame
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more