Top Inners Fields Constructors Methods
org.jruby.ext.ripper

public Class RipperParserBase

extends Object
Class Inheritance
Known Direct Subclasses
org.jruby.ext.ripper.RipperParser
Imports
java.io.IOException, java.util.HashSet, .Set, org.jcodings.Encoding, org.jcodings.specific.USASCIIEncoding, org.jruby.*, org.jruby.ast.DefHolder, .Node, org.jruby.lexer.LexerSource, org.jruby.lexer.yacc.LexContext, .StackState, org.jruby.parser.NodeExits, .ProductionState, .RubyParserBase, .ScopedParserState, .StaticScope, org.jruby.runtime.Helpers, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.ByteList, .StringSupport

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
public IRubyObject
protected ThreadContext
private ByteList
protected StaticScope
protected boolean
protected boolean
protected int
protected boolean
private IRubyObject
private Set<ByteList>
protected RubyLexer
private int
public static final ByteList
private Node
private Node
private Node
protected IRubyObject
protected ScopedParserState
private Set<ByteList>
protected boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
protected NodeExits
public IRubyObject
public RubyString
arg_var(ByteList byteName)

private IRubyObject
protected IRubyObject
private String
public IRubyObject
public IRubyObject
protected IRubyObject
protected void
protected IRubyObject
call_bin_op(IRubyObject left, IRubyObject id, IRubyObject right, int line)

protected IRubyObject
call_bin_op(IRubyObject left, ByteList id, IRubyObject right, int line)

protected IRubyObject
protected IRubyObject
public boolean
protected void
clear_block_exit(boolean value)

public IRubyObject
protected IRubyObject
public IRubyObject
createStr(ByteList data, int flags)

public IRubyObject
dispatch(String method_name)

public IRubyObject
dispatch(String method_name, IRubyObject arg1)

public IRubyObject
dispatch(String method_name, IRubyObject arg1, IRubyObject arg2)

public IRubyObject
dispatch(String method_name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)

public IRubyObject
dispatch(String method_name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4)

public IRubyObject
dispatch(String method_name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, IRubyObject arg5)

public IRubyObject
dispatch(String method_name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, IRubyObject arg5, IRubyObject arg6, IRubyObject arg7)

protected boolean
public Encoding
public void
public void
public void
protected void
public IRubyObject
protected ByteList
public IRubyObject
fals()

public IRubyObject
protected void
public RubySymbol
public RubySymbol
get_id(IRubyObject _ignored)

protected IRubyObject
protected IRubyObject
protected Set<E>
get_value(Set<E> set)

protected IRubyObject
get_value(RubyArray<T extends IRubyObject> holder)

public int
public StackState
public long
public StackState
public ThreadContext
public ByteList
public StaticScope
public Encoding
public int
public int
public Integer
protected LexContext
public long
protected int
public Ruby
public int
public StrTerm
protected void
public boolean
public boolean
public IRubyObject
public boolean
public static RubyParserBase.IDType
id_type(ByteList identifier)

public Integer
protected NodeExits
public void
public IRubyObject
intern(String value)

public IRubyObject
public IRubyObject
public boolean
public boolean
public boolean
public boolean
protected boolean
public boolean
public boolean
private boolean
protected IRubyObject
public IRubyObject
public boolean
protected IRubyObject
public IRubyObject
protected IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
public ArgsTailHolder
new_args_tail(int line, IRubyObject kwarg, IRubyObject kwargRest, ByteList block)

public ArgsTailHolder
new_args_tail(int _line, IRubyObject kwarg, IRubyObject kwargRest, IRubyObject block)

public ArgsTailHolder
new_args_tail(int _line, IRubyObject kwarg, ByteList kwargRest, IRubyObject block)

protected ArgsTailHolder
new_args_tail(int line, IRubyObject keywordArg, ByteList keywordRestArgName, ByteList block)

public IRubyObject
public IRubyObject
new_array_pattern(int _line, IRubyObject constant, IRubyObject preArg, RubyArray<T extends IRubyObject> arrayPattern)

public RubyArray<T extends IRubyObject>
new_array_pattern_tail(int _line, IRubyObject preArgs, boolean hasRest, IRubyObject restArg, RubyArray<T extends IRubyObject> postArgs)

public IRubyObject
public IRubyObject
new_bv(ByteList identifier)

protected IRubyObject
new_defined(long _line, IRubyObject value)

protected IRubyObject
public IRubyObject
new_find_pattern(IRubyObject constant, RubyArray<T extends IRubyObject> findPattern)

public RubyArray<T extends IRubyObject>
new_find_pattern_tail(int _line, IRubyObject preRestArg, IRubyObject args, IRubyObject postRestArg)

public IRubyObject
new_hash_pattern(IRubyObject constant, RubyArray<T extends IRubyObject> hashPattern)

public RubyArray<T extends IRubyObject>
new_hash_pattern_tail(int _line, IRubyObject keywordArgs, IRubyObject keywordRestValue)

pack-priv IRubyObject
public IRubyObject
new_regexp(int line, IRubyObject contents, IRubyObject end)

protected void
public IRubyObject
nil()

public IRubyObject
none()

public void
public void
numparam_pop(Node previousInner)

public Node
public void
private IRubyObject
public IRubyObject
parse(boolean isDebug)

The parse method use an lexer stream and parse it to an AST node structure

protected void
protected void
public void
protected void
protected Set<ByteList>
public Set<ByteList>
public void
public void
public IRubyObject
public void
public int
protected void
public void
public int
restoreMaxNumParam(int maxNum)

protected IRubyObject
protected void
public void
setBraceNest(int braceNest)

public void
setCommandStart(boolean value)

public void
public void
setHeredocIndent(int indent)

protected void
public void
setInDef(boolean inDefinition)

public void
setInSingle(int inSingleton)

public void
setIsInClass(boolean inClass)

public void
protected void
public void
setState(int lexState)

public void
public void
setYYDebug(boolean yydebug)

public ByteList
protected int
public RubySymbol
symbolID(ByteList identifierValue)

public RubySymbol
protected void
protected void
protected void
protected void
protected void
token_info_warn(String name, int same, ProductionState loc)

protected IRubyObject
public IRubyObject
public IRubyObject
public void
warn(int _line, String message)

public void
warn(String message)

protected void
public void
warn_experimental(int line, String message)

public void
warning(int _line, String message)

public void
warning(String message)

public void
yyerror(String message)

public void
yyerror(String message, String[] expected, String found)

public Object
public Object
yyparse(RubyLexer yyLex, Object debugger)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait