Skip to content

7nohe/ruby-parser

Repository files navigation

ruby-parser

ruby-parser is a Ruby parser for Node.js written in Rust.

Supported nodes

  • Alias
  • And
  • AndAsgn
  • Arg
  • Args
  • Array
  • ArrayPattern
  • ArrayPatternWithTail
  • BackRef
  • Begin
  • Block
  • Blockarg
  • BlockPass
  • Break
  • Case
  • CaseMatch
  • Casgn
  • Cbase
  • Class
  • Complex
  • Const
  • ConstPattern
  • CSend
  • Cvar
  • Cvasgn
  • Def
  • Defined
  • Defs
  • Dstr
  • Dsym
  • EFlipFlop
  • EmptyElse
  • Encoding
  • Ensure
  • Erange
  • False
  • File
  • FindPattern
  • Float
  • For
  • ForwardArg
  • ForwardedArgs
  • Gvar
  • Gvasgn
  • Hash
  • HashPattern
  • Heredoc
  • If
  • IfGuard
  • IFlipFlop
  • IfMod
  • IfTernary
  • Index
  • IndexAsgn
  • InPattern
  • Int
  • Irange
  • Ivar
  • Ivasgn
  • Kwarg
  • Kwargs
  • KwBegin
  • Kwnilarg
  • Kwoptarg
  • Kwrestarg
  • Kwsplat
  • Lambda
  • Line
  • Lvar
  • Lvasgn
  • Masgn
  • MatchAlt
  • MatchAs
  • MatchCurrentLine
  • MatchNilPattern
  • MatchPattern
  • MatchPatternP
  • MatchRest
  • MatchVar
  • MatchWithLvasgn
  • Mlhs
  • Module
  • Next
  • Nil
  • NthRef
  • Numblock
  • OpAsgn
  • Optarg
  • Or
  • OrAsgn
  • Pair
  • Pin
  • Postexe
  • Preexe
  • Procarg0
  • Rational
  • Redo
  • Regexp
  • RegOpt
  • Rescue
  • RescueBody
  • Restarg
  • Retry
  • Return
  • SClass
  • Self_
  • Send
  • Shadowarg
  • Splat
  • Str
  • Super
  • Sym
  • True
  • Undef
  • UnlessGuard
  • Until
  • UntilPost
  • When
  • While
  • WhilePost
  • XHeredoc
  • Xstr
  • Yield
  • ZSuper