Package | Description |
---|---|
io.opsit.explang | |
io.opsit.explang.atom | |
io.opsit.explang.parser.lisp | |
io.opsit.explang.parser.sexp |
Modifier and Type | Field and Description |
---|---|
protected ParseCtx |
Compiler.AbstractForm.debugInfo |
protected ParseCtx |
Funcs.AbstractExpr.debugInfo |
protected ParseCtx |
Compiler.InstanceProxy.pctx |
protected ParseCtx |
InvalidParametersException.pctx |
protected ParseCtx |
ASTN.pctx |
protected ParseCtx |
ParserException.pctx |
protected ParseCtx |
Backtrace.Frame.pctx |
Modifier and Type | Method and Description |
---|---|
ParseCtx |
ParseCtx.clone() |
ParseCtx |
Compiler.AbstractForm.getDebugInfo() |
ParseCtx |
Compiler.InstanceProxy.getDebugInfo() |
ParseCtx |
LazyEval.getDebugInfo() |
ParseCtx |
ICompiled.getDebugInfo() |
ParseCtx |
Funcs.AbstractExpr.getDebugInfo() |
ParseCtx |
InvalidParametersException.getParseCtx() |
ParseCtx |
ASTN.getPctx() |
ParseCtx |
ParserException.getPctx() |
ParseCtx |
ParseCtx.upto(ParseCtx pctx) |
Modifier and Type | Method and Description |
---|---|
static ASTN |
Utils.astnize(Object param,
ParseCtx ctx)
Make AST node of objects (honoring lists).
|
ASTNList |
IParser.parse(ParseCtx pxt,
Reader reader,
int maxExprs) |
ASTNList |
IParser.parse(ParseCtx pxt,
String input) |
ASTNList |
IParser.parse(ParseCtx pxt,
String input,
int maxExprs) |
void |
Backtrace.push(String frameName,
ParseCtx pctx,
Compiler.ICtx ctx) |
void |
Compiler.AbstractForm.setDebugInfo(ParseCtx debugInfo) |
void |
Compiler.InstanceProxy.setDebugInfo(ParseCtx pctx) |
void |
LazyEval.setDebugInfo(ParseCtx pctx) |
void |
ICompiled.setDebugInfo(ParseCtx pctx) |
void |
Funcs.AbstractExpr.setDebugInfo(ParseCtx debugInfo) |
ParseCtx |
ParseCtx.upto(ParseCtx pctx) |
Constructor and Description |
---|
ASTN(Object object,
ParseCtx pctx)
Make an ASTN node for a code node.
|
ASTN(Object object,
ParseCtx pctx,
boolean isComment)
Make an ASTN node, possible for a comment node.
|
ASTN(Object object,
ParseCtx pctx,
Exception ex)
Make an ASTN node for an invalid expression.
|
ASTNLeaf(Object object,
ParseCtx pctx) |
ASTNLeaf(Object object,
ParseCtx pctx,
boolean isComment) |
ASTNLeaf(Object object,
ParseCtx pctx,
Exception ex) |
ASTNList(List<ASTN> object,
ParseCtx pctx) |
ASTNList(List<ASTN> object,
ParseCtx pctx,
boolean isComment) |
CompilationException(ParseCtx pctx,
String msg)
Construct compilation exception.
|
Frame(String frameName,
ParseCtx pctx,
Compiler.ICtx ctx)
Create backtrace frame with given attributes.
|
InvalidParametersException(ParseCtx pctx,
String msg) |
ParserEOFException(ParseCtx pctx,
String msg) |
ParserEOFException(ParseCtx pctx,
String msg,
Throwable throwable) |
ParserException(ParseCtx pctx,
String msg)
Make parser exception given code location and message.
|
ParserException(ParseCtx pctx,
String msg,
Throwable thr)
Make parser exception given code location, message and original exception.
|
ParserExceptions(ParseCtx pctx,
List<ParserException> errList)
Make summary exception given list of parser exceptions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SymbolParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
AtomParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
NullParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
SymfuncParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
EscStringParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
BooleanParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
VersionParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
StringParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
KeywordParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
RegexpParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
boolean |
NumberParser.parse(String str,
Object[] holder,
ParseCtx pctx) |
Constructor and Description |
---|
AtomParseException(ParseCtx pctx,
String msg)
Create parse exception given source code location and message.
|
AtomParseException(ParseCtx pctx,
String msg,
Throwable t)
Create parse exception given source code location, message and throwable.
|
Modifier and Type | Method and Description |
---|---|
protected static int |
LispParser.doReadChar(PushbackReader reader,
ParseCtx pctx) |
protected static void |
LispParser.doUnreadChar(PushbackReader reader,
ParseCtx pctx,
int n) |
ASTN |
MacroFuncs.ReadRightParen.execute(char terminator,
PushbackReader is,
ReadTable rt,
ParseCtx pctx) |
ASTN |
MacroFuncs.ReadList.execute(char terminator,
PushbackReader is,
ReadTable rt,
ParseCtx pctx)
Read list ( ...
|
ASTN |
MacroFuncs.ReadDispatchChar.execute(char dispChar,
PushbackReader is,
ReadTable rt,
ParseCtx pctx)
Read optional dispatch numeric argument and dispatch
subcharacter and execute its function if one is defined.
|
ASTN |
MacroFuncs.ReadQuote.execute(char terminator,
PushbackReader is,
ReadTable rt,
ParseCtx pctx)
Read quoted expression.
|
ASTN |
MacroFuncs.ReadComment.execute(char c,
PushbackReader is,
ReadTable rt,
ParseCtx pctx) |
ASTN |
MacroFuncs.ReadString.execute(char terminator,
PushbackReader is,
ReadTable rt,
ParseCtx pctx)
Read string literals.
|
ASTN |
IReaderMacroFunc.execute(char c,
PushbackReader is,
ReadTable rt,
ParseCtx pctx) |
ASTN |
IDispatchMacroFunc.execute(PushbackReader is,
ParseCtx pctx,
ReadTable rt,
char c,
int numArg) |
ASTN |
MacroFuncs.ReadSharpBackSlash.execute(PushbackReader is,
ParseCtx pctx,
ReadTable rt,
char quot,
int numArg)
Read Character literal.
|
ASTN |
MacroFuncs.ReadSharpQuote.execute(PushbackReader is,
ParseCtx pctx,
ReadTable rt,
char quot,
int numArg) |
ASTN |
MacroFuncs.ReadSharpQMark.execute(PushbackReader is,
ParseCtx pctx,
ReadTable rt,
char quot,
int numArg) |
ASTN |
MacroFuncs.ReadSharpG.execute(PushbackReader is,
ParseCtx pctx,
ReadTable rt,
char quot,
int numArg) |
protected ASTN |
LispParser.parse_expr(ParseCtx pctx,
PushbackReader reader)
parse one expression from input stream.
|
ASTNList |
LispParser.parse(ParseCtx pctx,
Reader r,
int maxExprs)
Parse up to maxExprs from the input stream.
|
ASTNList |
LispParser.parse(ParseCtx pctx,
String input) |
ASTNList |
LispParser.parse(ParseCtx pctx,
String str,
int maxExprs)
Parse up to maxExprs from the input string.
|
Modifier and Type | Method and Description |
---|---|
ASTNList |
SexpParser.parse(ParseCtx pctx,
InputStream is,
int maxExprs) |
ASTNList |
SexpParser.parse(ParseCtx pctx,
Reader reader,
int maxExprs) |
ASTNList |
SexpParser.parse(ParseCtx pctx,
String input) |
ASTNList |
SexpParser.parse(ParseCtx pctx,
String input,
int maxExprs) |
Copyright © 2022. All rights reserved.