Class BoxMultiLineComment
java.lang.Object
ortus.boxlang.compiler.ast.BoxNode
ortus.boxlang.compiler.ast.comment.BoxComment
ortus.boxlang.compiler.ast.comment.BoxMultiLineComment
- All Implemented Interfaces:
BoxVisitable
- Direct Known Subclasses:
BoxDocComment
class for multi line comments
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBoxMultiLineComment(String commentText, Position position, String sourceText) Create a instance of a BoxComment -
Method Summary
Modifier and TypeMethodDescriptionAccept method for replacing visitor support.voidAccept method for visitor support.Methods inherited from class ortus.boxlang.compiler.ast.comment.BoxComment
getCommentText, setCommentText, toMapMethods inherited from class ortus.boxlang.compiler.ast.BoxNode
addComment, associateComments, endsOnSameLineAs, enumToMap, getAncestors, getChildren, getComments, getDescendants, getDescendantsOfType, getDescendantsOfType, getDescription, getDocComment, getFirstAncestorOfType, getFirstAncestorOfType, getFirstNodeOfType, getFirstNodeOfType, getFirstNodeOfTypes, getParent, getPosition, getSourceText, isAfter, isBefore, isInside, replaceChildren, replaceChildren, setComments, setParent, setPosition, setSourceText, startsOnEndLineOf, toJSON, toString
-
Constructor Details
-
BoxMultiLineComment
Create a instance of a BoxComment- Parameters:
position- position within the source codesourceText- source code
-
-
Method Details
-
accept
Description copied from interface:BoxVisitableAccept method for visitor support.- Parameters:
v- the visitor implementation
-
accept
Description copied from interface:BoxVisitableAccept method for replacing visitor support. Each accept returns the node, or a replacement node.- Parameters:
v- the visitor implementation
-