Class: GlobalDeclarationNode
Direct Known Subclasses
CreateArgsGlobalDeclarationNode, GraphArgsGlobalDeclarationNode, GraphCategoryGlobalDeclarationNode, GraphGlobalDeclarationNode, GraphHeightGlobalDeclarationNode, GraphInfoGlobalDeclarationNode, GraphOrderGlobalDeclarationNode, GraphPeriodGlobalDeclarationNode, GraphPrintFormatGlobalDeclarationNode, GraphScaleGlobalDeclarationNode, GraphTitleGlobalDeclarationNode, GraphTotalGlobalDeclarationNode, GraphVLabelGlobalDeclarationNode, GraphVTitleGlobalDeclarationNode, GraphWidthGlobalDeclarationNode, HostNameGlobalDeclarationNode, ServiceOrderGlobalDeclarationNode, UpdateGlobalDeclarationNode
Constant Summary
Constants inherited from ASTNode
ASTNode::DEFAULT_GRAPH_PROPERTIES, ASTNode::METRIC_PROC_FUNCTIONS
Instance Attribute Summary
Attributes inherited from ASTNode
#children, #graph_properties, #parent, #properties, #root_node
Instance Method Summary collapse
-
#initialize(line) ⇒ GlobalDeclarationNode
constructor
A new instance of GlobalDeclarationNode.
Methods inherited from ASTNode
#add_child, #children_of_class, #compile, #config=, #default_colors, #process_variables, #properties_to_url, #root?, #targets, #to_gdash, #url
Constructor Details
#initialize(line) ⇒ GlobalDeclarationNode
Returns a new instance of GlobalDeclarationNode.
125 126 127 128 129 |
# File 'lib/ast_node.rb', line 125 def initialize(line) super line =~ /^([\w]*)\ (.*)/ @value = $2 end |