[][src]Trait zamm_yang::tao::archetype::CodegenFlags

pub trait CodegenFlags: FormTrait + CommonNodeTrait {
    pub fn mark_newly_defined(&mut self) { ... }
pub fn is_newly_defined(&self) -> bool { ... }
pub fn activate_root_node_logic(&mut self) { ... }
pub fn root_node_logic_activated(&self) -> bool { ... }
pub fn activate_attribute_logic(&mut self) { ... }
pub fn attribute_logic_activated(&self) -> bool { ... }
pub fn activate_data_logic(&mut self) { ... }
pub fn data_logic_activated(&self) -> bool { ... }
pub fn mark_own_module(&mut self) { ... }
pub fn force_own_module(&self) -> bool { ... } }

Archetype code generation flags defined when reading from a Yin.md

Provided methods

pub fn mark_newly_defined(&mut self)[src]

Mark a concept as having been newly defined as part of the current build.

pub fn is_newly_defined(&self) -> bool[src]

Whether or not a concept has been newly defined as part of the current build.

pub fn activate_root_node_logic(&mut self)[src]

Activate root-node-specific logic for this concept during code generation.

pub fn root_node_logic_activated(&self) -> bool[src]

Whether this concept should have root-node-specific logic activated during code generation.

pub fn activate_attribute_logic(&mut self)[src]

Activate attribute-specific logic for this concept during code generation.

pub fn attribute_logic_activated(&self) -> bool[src]

Whether this concept should have attribute-specific logic activated during code generation.

pub fn activate_data_logic(&mut self)[src]

Activate data-specific logic for this concept during code generation.

pub fn data_logic_activated(&self) -> bool[src]

Whether this concept should have data-specific logic activated during code generation.

pub fn mark_own_module(&mut self)[src]

Mark concept to be generated inside its own module.

pub fn force_own_module(&self) -> bool[src]

Whether or not concept should be generated inside its own module.

Loading content...

Implementors

impl CodegenFlags for Archetype[src]

impl CodegenFlags for AttributeArchetype[src]

Loading content...