Class: BuildTool::Cfg::ConfigurationFileVisitor

Inherits:
StatementVisitor show all
Defined in:
lib/build-tool/cfg/visitor.rb

Overview

The Configuration File Visitor.

This is the toplevel visitor.

Direct Known Subclasses

FeatureNodeVisitor

Instance Attribute Summary

Attributes inherited from MJ::VisitorBase

#configuration

Instance Method Summary collapse

Methods inherited from StatementVisitor

#visit_BuildSystemDeclarationNode, #visit_ConfigurationFileList, #visit_DisableFeatureNode, #visit_DisableModuleNode, #visit_EnableFeatureNode, #visit_EnableModuleNode, #visit_EnvironmentDeclarationNode, #visit_FeatureNode, #visit_GitOptionsDeclarationNode, #visit_IncludeNode, #visit_ModuleDeclarationNode, #visit_RepositoryDeclarationNode, #visit_ServerDeclarationNode, #visit_SshKeyDeclarationNode

Methods inherited from ListVisitor

#visit, #visit_nodes

Methods inherited from MJ::VisitorBase

#initialize, #visit_Object

Constructor Details

This class inherits a constructor from MJ::VisitorBase

Instance Method Details

#visit_LogDirectoryNode(node) ⇒ Object



228
229
230
# File 'lib/build-tool/cfg/visitor.rb', line 228

def visit_LogDirectoryNode( node )
    configuration.log_directory = node.value
end