Interface Block
- All Superinterfaces:
SimpleNode
- All Known Subinterfaces:
BlockStart
- All Known Implementing Classes:
DoubleQuoteStart,SimpleFunctionStart,SingleQuoteStart
A model which is a block, containing other nodes.
This node will keep adding other nodes until no longer accepted, by returning false in the
acceptAndAddNode(SimpleNode) method.-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptAndAddNode(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 Details
-
acceptAndAddNode
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.
-