class
AmberLSP::LibraryRulePacks::DetermineProjectRulePackState
- AmberLSP::LibraryRulePacks::DetermineProjectRulePackState
- Reference
- Object
Defined in:
amber_lsp/library_rule_packs/determine_project_rule_pack_state.crConstructors
Instance Method Summary
- #all_modes_are_present?(list_of_mode_names : Array(String)) : Bool
- #has_any_applicable_mode? : Bool
- #has_non_excluded_schema_model?(model_reference_name : String) : Bool
- #has_row_tenant_model?(model_reference_name : String) : Bool
- #has_schema_excluded_model?(model_reference_name : String) : Bool
- #list_of_row_tenant_table_names : Array(String)
- #list_of_scoped_model_names_for(source_globs : Array(String), model_macro_name : String) : Set(String)
- #list_of_tenant_column_declarations_for(file_path : String) : Array(Tuple(String, Crystal::ASTNode))
- #mode_detected?(mode_name : String) : Bool
- #rule_mode_detected?(list_of_mode_names : Array(String)) : Bool
Constructor Detail
def self.new(project_context : AmberLSP::ProjectContext, rule_pack : DescribeLibraryRulePack, file_path : String, file_content : String)
#
Instance Method Detail
def list_of_scoped_model_names_for(source_globs : Array(String), model_macro_name : String) : Set(String)
#
def list_of_tenant_column_declarations_for(file_path : String) : Array(Tuple(String, Crystal::ASTNode))
#