LongcountOperation
Defined in: operations/longcount-operation.ts:10
Base class for operations that manipulate LongCount values.
Extends
Extended by
Implements
Constructors
Constructor
new LongcountOperation(
lcClass,a,b):LongcountOperation
Defined in: operations/longcount-operation.ts:22
Parameters
lcClass
LongCount constructor passed in to avoid circular dependencies.
a
First operand.
b
Second operand.
Returns
LongcountOperation
Overrides
CommentWrapper.constructor
Properties
comment
comment:
Comment
Defined in: comment-wrapper.ts:11
Attached comment.
Inherited from
Methods
appendComment()
appendComment(
comment):this
Defined in: comment-wrapper.ts:42
Append additional text to the current comment.
Parameters
comment
string | Comment
Returns
this
Inherited from
commentIsEqual()
commentIsEqual(
otherCommentWrapper):boolean
Defined in: comment-wrapper.ts:60
Compare this wrapper's comment against another wrapper.
Parameters
otherCommentWrapper
Returns
boolean
Inherited from
equal()
abstractequal(other):boolean
Defined in: operations/longcount-operation.ts:11
Compare this object with another for equality.
Parameters
other
unknown
Returns
boolean
Implementation of
equalWithComment()
equalWithComment(
otherCommentWrapper):boolean
Defined in: comment-wrapper.ts:67
Check equality including the associated comment.
Parameters
otherCommentWrapper
Returns
boolean
Inherited from
CommentWrapper.equalWithComment
resetComment()
resetComment():
this
Defined in: comment-wrapper.ts:20
Reset the current comment back to an empty comment.
Returns
this
Inherited from
setComment()
setComment(
comment):this
Defined in: comment-wrapper.ts:28
Replace the current comment.
Parameters
comment
string | Comment
Returns
this