Class: Puppet::Pops::Model::ModelLabelProvider Private
- Includes:
- LabelProvider
- Defined in:
- lib/puppet/pops/model/model_label_provider.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
#the(o) produces “the + Expression”, and #label produces “+ Expression”.
Constant Summary
Constants included from LabelProvider
LabelProvider::A, LabelProvider::AN, LabelProvider::SKIPPED_CHARACTERS, LabelProvider::VOWELS
Instance Method Summary collapse
-
#initialize ⇒ ModelLabelProvider
constructor
private
A new instance of ModelLabelProvider.
-
#label(o) ⇒ Object
private
Produces a label for the given objects type/operator without article.
- #label_AccessExpression(o) ⇒ Object private
- #label_AndExpression(o) ⇒ Object private
- #label_Application(o) ⇒ Object private
- #label_ArithmeticExpression(o) ⇒ Object private
- #label_Array(o) ⇒ Object private
- #label_AssignmentExpression(o) ⇒ Object private
- #label_AttributeOperation(o) ⇒ Object private
- #label_Bignum(o) ⇒ Object private
- #label_Binary(o) ⇒ Object private
- #label_BlockExpression(o) ⇒ Object private
- #label_CallMethodExpression(o) ⇒ Object private
- #label_CallNamedFunctionExpression(o) ⇒ Object private
- #label_CapabilityMapping(o) ⇒ Object private
- #label_CaseExpression(o) ⇒ Object private
- #label_CaseOption(o) ⇒ Object private
- #label_CatalogCollector(o) ⇒ Object private
- #label_Class(o) ⇒ Object private
- #label_CollectExpression(o) ⇒ Object private
- #label_ComparisonExpression(o) ⇒ Object private
- #label_ConcatenatedString(o) ⇒ Object private
- #label_EppExpression(o) ⇒ Object private
- #label_ExportedCollector(o) ⇒ Object private
- #label_ExportedQuery(o) ⇒ Object private
- #label_Factory(o) ⇒ Object private
- #label_FalseClass(o) ⇒ Object private
- #label_Fixnum(o) ⇒ Object private
- #label_Float(o) ⇒ Object private
- #label_FunctionDefinition(o) ⇒ Object private
- #label_Hash(o) ⇒ Object private
- #label_HeredocExpression(o) ⇒ Object private
- #label_HostClassDefinition(o) ⇒ Object private
- #label_IfExpression(o) ⇒ Object private
- #label_InExpression(o) ⇒ Object private
- #label_Integer(o) ⇒ Object private
- #label_KeyedEntry(o) ⇒ Object private
- #label_LambdaExpression(o) ⇒ Object private
- #label_LiteralBoolean(o) ⇒ Object private
- #label_LiteralDefault(o) ⇒ Object private
- #label_LiteralFloat(o) ⇒ Object private
- #label_LiteralHash(o) ⇒ Object private
- #label_LiteralInteger(o) ⇒ Object private
- #label_LiteralList(o) ⇒ Object private
- #label_LiteralRegularExpression(o) ⇒ Object private
- #label_LiteralString(o) ⇒ Object private
- #label_LiteralUndef(o) ⇒ Object private
- #label_MatchExpression(o) ⇒ Object private
- #label_NamedAccessExpression(o) ⇒ Object private
- #label_NilClass(o) ⇒ Object private
- #label_NodeDefinition(o) ⇒ Object private
- #label_Nop(o) ⇒ Object private
- #label_NotExpression(o) ⇒ Object private
- #label_Object(o) ⇒ Object private
- #label_OrExpression(o) ⇒ Object private
- #label_PAnyType(o) ⇒ Object private
- #label_Parameter(o) ⇒ Object private
- #label_ParenthesizedExpression(o) ⇒ Object private
- #label_PResourceType(o) ⇒ Object private
- #label_QualifiedName(o) ⇒ Object private
- #label_QualifiedReference(o) ⇒ Object private
- #label_QueryExpression(o) ⇒ Object private
- #label_Regexp(o) ⇒ Object private
- #label_RelationshipExpression(o) ⇒ Object private
- #label_RenderExpression(o) ⇒ Object private
- #label_RenderStringExpression(o) ⇒ Object private
- #label_ReservedWord(o) ⇒ Object private
- #label_Resource(o) ⇒ Object private
- #label_ResourceBody(o) ⇒ Object private
- #label_ResourceDefaultsExpression(o) ⇒ Object private
- #label_ResourceExpression(o) ⇒ Object private
- #label_ResourceOverrideExpression(o) ⇒ Object private
- #label_ResourceTypeDefinition(o) ⇒ Object private
- #label_SelectorEntry(o) ⇒ Object private
- #label_SelectorExpression(o) ⇒ Object private
- #label_Sensitive(o) ⇒ Object private
- #label_SiteDefinition(o) ⇒ Object private
- #label_String(o) ⇒ Object private
- #label_TextExpression(o) ⇒ Object private
- #label_Timespan(o) ⇒ Object private
- #label_Timestamp(o) ⇒ Object private
- #label_TrueClass(o) ⇒ Object private
- #label_TypeAlias(o) ⇒ Object private
- #label_TypeDefinition(o) ⇒ Object private
- #label_TypeMapping(o) ⇒ Object private
- #label_UnaryMinusExpression(o) ⇒ Object private
- #label_UnfoldExpression(o) ⇒ Object private
- #label_UnlessExpression(o) ⇒ Object private
- #label_VariableExpression(o) ⇒ Object private
- #label_VirtualQuery(o) ⇒ Object private
Methods included from LabelProvider
#a_an, #a_an_uc, #article, #plural_s, #the, #the_uc
Constructor Details
#initialize ⇒ ModelLabelProvider
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ModelLabelProvider.
10 11 12 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 10 def initialize @@label_visitor ||= Visitor.new(self,"label",0,0) end |
Instance Method Details
#label(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Produces a label for the given objects type/operator without article. If a Class is given, its name is used as label
17 18 19 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 17 def label o @@label_visitor.visit_this_0(self, o) end |
#label_AccessExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
26 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 26 def label_AccessExpression o ; "'[]' expression" end |
#label_AndExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
34 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 34 def label_AndExpression o ; "'and' expression" end |
#label_Application(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
102 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 102 def label_Application o ; "Application" end |
#label_ArithmeticExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 25 def label_ArithmeticExpression o ; "'#{o.operator}' expression" end |
#label_Array(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 22 def label_Array o ; "Array" end |
#label_AssignmentExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 37 def label_AssignmentExpression o ; "'#{o.operator}' expression" end |
#label_AttributeOperation(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
38 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 38 def label_AttributeOperation o ; "'#{o.operator}' expression" end |
#label_Bignum(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
86 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 86 def label_Bignum o ; "Integer" end |
#label_Binary(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
101 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 101 def label_Binary o ; "Binary" end |
#label_BlockExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
58 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 58 def label_BlockExpression o ; "Block Expression" end |
#label_CallMethodExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
72 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 72 def label_CallMethodExpression o ; "Method call" end |
#label_CallNamedFunctionExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
71 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 71 def label_CallNamedFunctionExpression o ; "Function Call" end |
#label_CapabilityMapping(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
73 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 73 def label_CapabilityMapping o ; "Capability Mapping" end |
#label_CaseExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
74 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 74 def label_CaseExpression o ; "'case' statement" end |
#label_CaseOption(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
75 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 75 def label_CaseOption o ; "Case Option" end |
#label_CatalogCollector(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
96 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 96 def label_CatalogCollector o ; "Catalog-Collector" end |
#label_Class(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
120 121 122 123 124 125 126 127 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 120 def label_Class o if o <= Types::PAnyType simple_name = o.name.split('::').last simple_name[1..-5] + "-Type" else o.name end end |
#label_CollectExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 28 def label_CollectExpression o ; label(o.query) end |
#label_ComparisonExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 33 def label_ComparisonExpression o ; "'#{o.operator}' expression" end |
#label_ConcatenatedString(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
59 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 59 def label_ConcatenatedString o ; "Double Quoted String" end |
#label_EppExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
29 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 29 def label_EppExpression o ; "Epp Template" end |
#label_ExportedCollector(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
97 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 97 def label_ExportedCollector o ; "Exported-Collector" end |
#label_ExportedQuery(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
30 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 30 def label_ExportedQuery o ; "Exported Query" end |
#label_Factory(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 21 def label_Factory o ; label(o.current) end |
#label_FalseClass(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
44 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 44 def label_FalseClass o ; "Boolean" end |
#label_Fixnum(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
85 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 85 def label_Fixnum o ; "Integer" end |
#label_Float(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
87 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 87 def label_Float o ; "Float" end |
#label_FunctionDefinition(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
62 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 62 def label_FunctionDefinition o ; "Function Definition" end |
#label_Hash(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
91 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 91 def label_Hash o ; "Hash" end |
#label_HeredocExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
60 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 60 def label_HeredocExpression o ; "'@(#{o.syntax})' expression" end |
#label_HostClassDefinition(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
61 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 61 def label_HostClassDefinition o ; "Host Class Definition" end |
#label_IfExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
69 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 69 def label_IfExpression o ; "'if' statement" end |
#label_InExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
36 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 36 def label_InExpression o ; "'in' expression" end |
#label_Integer(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
84 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 84 def label_Integer o ; "Integer" end |
#label_KeyedEntry(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
41 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 41 def label_KeyedEntry o ; "Hash Entry" end |
#label_LambdaExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 46 def label_LambdaExpression o ; "Lambda" end |
#label_LiteralBoolean(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 42 def label_LiteralBoolean o ; "Boolean" end |
#label_LiteralDefault(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
47 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 47 def label_LiteralDefault o ; "'default' expression" end |
#label_LiteralFloat(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 24 def label_LiteralFloat o ; "Literal Float" end |
#label_LiteralHash(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
40 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 40 def label_LiteralHash o ; "Hash Expression" end |
#label_LiteralInteger(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 23 def label_LiteralInteger o ; "Literal Integer" end |
#label_LiteralList(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
39 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 39 def label_LiteralList o ; "Array Expression" end |
#label_LiteralRegularExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 49 def label_LiteralRegularExpression o ; "Regular Expression" end |
#label_LiteralString(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
45 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 45 def label_LiteralString o ; "String" end |
#label_LiteralUndef(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
48 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 48 def label_LiteralUndef o ; "'undef' expression" end |
#label_MatchExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 27 def label_MatchExpression o ; "'#{o.operator}' expression" end |
#label_NamedAccessExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
51 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 51 def label_NamedAccessExpression o ; "'.' expression" end |
#label_NilClass(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
52 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 52 def label_NilClass o ; "Undef Value" end |
#label_NodeDefinition(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
63 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 63 def label_NodeDefinition o ; "Node Definition" end |
#label_Nop(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
50 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 50 def label_Nop o ; "Nop Expression" end |
#label_NotExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
53 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 53 def label_NotExpression o ; "'not' expression" end |
#label_Object(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
90 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 90 def label_Object o ; "Object" end |
#label_OrExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
35 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 35 def label_OrExpression o ; "'or' expression" end |
#label_PAnyType(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
94 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 94 def label_PAnyType o ; "#{o}-Type" end |
#label_Parameter(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
67 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 67 def label_Parameter o ; "Parameter Definition" end |
#label_ParenthesizedExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
68 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 68 def label_ParenthesizedExpression o ; "Parenthesized Expression" end |
#label_PResourceType(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
107 108 109 110 111 112 113 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 107 def label_PResourceType o if o.title "#{o} Resource-Reference" else "#{o}-Type" end end |
#label_QualifiedName(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
92 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 92 def label_QualifiedName o ; "Name" end |
#label_QualifiedReference(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
93 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 93 def label_QualifiedReference o ; "Type-Name" end |
#label_QueryExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
32 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 32 def label_QueryExpression o ; "Collect Query" end |
#label_Regexp(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
89 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 89 def label_Regexp o ; "Regexp" end |
#label_RelationshipExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
78 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 78 def label_RelationshipExpression o ; "'#{o.operator}' expression" end |
#label_RenderExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
77 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 77 def label_RenderExpression o ; "Epp Interpolated Expression" end |
#label_RenderStringExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
76 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 76 def label_RenderStringExpression o ; "Epp Text" end |
#label_ReservedWord(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
95 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 95 def label_ReservedWord o ; "Reserved Word '#{o.word}'" end |
#label_Resource(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
115 116 117 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 115 def label_Resource o 'Resource Statement' end |
#label_ResourceBody(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
79 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 79 def label_ResourceBody o ; "Resource Instance Definition" end |
#label_ResourceDefaultsExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
80 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 80 def label_ResourceDefaultsExpression o ; "Resource Defaults Expression" end |
#label_ResourceExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
81 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 81 def label_ResourceExpression o ; "Resource Statement" end |
#label_ResourceOverrideExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
66 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 66 def label_ResourceOverrideExpression o ; "Resource Override" end |
#label_ResourceTypeDefinition(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
65 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 65 def label_ResourceTypeDefinition o ; "'define' expression" end |
#label_SelectorEntry(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
83 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 83 def label_SelectorEntry o ; "Selector Option" end |
#label_SelectorExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
82 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 82 def label_SelectorExpression o ; "Selector Expression" end |
#label_Sensitive(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
103 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 103 def label_Sensitive o ; "Sensitive" end |
#label_SiteDefinition(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
64 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 64 def label_SiteDefinition o ; "Site Definition" end |
#label_String(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
88 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 88 def label_String o ; "String" end |
#label_TextExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
55 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 55 def label_TextExpression o ; "Expression in Interpolated String" end |
#label_Timespan(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
105 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 105 def label_Timespan o ; "Timespan" end |
#label_Timestamp(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
104 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 104 def label_Timestamp o ; "Timestamp" end |
#label_TrueClass(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
43 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 43 def label_TrueClass o ; "Boolean" end |
#label_TypeAlias(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
98 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 98 def label_TypeAlias o ; "Type Alias" end |
#label_TypeDefinition(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
100 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 100 def label_TypeDefinition o ; "Type Definition" end |
#label_TypeMapping(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
99 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 99 def label_TypeMapping o ; "Type Mapping" end |
#label_UnaryMinusExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
56 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 56 def label_UnaryMinusExpression o ; "Unary Minus" end |
#label_UnfoldExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
57 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 57 def label_UnfoldExpression o ; "Unfold" end |
#label_UnlessExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
70 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 70 def label_UnlessExpression o ; "'unless' Statement" end |
#label_VariableExpression(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
54 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 54 def label_VariableExpression o ; "Variable" end |
#label_VirtualQuery(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
31 |
# File 'lib/puppet/pops/model/model_label_provider.rb', line 31 def label_VirtualQuery o ; "Virtual Query" end |