1
2
3
4
5
6
7
use crate::interpreter_state::*;

///Trait for things that may be rendered as a [`String`] provided
///that an [`InterpreterState`] is available.
pub trait DisplayableWithState {
    fn display(&self, state : &InterpreterState) -> String;
}