| Modifier and Type | Field and Description |
|---|---|
| private Encoding | |
| private boolean | |
| private boolean | |
| private int | |
| private final Ruby | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData)
|
| public | ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, RubyInstanceConfig config)
Deprecated
|
| public | ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData, RubyInstanceConfig config)
|
| Modifier and Type | Method and Description |
|---|---|
| public Encoding | |
| public EncodingService | |
| public KCode | |
| public int | |
| public Ruby | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if source is from -e optionAre we parsing source provided as part of the '-e' option to Ruby. |
| public boolean | |
| public void | parseAsBlock(DynamicScope
is the scope that captures new vars, etc... existingScope)If we are performing an eval we should pass existing scope in. Calling this lets the parser know we need to do this. |
| public void |
| defaultEncoding | back to summary |
|---|---|
| private Encoding defaultEncoding | |
| inlineSource | back to summary |
|---|---|
| private boolean inlineSource | |
| isEvalParse | back to summary |
|---|---|
| private boolean isEvalParse | |
| lineNumber | back to summary |
|---|---|
| private int lineNumber | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| saveData | back to summary |
|---|---|
| private boolean saveData | |
| ParserConfiguration | back to summary |
|---|---|
| public ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData) | |
| ParserConfiguration | back to summary |
|---|---|
| public ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, RubyInstanceConfig config)
Deprecated
| |
| ParserConfiguration | back to summary |
|---|---|
| public ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData, RubyInstanceConfig config) | |
| getDefaultEncoding | back to summary |
|---|---|
| public Encoding getDefaultEncoding() | |
| getEncodingService | back to summary |
|---|---|
| public EncodingService getEncodingService() | |
| getKCode | back to summary |
|---|---|
| public KCode getKCode() | |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() | |
| getRuntime | back to summary |
|---|---|
| public Ruby getRuntime() | |
| isDebug | back to summary |
|---|---|
| public boolean isDebug() | |
| isEvalParse | back to summary |
|---|---|
| public boolean isEvalParse() Is the requested parse for an eval()?
| |
| isInlineSource | back to summary |
|---|---|
| public boolean isInlineSource() Are we parsing source provided as part of the '-e' option to Ruby.
| |
| isSaveData | back to summary |
|---|---|
| public boolean isSaveData() Get whether we are saving the DATA contents of the file. | |
| parseAsBlock | back to summary |
|---|---|
| public void parseAsBlock(DynamicScope existingScope) If we are performing an eval we should pass existing scope in. Calling this lets the parser know we need to do this.
| |
| setDefaultEncoding | back to summary |
|---|---|
| public void setDefaultEncoding(Encoding encoding) | |