1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
|
@startuml
'https://plantuml.com/class-diagram
top to bottom direction
hide circle
hide empty members
'hide empty methods
skinparam groupInheritance 3
note as N1
Class Diagram
---
<size 18>pyparsing 3.0.9
<size 18>May, 2022
end note
N1 <-[hidden]- unicode
package core {
class globals {
quoted_string
sgl_quoted_string
dbl_quoted_string
counted_array()
match_previous_literal()
match_previous_expr()
one_of()
dict_of()
original_text_for()
ungroup()
nested_expr()
make_html_tags()
make_xml_tags()
common_html_entity
replace_html_entity()
class OpAssoc
infix_notation()
class IndentedBlock
c_style_comment
html_comment
rest_of_line
dbl_slash_comment
cpp_style_comment
java_style_comment
python_style_comment
match_only_at_col()
replace_with()
remove_quotes()
with_attribute()
with_class()
trace_parse_action()
condition_as_parse_action()
srange()
token_map()
autoname_elements()
}
class ParseResults {
class List
{static}from_dict()
__getitem__()
__setitem__()
__contains__()
__len__()
__bool__()
__iter__()
__reversed__()
__getattr__()
__add__()
__getstate__()
__setstate__()
__getnewargs__()
__dir__()
as_dict()
as_list()
dump()
get_name()
items()
keys()
values()
haskeys()
pop()
get()
insert()
append()
extend()
clear()
copy()
get_name()
pprint()
}
class ParseBaseException #ffffff {
{static} explain_exception()
explain()
mark_input_line()
line
lineno
column
parser_element
}
class ParseException
class ParseFatalException
class ParseSyntaxException
ParseBaseException <|-- ParseException
ParseBaseException <|-- ParseFatalException
ParseFatalException <|-- ParseSyntaxException
class ParserElement {
name: str
results_name: str
---
{classifier} enable_packrat()
{classifier} enable_left_recursion()
{classifier} disable_memoization()
{classifier} set_default_whitespace_chars()
{classifier} inline_literals_using()
{classifier} reset_cache()
{static} verbose_stacktrace
suppress_warning()
operator + () -> And
operator - () -> And.ErrorStop
operator | () -> MatchFirst
operator ^ () -> Or
operator & () -> Each
operator ~ () -> NotAny
operator [] () -> _MultipleMatch
operator () () [set_results_name()]
add_condition()
add_parse_action()
set_parse_action()
copy()
ignore(expr)
leave_whitespace()
parse_with_tabs()
suppress()
set_break()
set_debug()
set_debug_actions()
set_name()
set_results_name()
parse_string()
scan_string()
search_string()
transform_string()
split()
run_tests()
recurse()
create_diagram()
}
class Token #ffffff
class ParseExpression #ffffff {
exprs: list[ParserElement]
}
class ParseElementEnhance #ffffff {
expr: ParserElement
}
class _PositionToken #ffffff
class Char
class White
class Word {
'Word(init_chars: str, body_chars: str, min: int, \nmax: int, exact: int, as_keyword: bool, exclude_chars: str)
}
class Keyword {
{static} set_default_keyword_chars(chars: str)
}
class CaselessKeyword
class Empty
class Literal
class Regex
class NoMatch
class CharsNotIn
class QuotedString
class And
class Or
class MatchFirst
class Each
class OneOrMore
class ZeroOrMore
class DelimitedList
class SkipTo
class Group
class Forward {
operator <<= ()
}
class LineStart
class LineEnd
class StringStart
class StringEnd
class WordStart
class WordEnd
class _MultipleMatch #ffffff
class FollowedBy
class PrecededBy
class AtLineStart
class AtStringStart
class TokenConverter #ffffff
class Located
class Opt
class Combine
class Group
class Dict
class Suppress
ParserElement <|-- Token
ParserElement <|----- ParseExpression
Token <|-- _PositionToken
ParserElement <|----- ParseElementEnhance
'ParseElementEnhance ---> ParserElement
'ParseExpression ---> "*" ParserElement
Token <|-- Empty
Token <|-- CloseMatch
Token <|-- NoMatch
Token <|-- Literal
Token <|-- Word
Token <|---- Keyword
Token <|--- Regex
Token <|--- CharsNotIn
Token <|-- White
Token <|---- QuotedString
Word <|-- Char
Literal <|-- CaselessLiteral
Keyword <|-- CaselessKeyword
ParseExpression <|-- And
ParseExpression <|-- Or
ParseExpression <|-- MatchFirst
ParseExpression <|-- Each
ParseElementEnhance <|-- SkipTo
ParseElementEnhance <|--- Forward
ParseElementEnhance <|-- Located
ParseElementEnhance <|--- _MultipleMatch
_MultipleMatch <|-- OneOrMore
_MultipleMatch <|-- ZeroOrMore
ParseElementEnhance <|-- DelimitedList
ParseElementEnhance <|--- NotAny
ParseElementEnhance <|--- FollowedBy
ParseElementEnhance <|--- PrecededBy
ParseElementEnhance <|-- Opt
ParseElementEnhance <|--- TokenConverter
ParseElementEnhance <|-- AtStringStart
ParseElementEnhance <|-- AtLineStart
TokenConverter <|-- Group
TokenConverter <|-- Dict
TokenConverter <|-- Suppress
TokenConverter <|-- Combine
_PositionToken <|-- LineStart
_PositionToken <|-- LineEnd
_PositionToken <|-- WordStart
_PositionToken <|-- WordEnd
_PositionToken <|-- StringStart
_PositionToken <|-- StringEnd
}
package common {
class " " {
comma_separated_list
convert_to_integer()
convert_to_float()
integer
hex_integer
signed_integer
fraction
mixed_integer
real
sci_real
number
fnumber
identifier
ipv4_address
ipv6_address
mac_address
convert_to_date()
convert_to_datetime()
iso8601_date
iso8601_datetime
uuid
strip_html_tags()
upcase_tokens()
downcase_tokens()
url
}
}
package unicode {
class unicode_set {
printables: str
alphas: str
nums: str
alphanums: str
identchars: str
identbodychars: str
}
class Latin1
class LatinA
class LatinB
class BasicMultilingualPlane
class Chinese
class Thai
class Japanese {
class Kanji
class Hiragana
class Katakana
}
class Greek
class Hangul
class Arabic
class Devanagari
class Hebrew
class Cyrillic
unicode_set <|-- Latin1
unicode_set <|--- LatinA
unicode_set <|-- LatinB
unicode_set <|---- BasicMultilingualPlane
unicode_set <|-- Greek
unicode_set <|--- Cyrillic
unicode_set <|--- Chinese
unicode_set <|--- Japanese
unicode_set <|--- Hangul
Chinese <|-- CJK
Japanese <|-- CJK
Hangul <|-- CJK
unicode_set <|-- Thai
unicode_set <|-- Arabic
unicode_set <|-- Hebrew
unicode_set <|--- Devanagari
}
ParserElement <-[hidden] ParseBaseException
'ParseBaseException <-[hidden] globals
'globals <-[hidden] ParserElement
CJK <-[hidden]-- common
@enduml
|