Struct tcl::interpreter::Interpreter [] [src]

pub struct Interpreter<'env> { /* fields omitted */ }

An instance of a Tcl interpreter

Methods

impl<'env> Interpreter<'env>
[src]

Create a new Interpreter

Check whether the interpreter has been marked as safe

Disable 'unsafe' commands and variables in the interpreter

Get the string result of the last run command

Get a native Tcl object from the last run command

Evaluate an external file of Tcl code, and store the result internally

Evaluate a string of Tcl code, and store the result internally

Evaluate a Tcl objecrt as code, and store the result internally

Append an element to a list This will fail if target is shared

Get the boolean result of an expression

Get the double result of an expression

Get the long result of an expression

Get the object result of an expression object

Process an expression string and store the result

Set a simple string variable inside the interpreter

Sets an object variable using the default options.

See Self::set_object_variable for available options.

Set an object variable inside the interpreter

Get a simple string variable inside the interpreter

Get a variable as an object

Unset a variable

Trait Implementations

impl<'env> Drop for Interpreter<'env>
[src]

A method called when the value goes out of scope. Read more