org.vesalainen.parsers.nmea.ais.doc-files.AISParser-messages.html Maven / Gradle / Ivy
Show all versions of NMEAParser Show documentation
Grammar
This grammar is LALR(1)
Number of Rules 15
Number of Terminals 50
Number of Lr0 States95
Number of La States0
BNF
Accept ::= messages
messages ::= (message '0*
')+
message ::= Type19ExtendedClassBCSPositionReport
message ::= Type18StandardClassBCSPositionReport
message ::= Type4BaseStationReport
message ::= Type5StaticAndVoyageRelatedData
message ::= CommonNavigationBlock
Type19ExtendedClassBCSPositionReport ::= type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport ::= type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport ::= type4 repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData ::= type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock ::= type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
Terminals
type1-3 = '000001|000010|000011'
type19 = '010011'
States
State 1
( )
CommonNavigationBlock Gt/Rd 9
Type5StaticAndVoyageRelatedData Gt/Rd 8
Type4BaseStationReport Gt/Rd 7
Type18StandardClassBCSPositionReport Gt/Rd 6
Type19ExtendedClassBCSPositionReport Gt/Rd 5
(message '0*
')+ Goto 9
(message '0*
') Gt/Rd 2
State 2
( 1 )
Eof Reduce 0
State 3
( 1 9 )
(message '0*
')->message .'0*\n'
'0*\n' Sh/Rd 4
State 4
( 1 9 )
Type19ExtendedClassBCSPositionReport->type19 .repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 5
( 1 9 )
Type18StandardClassBCSPositionReport->type18 .repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
State 6
( 1 9 )
Type4BaseStationReport->type4 .repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
State 7
( 1 9 )
Type5StaticAndVoyageRelatedData->type5 .repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 8
( 1 9 )
CommonNavigationBlock->type1-3 .repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
State 9
( 1 )
messages->(message '0*
')+ . (1)
(message '0*
')+->(message '0*
')+ .(message '0*
')
messages->(message '0*
')+ . (1)
(message '0*
') Gt/Rd 3
CommonNavigationBlock Gt/Rd 9
Type5StaticAndVoyageRelatedData Gt/Rd 8
Type4BaseStationReport Gt/Rd 7
Type18StandardClassBCSPositionReport Gt/Rd 6
Type19ExtendedClassBCSPositionReport Gt/Rd 5
Eof Reduce 1
State 10
( 4 )
Type19ExtendedClassBCSPositionReport->type19 repeat .mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 11
( 5 )
Type18StandardClassBCSPositionReport->type18 repeat .mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
State 12
( 6 )
Type4BaseStationReport->type4 repeat .mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
State 13
( 7 )
Type5StaticAndVoyageRelatedData->type5 repeat .mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 14
( 8 )
CommonNavigationBlock->type1-3 repeat .mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
State 15
( 10 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi .reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 16
( 11 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi .reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
State 17
( 12 )
Type4BaseStationReport->type4 repeat mmsi .year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
State 18
( 13 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi .ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
ais_version Shift 23
State 19
( 14 )
CommonNavigationBlock->type1-3 repeat mmsi .status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
State 20
( 15 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved .speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 21
( 16 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved .speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
State 22
( 17 )
Type4BaseStationReport->type4 repeat mmsi year .month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
State 23
( 18 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version .imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 24
( 19 )
CommonNavigationBlock->type1-3 repeat mmsi status .turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
State 25
( 20 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed .accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 26
( 21 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed .accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
State 27
( 22 )
Type4BaseStationReport->type4 repeat mmsi year month .day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
State 28
( 23 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo .callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 29
( 24 )
CommonNavigationBlock->type1-3 repeat mmsi status turn .speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
State 30
( 25 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy .lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 31
( 26 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy .lon lat course heading second regional cs display dsc band msg22 assigned raim radio
State 32
( 27 )
Type4BaseStationReport->type4 repeat mmsi year month day .hour minute second accuracy lon lat epfd '[01]{10}' raim radio
State 33
( 28 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign .shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 34
( 29 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed .accuracy lon lat course heading second maneuver '[01]{3}' raim radio
State 35
( 30 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon .lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 36
( 31 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon .lat course heading second regional cs display dsc band msg22 assigned raim radio
State 37
( 32 )
Type4BaseStationReport->type4 repeat mmsi year month day hour .minute second accuracy lon lat epfd '[01]{10}' raim radio
State 38
( 33 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname .shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 39
( 34 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy .lon lat course heading second maneuver '[01]{3}' raim radio
State 40
( 35 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat .course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 41
( 36 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat .course heading second regional cs display dsc band msg22 assigned raim radio
State 42
( 37 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute .second accuracy lon lat epfd '[01]{10}' raim radio
State 43
( 38 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype .to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 44
( 39 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon .lat course heading second maneuver '[01]{3}' raim radio
State 45
( 40 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course .heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 46
( 41 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course .heading second regional cs display dsc band msg22 assigned raim radio
State 47
( 42 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second .accuracy lon lat epfd '[01]{10}' raim radio
State 48
( 43 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow .to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 49
( 44 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat .course heading second maneuver '[01]{3}' raim radio
State 50
( 45 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading .second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 51
( 46 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading .second regional cs display dsc band msg22 assigned raim radio
State 52
( 47 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy .lon lat epfd '[01]{10}' raim radio
State 53
( 48 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern .to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
State 54
( 49 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course .heading second maneuver '[01]{3}' raim radio
State 55
( 50 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second .regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 56
( 51 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second .regional cs display dsc band msg22 assigned raim radio
State 57
( 52 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon .lat epfd '[01]{10}' raim radio
State 58
( 53 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port .to_starboard epfd month day hour minute draught destination dte '[01]{1}'
to_starboard Shift 63
State 59
( 54 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading .second maneuver '[01]{3}' raim radio
State 60
( 55 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional .shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 61
( 56 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional .cs display dsc band msg22 assigned raim radio
State 62
( 57 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat .epfd '[01]{10}' raim radio
State 63
( 58 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard .epfd month day hour minute draught destination dte '[01]{1}'
State 64
( 59 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second .maneuver '[01]{3}' raim radio
State 65
( 60 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname .shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 66
( 61 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs .display dsc band msg22 assigned raim radio
State 67
( 62 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat epfd .'[01]{10}' raim radio
'[01]{10}' Shift 72
State 68
( 63 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd .month day hour minute draught destination dte '[01]{1}'
State 69
( 64 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver .'[01]{3}' raim radio
'[01]{3}' Shift 74
State 70
( 65 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype .to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 71
( 66 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display .dsc band msg22 assigned raim radio
State 72
( 67 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' .raim radio
State 73
( 68 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month .day hour minute draught destination dte '[01]{1}'
State 74
( 69 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' .raim radio
State 75
( 70 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow .to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
State 76
( 71 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc .band msg22 assigned raim radio
State 77
( 72 )
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim .radio
State 78
( 73 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day .hour minute draught destination dte '[01]{1}'
State 79
( 74 )
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim .radio
State 80
( 75 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern .to_port to_starboard epfd raim dte assigned '[01]{4}'
State 81
( 76 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band .msg22 assigned raim radio
State 82
( 78 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour .minute draught destination dte '[01]{1}'
State 83
( 80 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port .to_starboard epfd raim dte assigned '[01]{4}'
to_starboard Shift 86
State 84
( 81 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 .assigned raim radio
State 85
( 82 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute .draught destination dte '[01]{1}'
State 86
( 83 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard .epfd raim dte assigned '[01]{4}'
State 87
( 84 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned .raim radio
State 88
( 85 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught .destination dte '[01]{1}'
destination Shift 91
State 89
( 86 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd .raim dte assigned '[01]{4}'
State 90
( 87 )
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim .radio
State 91
( 88 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination .dte '[01]{1}'
State 92
( 89 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim .dte assigned '[01]{4}'
State 93
( 91 )
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte .'[01]{1}'
'[01]{1}' Sh/Rd 13
State 94
( 92 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte .assigned '[01]{4}'
State 95
( 94 )
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned .'[01]{4}'
'[01]{4}' Sh/Rd 10
First Map for Nonterminals
message ==>> { type19 type18 type4 type5 type1-3}
Type18StandardClassBCSPositionReport ==>> { type18}
Type4BaseStationReport ==>> { type4}
Type19ExtendedClassBCSPositionReport ==>> { type19}
(message '0*
') ==>> { type19 type18 type4 type5 type1-3}
Type5StaticAndVoyageRelatedData ==>> { type5}
(message '0*
')+ ==>> { type19 type18 type4 type5 type1-3}
messages ==>> { type19 type18 type4 type5 type1-3}
CommonNavigationBlock ==>> { type1-3}
Accept ==>> { type19 type18 type4 type5 type1-3}
Closure for Nonterminals
message ==>> { CommonNavigationBlock Type5StaticAndVoyageRelatedData Type4BaseStationReport Type18StandardClassBCSPositionReport Type19ExtendedClassBCSPositionReport}
Type18StandardClassBCSPositionReport ==>> {}
Type4BaseStationReport ==>> {}
Type19ExtendedClassBCSPositionReport ==>> {}
(message '0*
') ==>> { Type19ExtendedClassBCSPositionReport Type18StandardClassBCSPositionReport Type4BaseStationReport Type5StaticAndVoyageRelatedData CommonNavigationBlock message}
Type5StaticAndVoyageRelatedData ==>> {}
(message '0*
')+ ==>> { message CommonNavigationBlock Type5StaticAndVoyageRelatedData Type4BaseStationReport Type18StandardClassBCSPositionReport Type19ExtendedClassBCSPositionReport ?{message,'0*
'}}
messages ==>> { ?{message,'0*
'} Type19ExtendedClassBCSPositionReport Type18StandardClassBCSPositionReport Type4BaseStationReport Type5StaticAndVoyageRelatedData CommonNavigationBlock message ?{message,'0*
'}?}
CommonNavigationBlock ==>> {}
Accept ==>> { ?{message,'0*
'}? message CommonNavigationBlock Type5StaticAndVoyageRelatedData Type4BaseStationReport Type18StandardClassBCSPositionReport Type19ExtendedClassBCSPositionReport ?{message,'0*
'} messages}
Nullable Nonterminals
message ==>> false
Type18StandardClassBCSPositionReport ==>> false
Type4BaseStationReport ==>> false
Type19ExtendedClassBCSPositionReport ==>> false
(message '0*
') ==>> false
Type5StaticAndVoyageRelatedData ==>> false
(message '0*
')+ ==>> false
messages ==>> false
CommonNavigationBlock ==>> false
Accept ==>> false