Class

IRB::SLex::Node

Inheritance
< Object

Attributes

Name Visibility R/W Description
postproc public RW
preproc public RW

Methods

Class

Visibility Signature
public new (preproc = nil, postproc = nil)

Instance

Visibility Signature
public create_subnode (chrs, preproc = nil, postproc = nil)
public match (chrs, op = "")
public match_io (io, op = "")
public search (chrs, opt = nil)

Class Method Detail

new(preproc = nil, postproc = nil)

if postproc is nil, this node is an abstract node. if postproc is non-nil, this node is a real node.

Instance Method Detail

create_subnode(chrs, preproc = nil, postproc = nil)

match(chrs, op = "")

chrs: String

      character array
      io must have getc()/ungetc(); and ungetc() must be
      able to be called arbitrary number of times.

match_io(io, op = "")

search(chrs, opt = nil)