Lines Matching refs:target
23 def process parent, target, attributes
29 # Check if a link macro target exists - overridden by specific macros
31 def exists? target
35 def process parent, target, attributes
36 if not exists? target
37 # If the macro target is not in this build, but has an alias,
40 if $apiNames.nonexistent.has_key? target
41 oldtarget = target
42 target = $apiNames.nonexistent[oldtarget]
43 msg = 'Rewriting nonexistent link macro target: ' + @name.to_s + ':' + oldtarget + ' to ' + target
49 msg = 'Textifying unknown link macro target: ' + @name.to_s + ':' + target
52 return create_inline parent, :quoted, '<code>' + target + '</code>'
57 return Inline.new(parent, :anchor, target, :type => :link, :target => (target + '.html'))
59 return Inline.new(parent, :anchor, target, :type => :xref, :target => ('#' + target), :attributes => {'fragment' => target, 'refid' => target})
65 def process parent, target, attributes
66 if $apiNames.nonexistent.has_key? target
67 oldtarget = target
68 target = $apiNames.nonexistent[oldtarget]
69 msg = 'Rewriting nonexistent name macro target: ' + @name.to_s + ':' + oldtarget + ' to ' + target
72 create_inline parent, :quoted, '<code>' + target.gsub('→', '->') + '</code>'
77 def process parent, target, attributes
78 create_inline parent, :quoted, '<code>' + target.gsub('→', '->') + '</code>'
83 def process parent, target, attributes
84 create_inline parent, :quoted, '<code>' + target.gsub('→', '->') + '</code>'
171 def exists? target
172 $apiNames.features.has_key? target
180 def exists? target
181 $apiNames.protos.has_key? target
204 def exists? target
205 $apiNames.structs.has_key? target or $apiNames.handles.has_key? target
218 def exists? target
219 $apiNames.consts.has_key? target
227 def exists? target
228 $apiNames.enums.has_key? target
258 def exists? target
259 $apiNames.defines.has_key? target
272 def exists? target
273 $apiNames.flags.has_key? target or
274 $apiNames.funcpointers.has_key? target or
275 $apiNames.defines.has_key? target
283 def exists? target
284 $apiNames.basetypes.has_key? target
314 def process parent, target, attributes