CCommentState class

This state will either delegate to a comment-handling state, or return a token with just a slash in it.

Inheritance

Constructors

CCommentState()

Properties

CR int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
LF int
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getMultiLineComment(IScanner scanner) String
Ignore everything up to a closing star and slash, and then return the tokenizer's next token.
inherited
getSingleLineComment(IScanner scanner) String
Ignore everything up to an end-of-line and return the tokenizer's next token.
inherited
nextToken(IScanner scanner, ITokenizer? tokenizer) Token?
Either delegate to a comment-handling state, or return a token with just a slash in it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited