Package | Description |
---|---|
org.jruby.lexer.yacc | |
org.jruby.parser |
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayLexerSource |
class |
InputStreamLexerSource |
Modifier and Type | Method and Description |
---|---|
static LexerSource |
LexerSource.getSource(String name,
byte[] content,
List<String> list,
ParserConfiguration configuration) |
static LexerSource |
LexerSource.getSource(String name,
InputStream content,
List<String> list,
ParserConfiguration configuration)
Create a source.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
StrTerm.parseString(RubyLexer lexer,
LexerSource src) |
int |
StringTerm.parseString(RubyLexer lexer,
LexerSource src) |
int |
HeredocTerm.parseString(RubyLexer lexer,
LexerSource src) |
int |
StringTerm.parseStringIntoBuffer(RubyLexer lexer,
LexerSource src,
org.jruby.util.ByteList buffer) |
void |
RubyLexer.setSource(LexerSource source)
Allow the parser to set the source for its lexer.
|
Modifier and Type | Method and Description |
---|---|
RubyParserResult |
RubyParser.parse(ParserConfiguration configuration,
LexerSource source)
The parse method use an lexer stream and parse it to an AST node
structure
|
Node |
Parser.parse(String file,
LexerSource lexerSource,
DynamicScope blockScope,
ParserConfiguration configuration) |
Copyright © 2001-2015 JRuby. All Rights Reserved.