Package org.intocps.maestro.ast
Class LexToken
java.lang.Object
org.intocps.maestro.ast.node.Node
org.intocps.maestro.ast.node.Token
org.intocps.maestro.ast.LexToken
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<org.intocps.maestro.ast.node.INode>,org.intocps.maestro.ast.node.INode,org.intocps.maestro.ast.node.IToken
public class LexToken
extends org.intocps.maestro.ast.node.Token
- See Also:
-
Field Summary
Fields inherited from class org.intocps.maestro.ast.node.Node
_visitedNodes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.intocps.maestro.ast.analysis.intf.IAnalysis analysis) Applies this node to theIAnalysisvisitoranalysis.<A> Aapply(org.intocps.maestro.ast.analysis.intf.IAnswer<A> caller) Returns the answer forcallerby applying this node to theIAnswervisitor.<Q> voidapply(org.intocps.maestro.ast.analysis.intf.IQuestion<Q> caller, Q question) Applies this node to theIQuestionvisitorcaller.<Q,A> A apply(org.intocps.maestro.ast.analysis.intf.IQuestionAnswer<Q, A> caller, Q question) Returns the answer foranswerby applying this node with thequestionto theIQuestionAnswervisitor.clone()org.intocps.maestro.ast.node.INodetoString()Methods inherited from class org.intocps.maestro.ast.node.Token
getChildren, getLine, getPos, getText, removeChild, setLine, setPos, setTextMethods inherited from class org.intocps.maestro.ast.node.Node
cloneList, cloneList, cloneListExternal, cloneListExternal, cloneListList, cloneListList, cloneNode, cloneNode, compareTo, getAllFields, getAncestor, parent, parent, replaceChildMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.intocps.maestro.ast.node.INode
getAncestor, parent, parent, replaceChild
-
Constructor Details
-
LexToken
-
-
Method Details
-
clone
- Specified by:
clonein interfaceorg.intocps.maestro.ast.node.INode- Specified by:
clonein classorg.intocps.maestro.ast.node.Node
-
clone
public org.intocps.maestro.ast.node.INode clone(Map<org.intocps.maestro.ast.node.INode, org.intocps.maestro.ast.node.INode> oldToNewMap) - Specified by:
clonein interfaceorg.intocps.maestro.ast.node.INode- Specified by:
clonein classorg.intocps.maestro.ast.node.Node
-
apply
public void apply(org.intocps.maestro.ast.analysis.intf.IAnalysis analysis) throws org.intocps.maestro.ast.analysis.AnalysisException Description copied from class:org.intocps.maestro.ast.node.NodeApplies this node to theIAnalysisvisitoranalysis.- Specified by:
applyin interfaceorg.intocps.maestro.ast.node.INode- Specified by:
applyin classorg.intocps.maestro.ast.node.Node- Parameters:
analysis- theIAnalysisto which this node is applied- Throws:
org.intocps.maestro.ast.analysis.AnalysisException
-
apply
public <A> A apply(org.intocps.maestro.ast.analysis.intf.IAnswer<A> caller) throws org.intocps.maestro.ast.analysis.AnalysisException Description copied from class:org.intocps.maestro.ast.node.NodeReturns the answer forcallerby applying this node to theIAnswervisitor.- Specified by:
applyin interfaceorg.intocps.maestro.ast.node.INode- Specified by:
applyin classorg.intocps.maestro.ast.node.Node- Parameters:
caller- theIAnswerto which this node is applied- Returns:
- the answer as returned from
caller - Throws:
org.intocps.maestro.ast.analysis.AnalysisException
-
apply
public <Q> void apply(org.intocps.maestro.ast.analysis.intf.IQuestion<Q> caller, Q question) throws org.intocps.maestro.ast.analysis.AnalysisException Description copied from class:org.intocps.maestro.ast.node.NodeApplies this node to theIQuestionvisitorcaller.- Specified by:
applyin interfaceorg.intocps.maestro.ast.node.INode- Specified by:
applyin classorg.intocps.maestro.ast.node.Node- Parameters:
caller- theIQuestionto which this node is appliedquestion- the question provided tocaller- Throws:
org.intocps.maestro.ast.analysis.AnalysisException
-
apply
public <Q,A> A apply(org.intocps.maestro.ast.analysis.intf.IQuestionAnswer<Q, A> caller, Q question) throws org.intocps.maestro.ast.analysis.AnalysisExceptionDescription copied from class:org.intocps.maestro.ast.node.NodeReturns the answer foranswerby applying this node with thequestionto theIQuestionAnswervisitor.- Specified by:
applyin interfaceorg.intocps.maestro.ast.node.INode- Specified by:
applyin classorg.intocps.maestro.ast.node.Node- Parameters:
caller- theIQuestionAnswerto which this node is appliedquestion- the question provided toanswer- Returns:
- the answer as returned from
answer - Throws:
org.intocps.maestro.ast.analysis.AnalysisException
-
toString
-