Click or drag to resize

CodeObjectMoveAllComments Method

Move all (regular or EOL) comments from the specified token to the current code object, converting any EOL comments to regular comments (which will be rendered inline if necessary).

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public void MoveAllComments(
	Token token,
	bool atFront = false,
	bool forceNewLine = false,
	AnnotationFlags annotationFlags = AnnotationFlags.None
)

Parameters

token
Type: Nova.ParsingToken
The token.
atFront (Optional)
Type: SystemBoolean
Inserts at the front of any existing annotations if true, otherwise adds at the end.
forceNewLine (Optional)
Type: SystemBoolean
Force all comments to start on a new line if true.
annotationFlags (Optional)
Type: Nova.CodeDOMAnnotationFlags
Annotation flags to set on the comments.
See Also