public static class SNNSNetFilter.ENSNNSLexicalAnalyzer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected double |
_doubleValue |
protected int |
_intValue |
protected int |
_lineNo |
protected java.lang.String |
_stringValue |
static int |
ACT |
static int |
BIAS |
static int |
CONNECTION_SECTION_TITLE |
static int |
CTYPE |
static int |
DASHES |
static int |
DEFAULT_SECTION_TITLE |
static int |
DELTA_X |
static int |
DELTA_Y |
static int |
EOF |
static int |
FF_LEARNING_FUNCTION |
static int |
FUNC |
static int |
GENERATED_AT |
static int |
INTEGER |
static int |
LAYER |
static int |
LAYER_SECTION_TITLE |
static int |
LEARNING_FUNCTION |
static int |
LLN |
static int |
LUN |
static int |
NAME |
static int |
NETWORK_NAME |
static int |
NO |
static int |
NO_OF_CONNECTIONS |
static int |
NO_OF_SITE_TYPES |
static int |
NO_OF_UNIT_TYPES |
static int |
NO_OF_UNITS |
static int |
NUMBER |
static int |
OUT |
static int |
POSITION |
static int |
PRUNING_FUNCTION |
static int |
SITE |
static int |
SITE_FUNCTION |
static int |
SITE_NAME |
static int |
SITE_SECTION_TITLE |
static int |
SITES |
static int |
SNNS |
static int |
SOFF |
static int |
SOURCE_FILES |
static int |
SOURCE_WEIGHT |
static int |
ST |
static int |
STRING |
static int |
SUBNET |
static int |
SUBNET_SECTION_TITLE |
static int |
TARGET |
static int |
TIME_DELAY_SECTION_TITLE |
static int |
TOFF |
static int |
TRANSLATION_SECTION_TITLE |
static int |
TYPE_NAME |
static int |
TYPE_SECTION_TITLE |
static int |
UNIT_NAME |
static int |
UNIT_NO |
static int |
UNIT_SECTION_TITLE |
static int |
UPDATE_FUNCTION |
static int |
VERSION |
static int |
Z |
| Constructor and Description |
|---|
ENSNNSLexicalAnalyzer(char[] buffer,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNextToken() |
protected int |
getNextToken(boolean peek)
Reads the next token from the input source.
|
boolean |
isImplicitQuoting() |
boolean |
isPassNewlines() |
boolean |
isSuppressKeywords() |
void |
setImplicitQuoting(boolean b)
Set implicit quoting for STRING tokens.
|
void |
setPassNewlines(boolean b) |
void |
setSuppressKeywords(boolean b) |
protected void |
skipToNextLine()
Advances the LA current position to the next EOL character.
|
public static final int EOF
public static final int INTEGER
public static final int NUMBER
public static final int STRING
public static final int DASHES
public static final int VERSION
public static final int SNNS
public static final int GENERATED_AT
public static final int NETWORK_NAME
public static final int SOURCE_FILES
public static final int NO_OF_UNITS
public static final int NO_OF_CONNECTIONS
public static final int NO_OF_UNIT_TYPES
public static final int NO_OF_SITE_TYPES
public static final int LEARNING_FUNCTION
public static final int PRUNING_FUNCTION
public static final int FF_LEARNING_FUNCTION
public static final int UPDATE_FUNCTION
public static final int UNIT_SECTION_TITLE
public static final int DEFAULT_SECTION_TITLE
public static final int SITE_SECTION_TITLE
public static final int TYPE_SECTION_TITLE
public static final int CONNECTION_SECTION_TITLE
public static final int LAYER_SECTION_TITLE
public static final int SUBNET_SECTION_TITLE
public static final int TRANSLATION_SECTION_TITLE
public static final int TIME_DELAY_SECTION_TITLE
public static final int NO
public static final int TYPE_NAME
public static final int UNIT_NAME
public static final int ACT
public static final int BIAS
public static final int ST
public static final int POSITION
public static final int SUBNET
public static final int LAYER
public static final int FUNC
public static final int OUT
public static final int SITES
public static final int SITE_NAME
public static final int SITE_FUNCTION
public static final int NAME
public static final int TARGET
public static final int SITE
public static final int SOURCE_WEIGHT
public static final int UNIT_NO
public static final int DELTA_X
public static final int DELTA_Y
public static final int Z
public static final int LLN
public static final int LUN
public static final int TOFF
public static final int SOFF
public static final int CTYPE
protected double _doubleValue
protected int _intValue
protected java.lang.String _stringValue
protected int _lineNo
public ENSNNSLexicalAnalyzer(char[] buffer,
int off,
int len)
protected int getNextToken(boolean peek)
throws java.io.IOException
peek - true if the current LA position shouldn't be changed.java.io.IOExceptionpublic int getNextToken()
throws java.io.IOException
java.io.IOExceptionpublic void setImplicitQuoting(boolean b)
public boolean isImplicitQuoting()
public void setPassNewlines(boolean b)
public boolean isPassNewlines()
public void setSuppressKeywords(boolean b)
public boolean isSuppressKeywords()
protected void skipToNextLine()