Package | Description |
---|---|
org.kevoree.kevscript | |
org.kevoree.kevscript.expression | |
org.kevoree.kevscript.statement | |
org.kevoree.kevscript.util | |
org.waxeye.ast | |
org.waxeye.ast.print | |
org.waxeye.parser |
Modifier and Type | Method and Description |
---|---|
static void |
Interpreter.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars,
Resolver resolver) |
Modifier and Type | Method and Description |
---|---|
static String |
StringExpr.interpret(IAST<Type> node) |
static String |
WildcardExpr.interpret(IAST<Type> node) |
static String |
RealStringNoNewLineExpr.interpret(IAST<Type> expr) |
static String |
RealStringExpr.interpret(IAST<Type> expr) |
static TypeFQN.Version |
VersionExpr.interpret(IAST<Type> versNode,
Map<String,String> ctxVars) |
static List<List<String>> |
NameListExpr.interpret(IAST<Type> expr,
Map<String,String> ctxVars) |
static Map.Entry<String,String> |
VersionLineExpr.interpret(IAST<Type> lineNode,
Map<String,String> ctxVars) |
static String |
GenCtxVarExpr.interpret(IAST<Type> node,
Map<String,String> ctxVars) |
static String |
CtxVarExpr.interpret(IAST<Type> node,
Map<String,String> ctxVars) |
static List<String> |
InstancePathExpr.interpret(IAST<Type> expr,
Map<String,String> ctxVars) |
static String |
InterpretExpr.interpret(IAST<Type> expr,
Map<String,String> ctxVars) |
static Map<String,String> |
VersionLinesExpr.interpret(IAST<Type> linesNode,
Map<String,String> ctxVars) |
static Map<String,String> |
VersionDeclExpr.interpret(IAST<Type> declNode,
Map<String,String> ctxVars) |
static String |
TdefVersionExpr.interpret(IAST<Type> tdefVers,
Map<String,String> ctxVars) |
static TypeFQN |
TypeDefExpr.interpret(IAST<Type> node,
Map<String,String> ctxVars) |
Modifier and Type | Method and Description |
---|---|
static void |
AddRepoStmt.interpret(IAST<Type> stmt,
ContainerRoot model) |
static void |
AddBindingStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
StopStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
NetworkStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
SetStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
DetachStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
StartStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
RemoveStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
DelBindingStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
AttachStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
MoveStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
static void |
AddStmt.interpret(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars,
Resolver resolver) |
Modifier and Type | Method and Description |
---|---|
static List<Port> |
PortResolver.resolve(ContainerRoot model,
IAST<Type> node) |
static List<Instance> |
InstanceResolver.resolve(IAST<Type> stmt,
ContainerRoot model,
Map<String,String> ctxVars) |
Modifier and Type | Class and Description |
---|---|
class |
AST<E extends Enum<?>>
A class to represent an abstract syntax tree.
|
class |
Char<E extends Enum<?>>
An AST node with a character.
|
class |
Empty<E extends Enum<?>>
A class to represent an kevs.empty AST.
|
class |
NoChildren<E extends Enum<?>>
A class to represent an AST with no children.
|
Modifier and Type | Method and Description |
---|---|
List<IAST<E>> |
IAST.getChildren()
Returns the children.
|
List<IAST<E>> |
AST.getChildren()
Returns the children.
|
List<IAST<E>> |
NoChildren.getChildren()
Returns a new kevs.empty list since this node doesn't allow children.
|
Modifier and Type | Method and Description |
---|---|
void |
IASTVisitor.visitAST(IAST<?> tree)
Visits the tree as a AST.
|
Constructor and Description |
---|
AST(E type,
List<IAST<E>> children,
Position position)
Creates a new AST.
|
Modifier and Type | Method and Description |
---|---|
void |
SexprPrinter.visitAST(IAST<?> tree)
Visits the tree as a AST.
|
void |
ArrowPrinter.visitAST(IAST<?> tree)
Visits the tree as a AST.
|
Constructor and Description |
---|
ArrowPrinter(IAST<?> tree)
Creates a new ArrowPrinter.
|
SexprPrinter(IAST<?> tree)
Creates a new SexprPrinter.
|
Modifier and Type | Method and Description |
---|---|
IAST<E> |
AutomatonTransition.acceptVisitor(ITransitionVisitor<E> visitor)
If this transition cost can be accepted by the parser.
|
IAST<E> |
WildCardTransition.acceptVisitor(ITransitionVisitor<E> visitor)
If this transition cost can be accepted by the parser.
|
IAST<E> |
CharTransition.acceptVisitor(ITransitionVisitor<E> visitor)
If this transition cost can be accepted by the parser.
|
IAST<E> |
ITransition.acceptVisitor(ITransitionVisitor<E> visitor)
If this transition cost can be accepted by the parser.
|
IAST<E> |
ParseResult.getAST()
Returns the ast.
|
IAST<E> |
ITransitionVisitor.visitAutomatonTransition(AutomatonTransition<E> t)
Visits the automaton transition.
|
IAST<E> |
ITransitionVisitor.visitCharTransition(CharTransition<E> t)
Visits the char transition.
|
IAST<E> |
ITransitionVisitor.visitWildCardTransition(WildCardTransition<E> t)
Visits the wildcard transition.
|
Constructor and Description |
---|
ParseResult(IAST<E> ast,
ParseError error)
Creates a new ParseResult.
|
Copyright © 2017 Kevoree Project. All rights reserved.