public final class DotInterpreter
extends org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>
Graph instance from a DOT string by interpreting the AST of
the parsed DOT.| Constructor and Description |
|---|
DotInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
caseAttrStmt(org.eclipse.gef4.dot.internal.parser.dot.AttrStmt attrStmt)
Returns the result of interpreting the object as an instance of 'Attr Stmt'
|
java.lang.Object |
caseDotGraph(org.eclipse.gef4.dot.internal.parser.dot.DotGraph dotGraph)
Returns the result of interpreting the object as an instance of 'Graph'
|
java.lang.Object |
caseEdgeRhsNode(org.eclipse.gef4.dot.internal.parser.dot.EdgeRhsNode object)
Returns the result of interpreting the object as an instance of 'Edge Rhs Node'
|
java.lang.Object |
caseEdgeStmtNode(org.eclipse.gef4.dot.internal.parser.dot.EdgeStmtNode object)
Returns the result of interpreting the object as an instance of 'Edge Stmt Node'
|
java.lang.Object |
caseNodeId(org.eclipse.gef4.dot.internal.parser.dot.NodeId object)
Returns the result of interpreting the object as an instance of 'Node Id'
|
java.lang.Object |
caseNodeStmt(org.eclipse.gef4.dot.internal.parser.dot.NodeStmt nodeStmt)
Returns the result of interpreting the object as an instance of 'Node Stmt'
|
java.util.List<org.eclipse.gef4.graph.Graph> |
interpret(org.eclipse.gef4.dot.internal.parser.dot.DotAst dotAst) |
public java.util.List<org.eclipse.gef4.graph.Graph> interpret(org.eclipse.gef4.dot.internal.parser.dot.DotAst dotAst)
dotAst - The DOT abstract syntax tree (AST) to interpretpublic java.lang.Object caseDotGraph(org.eclipse.gef4.dot.internal.parser.dot.DotGraph dotGraph)
org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitchcaseDotGraph in class org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>dotGraph - the target of the switch.doSwitch(EObject)public java.lang.Object caseAttrStmt(org.eclipse.gef4.dot.internal.parser.dot.AttrStmt attrStmt)
org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitchcaseAttrStmt in class org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>attrStmt - the target of the switch.doSwitch(EObject)public java.lang.Object caseNodeStmt(org.eclipse.gef4.dot.internal.parser.dot.NodeStmt nodeStmt)
org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitchcaseNodeStmt in class org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>nodeStmt - the target of the switch.doSwitch(EObject)public java.lang.Object caseEdgeStmtNode(org.eclipse.gef4.dot.internal.parser.dot.EdgeStmtNode object)
org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitchcaseEdgeStmtNode in class org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>object - the target of the switch.doSwitch(EObject)public java.lang.Object caseNodeId(org.eclipse.gef4.dot.internal.parser.dot.NodeId object)
org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitchcaseNodeId in class org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>object - the target of the switch.doSwitch(EObject)public java.lang.Object caseEdgeRhsNode(org.eclipse.gef4.dot.internal.parser.dot.EdgeRhsNode object)
org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitchcaseEdgeRhsNode in class org.eclipse.gef4.dot.internal.parser.dot.util.DotSwitch<java.lang.Object>object - the target of the switch.doSwitch(EObject)Copyright (c) 2014 itemis AG and others. All rights reserved.