Interface Block
-
- All Superinterfaces:
SimpleNode
- All Known Subinterfaces:
BlockStart
- All Known Implementing Classes:
DoubleQuoteStart
,SimpleFunctionStart
,SingleQuoteStart
public interface Block extends SimpleNode
A model which is a block, containing other nodes. This node will keep adding other nodes until no longer accepted, by returning false in theacceptAndAddNode(SimpleNode)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptAndAddNode(SimpleNode node)
Whether to accept and add the given node in this block.-
Methods inherited from interface org.apache.camel.language.simple.ast.SimpleNode
createCode, createExpression, getToken
-
-
-
-
Method Detail
-
acceptAndAddNode
boolean acceptAndAddNode(SimpleNode node)
Whether to accept and add the given node in this block.- Parameters:
node
- the other node.- Returns:
- true to accept and add to this block, false to end this block.
-
-