Module: RuboCop::AST::Sexp
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
AliasNode ,
AndAsgnNode ,
AndNode ,
ArgNode ,
ArgsNode ,
ArrayNode ,
AsgnNode ,
BlockNode ,
BreakNode ,
CaseMatchNode ,
CaseNode ,
CasgnNode ,
ClassNode ,
ConstNode ,
CsendNode ,
DefNode ,
DefinedNode ,
DstrNode ,
EnsureNode ,
FloatNode ,
ForNode ,
ForwardArgsNode ,
HashNode ,
IfNode ,
InPatternNode ,
IndexNode ,
IndexasgnNode ,
IntNode ,
KeywordBeginNode ,
KeywordSplatNode ,
LambdaNode ,
MasgnNode ,
MlhsNode ,
ModuleNode ,
NextNode ,
Node ,
OpAsgnNode ,
OrAsgnNode ,
OrNode ,
PairNode ,
Procarg0Node ,
RangeNode ,
RationalNode ,
RegexpNode ,
ResbodyNode ,
RescueNode ,
ReturnNode ,
SelfClassNode ,
SendNode ,
StrNode ,
SuperNode ,
SymbolNode ,
UntilNode ,
VarNode ,
WhenNode ,
WhileNode ,
YieldNode
| |
Defined in: | lib/rubocop/ast/sexp.rb |
Overview
This module provides a shorthand method to create a Node
like
Parser::AST::Sexp
.
Instance Method Summary
-
#s(type, *children)
Creates a
Node
with typetype
and childrenchildren
.
Instance Method Details
#s(type, *children)
Creates a Node
with type type
and children children
.