|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgec.gctparser.GctLineParser
public class GctLineParser
This parses a line from the listing. The line has the form [x.x.x] type1 path : type2 = value(s) ; where [x.x.x] - gad type1: INPUT, OUTPUT, INTERNAL , REFERENCE path - path name to variable type2 - variable type, eg REAL, DINT, STRING, or ARRAY OF type2 value or values if an array
Constructor Summary | |
---|---|
GctLineParser(java.util.Vector vectorOfTokens)
Constructor to parse the line of tokens. |
Method Summary | |
---|---|
int |
getEndingIndex()
Find the token type. |
java.lang.String |
getGad()
|
int |
getNumberOfValues()
|
java.lang.String |
getPath()
|
java.lang.String |
getReferenceType()
|
int |
getStartingIndex()
|
java.util.Vector |
getValues()
Return the values as a vector of strings. |
java.lang.String |
getVariableType()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GctLineParser(java.util.Vector vectorOfTokens)
vectorOfTokens
- Vector of String - the tokens to parseMethod Detail |
---|
public int getEndingIndex()
token
- String - the token type
public java.lang.String getGad()
public int getNumberOfValues()
public java.lang.String getPath()
public java.lang.String getReferenceType()
public int getStartingIndex()
public java.util.Vector getValues()
public java.lang.String getVariableType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |