class IcAgent::Ast::Nodes::IcServiceName

Represents an IC service name node in the abstract syntax tree, a subclass of NamedNode.

Represents an IC service name node in the abstract syntax tree, a subclass of NamedNode.

Public Instance Methods

title() click to toggle source

The title of the IC service name node.

# File lib/ic_agent/ast/nodes/named_nodes.rb, line 343
def title
  :ic_service_name
end
to_s() click to toggle source

Converts the IC service name node to a string representation with '#' prefix.

# File lib/ic_agent/ast/nodes/named_nodes.rb, line 348
def to_s
  "# #{elements[0].to_s}"
end