| java.lang.Object com.go.tea.compiler.Scanner
Scanner | public class Scanner (Code) | | A Scanner breaks up a source file into its basic elements, called
Token Tokens . Add an
ErrorListener to capture any syntax
errors detected by the Scanner.
author: Brian S O'Neill version: 45 , 00/12/13 |
Scanner | public Scanner(SourceReader in)(Code) | | |
emitSpecialTokens | public void emitSpecialTokens(boolean enable)(Code) | | Passing true causes Scanner to emit additional tokens that should not
be bassed into a Parser. These are
Token.COMMENT ,
Token.ENTER_CODE , and
Token.ENTER_TEXT . By default,
these special tokens are not emitted.
|
getErrorCount | public int getErrorCount()(Code) | | |
|
|