Module lib_ruby_parser::source[][src]

Expand description

Module with everything related to output of the Parser, but not related to AST, like Comment, Input, CustomDecoder

Structs

Comment

A struct that represents a comment in Ruby

CustomDecoder

Custom decoder, a wrapper around a function

DecodedInput

Decoded input

Input

Representation of the source code.

MagicComment

Representation of a magic comment in Ruby

SourceLine

Representation of a source line in a source file

Enums

CommentType

Enum of all possible comment types

CustomDecoderResult

Result that is returned from decoding function

InputError

An enum with all possible kinds of errors that can be returned from a decoder

MagicCommentKind

An enum of all magic comment kinds

Traits

SourceLineTrait

Trait with common methods of SourceLine (Rust- or external-based)