Class: AdLint::Cpp::SyntaxNode
Direct Known Subclasses
AsmLine, ElifGroup, ElifGroups, ElseGroup, EndasmLine, EndifLine, Expression, Group, GroupPart, IdentifierList, IfGroup, PPTokens, PreprocessingFile
Instance Method Summary
collapse
#analysis_target?
Methods included from Visitable
#accept
Instance Method Details
#inspect(indent = 0) ⇒ Object
48
49
50
|
# File 'lib/adlint/cpp/syntax.rb', line 48
def inspect(indent = 0)
subclass_responsibility
end
|
#location ⇒ Object
44
45
46
|
# File 'lib/adlint/cpp/syntax.rb', line 44
def location
subclass_responsibility
end
|
#short_class_name ⇒ Object
52
53
54
|
# File 'lib/adlint/cpp/syntax.rb', line 52
def short_class_name
self.class.name.sub(/\A.*::/, "")
end
|