Add Options associated type

This commit is contained in:
Greg Shuflin 2021-10-14 01:34:38 -07:00
parent 76c2257c7e
commit 5dcfce46cc
2 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,7 @@ fn stage_names() -> Vec<&'static str> {
impl ProgrammingLanguageInterface for Schala {
type Options = ();
fn language_name() -> String {
"Schala".to_owned()
}

View File

@ -2,6 +2,7 @@ use std::collections::HashSet;
use std::time;
pub trait ProgrammingLanguageInterface {
type Options;
fn language_name() -> String;
fn source_file_suffix() -> String;