Package | Description |
---|---|
Parsing.DBPrimitives | |
Parsing.GeneralPrimitives | |
Parsing.Parsers | |
Parsing.YumlPrimitives |
Modifier and Type | Class and Description |
---|---|
class |
ColumnDecl
ColumnDecl is Name (, Name)*
|
class |
Comma
a Comma is a "," token
|
class |
DBase
DBase is "dbase" token
|
class |
DBaseStmt
dbase statement: dbase(name,[name1,name2...]).
|
class |
Dot
a Dot is "." token
|
class |
LeftBracket
left bracket '[' token
|
class |
LeftParen
LeftParen '(' token
|
class |
NameList
a NameList is Name(,Name)*
|
class |
RightBracket
RightBracket is "]"
|
class |
RightParen
RightParen is ")"
|
class |
SubTaBle
subtable token "subtable"
|
class |
SubTableStmt
subtable statement: subtable(name,[ name1,name2...
|
class |
TaBle
table token "table"
|
class |
TableStmt
table Statement : table( Name, [ columnDecl }).
|
class |
TupleStmt
tuple statement : name( TupleValues ).
|
class |
TupleValues
TupleValues is a sequence of I(,I)*, where I = single-quoted-string | name | number ;
|
Modifier and Type | Field and Description |
---|---|
static Token[] |
DBaseStmt.dbaseStmt
definition of dbase statement
|
static Token[] |
SubTableStmt.subTableStmt
subTableStatement statement subtable,name,[name1,name2...]).
|
static Token[] |
TableStmt.tableStmt
table statement as table(name,[oqn1, oqn2, ...])., where oqn is optionally quoted name
|
static Token[] |
TupleStmt.tupleStmt
tuple statement as name(value1, value2,...).
|
Modifier and Type | Class and Description |
---|---|
class |
Choose1
Choose1 is ( node1 | node2 | nodeN )
|
class |
ColumnName
column name token (alpha (alpha|underscore|digit|colon)*
|
class |
End
end of parse designator
|
class |
FixedSave
parse fixed string and save the result
|
class |
FixedSkip
parse fixed string and don't save result
|
class |
Name
name token (alpha (alpha|underscore|digit)*
|
class |
NonEmptyList
NonEmptyList is a sequence of "node ( comma node )*"
|
class |
Nothing
Yuml token ""
|
class |
NumBer
a NumBer is a sequence of [-](digit)+[.(digit)+]
|
class |
Optional
optional token [t]
|
class |
Pattern
pattern is a sequence of tokens to parse
|
class |
QuotedString
single quoted or double quoted string
|
Modifier and Type | Method and Description |
---|---|
abstract Token |
Token.klone(LineToParse l)
return copy of 'this'
|
Constructor and Description |
---|
Choose1(LineToParse l,
Token... opts)
Standard constructor with line to parse
|
Choose1(Token... opts)
normal call that specifies possible tokens to see
|
NonEmptyList(Token node,
Token comma)
Standard constructor
|
NonEmptyList(Token node,
Token comma,
LineToParse l)
Standard constructor with line to parse
|
Optional(Token opt)
Standard constructor
|
Optional(Token opt,
LineToParse l)
Standard constructor with line to parse
|
Pattern(Token[] array)
Standard constructor
|
Modifier and Type | Method and Description |
---|---|
void |
LineToParse.AssertNotAtEnd(Token t)
is there more to parse to parse? If not, throw ParseException
|
void |
LineToParse.parseSave(Token t)
consume expected token t and add parsed token to the parseList
|
void |
LineToParse.parseSaveQualified(Token t)
assuming canParse() == true, consume token t and add parsed token to the parseList
|
void |
LineToParse.parseSkip(Token t)
consume expected token t and ignore its existence
|
void |
LineToParse.parseSkipQualified(Token t)
assuming canParse() == true, consume token t and ignore its existence
|
Modifier and Type | Class and Description |
---|---|
class |
Barrier
Yuml token: Barrier is "|"
|
class |
BarrierBoxEntry
Yuml Production : Barrier() BoxEntry()
|
class |
Box
Yuml Production : Box = ['name [,qs] [,qs] ']'
|
class |
BoxEntry
is a sequence of characters whose endpoint is a barrier, but does not include
barrier
|
class |
Connect
Yuml Production : Connect = [End1] [name] Solid [name] {End2] Box
|
class |
Dashed
Yuml token: Solid is "-"
|
class |
Diamond
Yuml Token : Diamond is less-than-greater-than
|
class |
End1
Yuml token: choose1( diamond, plusplus, hat, lss, nothing )
|
class |
End2
Yuml Token: choose1( diamond, plusplus, hat, gtr, nothing)
|
class |
Gtr
Yuml token greater-than
|
class |
Hat
Yuml token "^"
|
class |
Lss
Yuml token less-than
|
class |
PlusPlus
Yuml token ++
|
class |
Role
name token (alpha (alpha|underscore|digit)*
|
class |
Solid
Yuml token: Solid is "-"
|
class |
YumlLine
Yuml Production : YumlLine: Box [connect] end
|