UNPKG

bitmark-grammar

Version:
855 lines (843 loc) 1.17 MB
// Generated from ./typescript//bitmarkParser.g4 by ANTLR 4.9.0-SNAPSHOT import { ATN } from "antlr4ts/atn/ATN"; import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer"; import { FailedPredicateException } from "antlr4ts/FailedPredicateException"; import { NotNull } from "antlr4ts/Decorators"; import { NoViableAltException } from "antlr4ts/NoViableAltException"; import { Override } from "antlr4ts/Decorators"; import { Parser } from "antlr4ts/Parser"; import { ParserRuleContext } from "antlr4ts/ParserRuleContext"; import { ParserATNSimulator } from "antlr4ts/atn/ParserATNSimulator"; import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener"; import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor"; import { RecognitionException } from "antlr4ts/RecognitionException"; import { RuleContext } from "antlr4ts/RuleContext"; //import { RuleVersion } from "antlr4ts/RuleVersion"; import { TerminalNode } from "antlr4ts/tree/TerminalNode"; import { Token } from "antlr4ts/Token"; import { TokenStream } from "antlr4ts/TokenStream"; import { Vocabulary } from "antlr4ts/Vocabulary"; import { VocabularyImpl } from "antlr4ts/VocabularyImpl"; import * as Utils from "antlr4ts/misc/Utils"; import { bitmarkParserListener } from "./bitmarkParserListener"; export class bitmarkParser extends Parser { public static readonly OPDOT = 1; public static readonly S = 2; public static readonly BitBook = 3; public static readonly BitChapter = 4; public static readonly BitToc = 5; public static readonly BitSummary = 6; public static readonly BitIntlink = 7; public static readonly BitIntRef = 8; public static readonly BitAlias = 9; public static readonly BitGroups = 10; public static readonly BitGroupt = 11; public static readonly BitPlaceholder = 12; public static readonly BitStatement = 13; public static readonly BitDetails = 14; public static readonly BitSampleSolution = 15; public static readonly BitTakeAudio = 16; public static readonly CLOZE = 17; public static readonly MATCH = 18; public static readonly BitArticle = 19; public static readonly BitPage = 20; public static readonly BitEssay = 21; public static readonly BitMessage = 22; public static readonly BitCorrection = 23; public static readonly BitMark = 24; public static readonly BitTakepic = 25; public static readonly BitRecaud = 26; public static readonly BitPrepnote = 27; public static readonly BitAssign = 28; public static readonly BitBotint = 29; public static readonly BitSelfassess = 30; public static readonly BitRating = 31; public static readonly BitSurvey = 32; public static readonly BitSurvey1 = 33; public static readonly BitSurveyanon = 34; public static readonly BitSurveyanon1 = 35; public static readonly BitNote = 36; public static readonly BitInfo = 37; public static readonly BitWarning = 38; public static readonly BitRemark = 39; public static readonly BitHint = 40; public static readonly BitHelp = 41; public static readonly BitDanger = 42; public static readonly BitBug = 43; public static readonly BitSidenote = 44; public static readonly BitStickynote = 45; public static readonly BitQuote = 46; public static readonly BitFootnote = 47; public static readonly BitExample = 48; public static readonly BitButtonCopytext = 49; public static readonly BitWbtContinue = 50; public static readonly BitLearningPathDetails = 51; public static readonly BitAiPrompt = 52; public static readonly BitNoteAi = 53; public static readonly BitSummayAi = 54; public static readonly BitArticleAi = 55; public static readonly BitLearningPathLti = 56; public static readonly BitLearningPathStep = 57; public static readonly BitLearningPathBook = 58; public static readonly BitLearningPathSign = 59; public static readonly BitLearningPathVideoCall = 60; public static readonly BitLearningPathLearningGoal = 61; public static readonly BitLearningPathClosing = 62; public static readonly BitLearningPathFeedback = 63; public static readonly BitLearningPathBotTraining = 64; public static readonly BitLearningPathExternalLink = 65; public static readonly BitLearningPathClassroomTraining = 66; public static readonly BitLearningPathClassroomEvent = 67; public static readonly BitBotActionSend = 68; public static readonly BitBotActionAnnounce = 69; public static readonly BitBotActionSave = 70; public static readonly BitBotActionRemind = 71; public static readonly BitVendorPadletEmbed = 72; public static readonly BitScorm = 73; public static readonly BitImage = 74; public static readonly BitImageLink = 75; public static readonly BitImageZoom = 76; public static readonly BitImagePrototype = 77; public static readonly BitImageSuperWide = 78; public static readonly BitAudio = 79; public static readonly BitAudioLink = 80; public static readonly BitAudioEmbed = 81; public static readonly BitVideo = 82; public static readonly BitVideoLink = 83; public static readonly BitVideoEmbed = 84; public static readonly BitVideoPortrait = 85; public static readonly BitVideoLandscape = 86; public static readonly BitStillImageFilm = 87; public static readonly BitStillImageFilmLink = 88; public static readonly BitStillImageFilmEmbed = 89; public static readonly BitWebsiteLink = 90; public static readonly BitDocument = 91; public static readonly BitDocumentLink = 92; public static readonly BitDocumentEmbed = 93; public static readonly BitDocumentDownload = 94; public static readonly BitAppLink = 95; public static readonly BitEditorial = 96; public static readonly BitBookFrontispiece = 97; public static readonly BitBookTitle = 98; public static readonly BitBookCopyright = 99; public static readonly BitBookDedication = 100; public static readonly BitBookForword = 101; public static readonly BitBookPreface = 102; public static readonly BitBookPrologue = 103; public static readonly BitBookEpilogue = 104; public static readonly BitBookIntroduction = 105; public static readonly BitBookIncitingIncident = 106; public static readonly BitBookConclusion = 107; public static readonly BitBookAfterword = 108; public static readonly BitBookPostscript = 109; public static readonly BitBookappendix = 110; public static readonly BitBookAddendum = 111; public static readonly BitBookAcknowledgments = 112; public static readonly BitBookListOfContributors = 113; public static readonly BitBookBibliography = 114; public static readonly BitBookReferenceList = 115; public static readonly BitBookEndnotes = 116; public static readonly BitBookNotes = 117; public static readonly BitBookCopyrightPermissions = 118; public static readonly BitBookTeaser = 119; public static readonly BitBookAutherBio = 120; public static readonly BitBookRequestForABookReview = 121; public static readonly BitBookComingSoon = 122; public static readonly BitBookReadMore = 123; public static readonly BitBookSummary = 124; public static readonly BitBookEpigraph = 125; public static readonly BitCode = 126; public static readonly BitCard1 = 127; public static readonly BitQuestion1 = 128; public static readonly BitScreenshot = 129; public static readonly BitFocusImage = 130; public static readonly BitPhoto = 131; public static readonly BitBrowserImage = 132; public static readonly BitBotActionResponse = 133; public static readonly BitBotActionTrueFalse = 134; public static readonly BitBotActionRatingNumber = 135; public static readonly BitBotActionRatingStars = 136; public static readonly BitChapterSubjectMatter = 137; public static readonly BitReleaseNote = 138; public static readonly BitConclusion = 139; public static readonly BitVendorAmcharts5Chart = 140; public static readonly BitFeatured = 141; public static readonly BitNewspaperArticle = 142; public static readonly BitBlogArticle = 143; public static readonly BitBookArticle = 144; public static readonly BitNotebookArticle = 145; public static readonly BitWorkbookArticle = 146; public static readonly OPDOLL = 147; public static readonly OPBUL = 148; public static readonly OPRANGLES = 149; public static readonly OPRANGLEL = 150; public static readonly OPDANGLE = 151; public static readonly OPU = 152; public static readonly OPB = 153; public static readonly OPQ = 154; public static readonly OPA = 155; public static readonly OPP = 156; public static readonly OPM = 157; public static readonly OPS = 158; public static readonly OPR = 159; public static readonly OPHASH = 160; public static readonly OPC = 161; public static readonly CL = 162; public static readonly COLON = 163; public static readonly AMP = 164; public static readonly DBLCOLON = 165; public static readonly PLUS = 166; public static readonly DotAt = 167; public static readonly Greater = 168; public static readonly Less = 169; public static readonly RightAngle = 170; public static readonly RightArrow = 171; public static readonly DBLEQ = 172; public static readonly HSPL = 173; public static readonly HSPL2 = 174; public static readonly SSPL = 175; public static readonly SSPL2 = 176; public static readonly QUOTE_INDEX = 177; public static readonly COMMENT = 178; public static readonly DCANY = 179; public static readonly Image_type = 180; public static readonly Audio_type = 181; public static readonly Video_type = 182; public static readonly ArticleText = 183; public static readonly NOTCL = 184; public static readonly NUMERIC = 185; public static readonly STRING = 186; public static readonly NL = 187; public static readonly NOTBITMARK = 188; public static readonly ELIPSIS = 189; public static readonly SENTENCE = 190; public static readonly BARSTRING = 191; public static readonly OPAT = 192; public static readonly AtProgress = 193; public static readonly AtReference = 194; public static readonly AtWidth = 195; public static readonly AtHeight = 196; public static readonly AtProgressPoints = 197; public static readonly AtShortanswer = 198; public static readonly AtLonganswer = 199; public static readonly AtExampleWithStr = 200; public static readonly AtExamplecol = 201; public static readonly AtExamplecl = 202; public static readonly AtSampleSolution = 203; public static readonly AtPartialAnswerS = 204; public static readonly AtPartialAnswer = 205; public static readonly AtLabeltrue = 206; public static readonly AtLabelfalse = 207; public static readonly AtPoints = 208; public static readonly AtSrc = 209; public static readonly AtPartner = 210; public static readonly OPATALT = 211; public static readonly OPAMARK = 212; public static readonly ShowInIndex = 213; public static readonly OpAtCaption = 214; public static readonly OpAtLicense = 215; public static readonly OpAtCopyright = 216; public static readonly OpAtSearch = 217; public static readonly OpAtIsTracked = 218; public static readonly OpAtIsInfoOnly = 219; public static readonly AtDate = 220; public static readonly Http = 221; public static readonly Https = 222; public static readonly AmpAudio = 223; public static readonly AmpImage = 224; public static readonly AmpImageZoom = 225; public static readonly AmpImageWAudio = 226; public static readonly AmpVideo = 227; public static readonly AmpArticle = 228; public static readonly AmpDocument = 229; public static readonly AmpApp = 230; public static readonly AmpWebsite = 231; public static readonly AmpStillImageFilm = 232; public static readonly AmpPdf = 233; public static readonly OpAmpAudio = 234; public static readonly OpAmpImage = 235; public static readonly OpAmpImageZoom = 236; public static readonly OpAmpImageWAudio = 237; public static readonly OpAmpVideo = 238; public static readonly OpAmpArticle = 239; public static readonly OpAmpArticleAtt = 240; public static readonly OpAmpDocument = 241; public static readonly OpAmpApp = 242; public static readonly OpAmpWebsite = 243; public static readonly OpAmpStillImageFilm = 244; public static readonly BracEnclose = 245; public static readonly AmpAudioLink = 246; public static readonly AmpImageLink = 247; public static readonly AmpVideoLink = 248; public static readonly AmpArticleLink = 249; public static readonly AmpDocumentLink = 250; public static readonly AmpDocumentDownload = 251; public static readonly AmpAppLink = 252; public static readonly AmpWebsiteLink = 253; public static readonly AmpStillImageFilmLink = 254; public static readonly OpAmpAudioLink = 255; public static readonly OpAmpImageLink = 256; public static readonly OpAmpVideoLink = 257; public static readonly OpAmpArticleLink = 258; public static readonly OpAmpDocumentLink = 259; public static readonly OpAmpDocumentDownload = 260; public static readonly OpAmpAppLink = 261; public static readonly OpAmpWebsiteLink = 262; public static readonly OpAmpStillImageFilmLink = 263; public static readonly AmpImageEmbed = 264; public static readonly AmpVideoEmbed = 265; public static readonly AmpAudioEmbed = 266; public static readonly AmpDocumentEmbed = 267; public static readonly AmpStillImageFilmEmbed = 268; public static readonly OpAmpImageEmbed = 269; public static readonly OpAmpVideoEmbed = 270; public static readonly OpAmpAudioEmbed = 271; public static readonly OpAmpDocumentEmbed = 272; public static readonly OpAmpStillImageFilmEmbed = 273; public static readonly BitmarkMinus = 274; public static readonly BitmarkPlus = 275; public static readonly ColonText = 276; public static readonly ColonJson = 277; public static readonly Prosemirror = 278; public static readonly Placeholder = 279; public static readonly BASIC = 280; public static readonly JPG = 281; public static readonly PNG = 282; public static readonly GIF = 283; public static readonly SVG = 284; public static readonly MP2 = 285; public static readonly MP3 = 286; public static readonly MP4 = 287; public static readonly FLV = 288; public static readonly WMV = 289; public static readonly MPEG = 290; public static readonly MPG = 291; public static readonly TEL = 292; public static readonly DotArticleAtt = 293; public static readonly STAR = 294; public static readonly URL = 295; public static readonly LIST_LINE = 296; public static readonly ENCLBARS = 297; public static readonly RULE_bitmark = 0; public static readonly RULE_bitmark_ = 1; public static readonly RULE_bit = 2; public static readonly RULE_book = 3; public static readonly RULE_chapter = 4; public static readonly RULE_ai_prompt = 5; public static readonly RULE_note_ai = 6; public static readonly RULE_summary_ai = 7; public static readonly RULE_article_ai = 8; public static readonly RULE_toc = 9; public static readonly RULE_summary = 10; public static readonly RULE_internal_link = 11; public static readonly RULE_bit_alias = 12; public static readonly RULE_title_etc = 13; public static readonly RULE_group_born = 14; public static readonly RULE_group_died = 15; public static readonly RULE_learning_path_lti = 16; public static readonly RULE_learning_path_step = 17; public static readonly RULE_learning_path_book = 18; public static readonly RULE_learning_path_sign = 19; public static readonly RULE_learning_path_video_call = 20; public static readonly RULE_learning_path_learning_goal = 21; public static readonly RULE_learning_path_closing = 22; public static readonly RULE_learning_path_feedback = 23; public static readonly RULE_learning_path_bot_training = 24; public static readonly RULE_learning_path_external_link = 25; public static readonly RULE_learning_path_classroom_training = 26; public static readonly RULE_learning_path_classroom_event = 27; public static readonly RULE_bot_action_send = 28; public static readonly RULE_bot_action_announce = 29; public static readonly RULE_bot_action_save = 30; public static readonly RULE_bot_action_remind = 31; public static readonly RULE_bot_action_response = 32; public static readonly RULE_bot_action_true_false = 33; public static readonly RULE_bot_action_rating_number = 34; public static readonly RULE_bot_action_rating_stars = 35; public static readonly RULE_bot_action = 36; public static readonly RULE_bo_actions = 37; public static readonly RULE_boacts = 38; public static readonly RULE_feedback = 39; public static readonly RULE_footer = 40; public static readonly RULE_bitElem = 41; public static readonly RULE_gap = 42; public static readonly RULE_single_gap = 43; public static readonly RULE_choice_plus = 44; public static readonly RULE_choice_minus = 45; public static readonly RULE_choice_star = 46; public static readonly RULE_essay = 47; public static readonly RULE_ml_example = 48; public static readonly RULE_partans = 49; public static readonly RULE_resource = 50; public static readonly RULE_correction = 51; public static readonly RULE_corrs = 52; public static readonly RULE_mark_ = 53; public static readonly RULE_mark_text = 54; public static readonly RULE_mark_color = 55; public static readonly RULE_take_audio = 56; public static readonly RULE_take_picture = 57; public static readonly RULE_record_audio = 58; public static readonly RULE_preparation_note = 59; public static readonly RULE_assignment = 60; public static readonly RULE_article = 61; public static readonly RULE_statement = 62; public static readonly RULE_details = 63; public static readonly RULE_sample_solution = 64; public static readonly RULE_buttoncopytext = 65; public static readonly RULE_wbtcontinue = 66; public static readonly RULE_learningpathdetails = 67; public static readonly RULE_page = 68; public static readonly RULE_note = 69; public static readonly RULE_info = 70; public static readonly RULE_warning = 71; public static readonly RULE_remark = 72; public static readonly RULE_help = 73; public static readonly RULE_danger = 74; public static readonly RULE_bug = 75; public static readonly RULE_sidenote = 76; public static readonly RULE_stickynote = 77; public static readonly RULE_quote = 78; public static readonly RULE_footnote = 79; public static readonly RULE_hintbit = 80; public static readonly RULE_examplebit = 81; public static readonly RULE_vendor_padlet_embed = 82; public static readonly RULE_scorm = 83; public static readonly RULE_bit_image = 84; public static readonly RULE_bit_imageLink = 85; public static readonly RULE_bit_imageZoom = 86; public static readonly RULE_bit_imagePrototype = 87; public static readonly RULE_bit_imageSuperWide = 88; public static readonly RULE_bit_audio = 89; public static readonly RULE_bit_audioLink = 90; public static readonly RULE_bit_audioEmbed = 91; public static readonly RULE_bit_video = 92; public static readonly RULE_bit_videoLink = 93; public static readonly RULE_bit_videoEmbed = 94; public static readonly RULE_bit_videoPortrait = 95; public static readonly RULE_bit_videoLandscape = 96; public static readonly RULE_bit_stillImageFilm = 97; public static readonly RULE_bit_stillImageFilmLink = 98; public static readonly RULE_bit_stillImageFilmEmbed = 99; public static readonly RULE_bit_websiteLink = 100; public static readonly RULE_bit_document = 101; public static readonly RULE_bit_documentLink = 102; public static readonly RULE_bit_documentEmbed = 103; public static readonly RULE_bit_documentDownload = 104; public static readonly RULE_bit_appLink = 105; public static readonly RULE_bit_editorial = 106; public static readonly RULE_book_frontispiece = 107; public static readonly RULE_book_title = 108; public static readonly RULE_book_copyright = 109; public static readonly RULE_book_dedication = 110; public static readonly RULE_book_forword = 111; public static readonly RULE_book_preface = 112; public static readonly RULE_book_prologue = 113; public static readonly RULE_book_epilogue = 114; public static readonly RULE_book_introduction = 115; public static readonly RULE_book_inciting_incident = 116; public static readonly RULE_book_conclusion = 117; public static readonly RULE_book_afterword = 118; public static readonly RULE_book_postscript = 119; public static readonly RULE_book_appendix = 120; public static readonly RULE_book_addendum = 121; public static readonly RULE_book_acknowledgments = 122; public static readonly RULE_book_list_of_contributors = 123; public static readonly RULE_book_bibliography = 124; public static readonly RULE_book_reference_list = 125; public static readonly RULE_book_endnotes = 126; public static readonly RULE_book_notes = 127; public static readonly RULE_book_copyright_permissions = 128; public static readonly RULE_book_teaser = 129; public static readonly RULE_book_auther_bio = 130; public static readonly RULE_book_request_for_a_book_review = 131; public static readonly RULE_book_coming_soon = 132; public static readonly RULE_book_read_more = 133; public static readonly RULE_book_summary = 134; public static readonly RULE_book_epigraph = 135; public static readonly RULE_code = 136; public static readonly RULE_card1 = 137; public static readonly RULE_question1 = 138; public static readonly RULE_screenshot = 139; public static readonly RULE_focus_image = 140; public static readonly RULE_photo = 141; public static readonly RULE_browser_image = 142; public static readonly RULE_chapter_subject_matter = 143; public static readonly RULE_release_note = 144; public static readonly RULE_conclusion = 145; public static readonly RULE_featured = 146; public static readonly RULE_vendor_amcharts_5_chart = 147; public static readonly RULE_newspaper_article = 148; public static readonly RULE_blog_article = 149; public static readonly RULE_book_article = 150; public static readonly RULE_notebook_article = 151; public static readonly RULE_workbook_article = 152; public static readonly RULE_message = 153; public static readonly RULE_bot_interview = 154; public static readonly RULE_bot_choice = 155; public static readonly RULE_rating = 156; public static readonly RULE_bullet_item = 157; public static readonly RULE_survey = 158; public static readonly RULE_survey_1 = 159; public static readonly RULE_survey_anonymous = 160; public static readonly RULE_survey_anonymous_1 = 161; public static readonly RULE_self_assessment = 162; public static readonly RULE_self_assess_s_and_w = 163; public static readonly RULE_atpoint = 164; public static readonly RULE_format = 165; public static readonly RULE_resource_format = 166; public static readonly RULE_resource_format_extra = 167; public static readonly RULE_format2 = 168; public static readonly RULE_image_format = 169; public static readonly RULE_video_format = 170; public static readonly RULE_article_format = 171; public static readonly RULE_document_format = 172; public static readonly RULE_app_format = 173; public static readonly RULE_website_format = 174; public static readonly RULE_stillimagefilm_format = 175; public static readonly RULE_op_article_format = 176; public static readonly RULE_op_document_format = 177; public static readonly RULE_op_app_format = 178; public static readonly RULE_op_website_format = 179; public static readonly RULE_op_video_format = 180; public static readonly RULE_op_stillimagefilm_format = 181; public static readonly RULE_articlebit = 182; public static readonly RULE_documentbit = 183; public static readonly RULE_websitebit = 184; public static readonly RULE_appbit = 185; public static readonly RULE_stillimagefilmbit = 186; public static readonly RULE_stillimg_one = 187; public static readonly RULE_videobit = 188; public static readonly RULE_video_one = 189; public static readonly RULE_imagebit = 190; public static readonly RULE_image_one = 191; public static readonly RULE_op_image_format = 192; public static readonly RULE_image_chained = 193; public static readonly RULE_image_chained4match = 194; public static readonly RULE_audiobit = 195; public static readonly RULE_audio_one = 196; public static readonly RULE_audio_format = 197; public static readonly RULE_op_audio_format = 198; public static readonly RULE_resource_chained = 199; public static readonly RULE_telephone = 200; public static readonly RULE_url = 201; public static readonly RULE_item = 202; public static readonly RULE_lead = 203; public static readonly RULE_angleref = 204; public static readonly RULE_example = 205; public static readonly RULE_bracketed_text = 206; public static readonly RULE_reference = 207; public static readonly RULE_progress = 208; public static readonly RULE_dateprop = 209; public static readonly RULE_dateprop_chained = 210; public static readonly RULE_instruction = 211; public static readonly RULE_hint = 212; public static readonly RULE_title = 213; public static readonly RULE_bool_label = 214; public static readonly RULE_progress_points = 215; public static readonly RULE_istracked = 216; public static readonly RULE_isinfoonly = 217; public static readonly RULE_atdef = 218; public static readonly RULE_atdef_ = 219; public static readonly RULE_dollarans = 220; public static readonly RULE_anchor = 221; public static readonly RULE_lines = 222; public static readonly RULE_s_and_w = 223; public static readonly RULE_dclines = 224; public static readonly RULE_clnsp = 225; public static readonly RULE_sspl = 226; public static readonly RULE_words = 227; public static readonly RULE_sp = 228; public static readonly RULE_sentence = 229; // tslint:disable:no-trailing-whitespace public static readonly ruleNames: string[] = [ "bitmark", "bitmark_", "bit", "book", "chapter", "ai_prompt", "note_ai", "summary_ai", "article_ai", "toc", "summary", "internal_link", "bit_alias", "title_etc", "group_born", "group_died", "learning_path_lti", "learning_path_step", "learning_path_book", "learning_path_sign", "learning_path_video_call", "learning_path_learning_goal", "learning_path_closing", "learning_path_feedback", "learning_path_bot_training", "learning_path_external_link", "learning_path_classroom_training", "learning_path_classroom_event", "bot_action_send", "bot_action_announce", "bot_action_save", "bot_action_remind", "bot_action_response", "bot_action_true_false", "bot_action_rating_number", "bot_action_rating_stars", "bot_action", "bo_actions", "boacts", "feedback", "footer", "bitElem", "gap", "single_gap", "choice_plus", "choice_minus", "choice_star", "essay", "ml_example", "partans", "resource", "correction", "corrs", "mark_", "mark_text", "mark_color", "take_audio", "take_picture", "record_audio", "preparation_note", "assignment", "article", "statement", "details", "sample_solution", "buttoncopytext", "wbtcontinue", "learningpathdetails", "page", "note", "info", "warning", "remark", "help", "danger", "bug", "sidenote", "stickynote", "quote", "footnote", "hintbit", "examplebit", "vendor_padlet_embed", "scorm", "bit_image", "bit_imageLink", "bit_imageZoom", "bit_imagePrototype", "bit_imageSuperWide", "bit_audio", "bit_audioLink", "bit_audioEmbed", "bit_video", "bit_videoLink", "bit_videoEmbed", "bit_videoPortrait", "bit_videoLandscape", "bit_stillImageFilm", "bit_stillImageFilmLink", "bit_stillImageFilmEmbed", "bit_websiteLink", "bit_document", "bit_documentLink", "bit_documentEmbed", "bit_documentDownload", "bit_appLink", "bit_editorial", "book_frontispiece", "book_title", "book_copyright", "book_dedication", "book_forword", "book_preface", "book_prologue", "book_epilogue", "book_introduction", "book_inciting_incident", "book_conclusion", "book_afterword", "book_postscript", "book_appendix", "book_addendum", "book_acknowledgments", "book_list_of_contributors", "book_bibliography", "book_reference_list", "book_endnotes", "book_notes", "book_copyright_permissions", "book_teaser", "book_auther_bio", "book_request_for_a_book_review", "book_coming_soon", "book_read_more", "book_summary", "book_epigraph", "code", "card1", "question1", "screenshot", "focus_image", "photo", "browser_image", "chapter_subject_matter", "release_note", "conclusion", "featured", "vendor_amcharts_5_chart", "newspaper_article", "blog_article", "book_article", "notebook_article", "workbook_article", "message", "bot_interview", "bot_choice", "rating", "bullet_item", "survey", "survey_1", "survey_anonymous", "survey_anonymous_1", "self_assessment", "self_assess_s_and_w", "atpoint", "format", "resource_format", "resource_format_extra", "format2", "image_format", "video_format", "article_format", "document_format", "app_format", "website_format", "stillimagefilm_format", "op_article_format", "op_document_format", "op_app_format", "op_website_format", "op_video_format", "op_stillimagefilm_format", "articlebit", "documentbit", "websitebit", "appbit", "stillimagefilmbit", "stillimg_one", "videobit", "video_one", "imagebit", "image_one", "op_image_format", "image_chained", "image_chained4match", "audiobit", "audio_one", "audio_format", "op_audio_format", "resource_chained", "telephone", "url", "item", "lead", "angleref", "example", "bracketed_text", "reference", "progress", "dateprop", "dateprop_chained", "instruction", "hint", "title", "bool_label", "progress_points", "istracked", "isinfoonly", "atdef", "atdef_", "dollarans", "anchor", "lines", "s_and_w", "dclines", "clnsp", "sspl", "words", "sp", "sentence", ]; private static readonly _LITERAL_NAMES: Array<string | undefined> = [ undefined, "'[.'", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "'CLOZE'", "'MATCH'", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "':'", "'&'", "'::'", "'+'", "'.@'", "'>'", "'<'", "'\u25BA'", "'\u2192'", "'=='", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "'[@'", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "'http://'", "'https://'", "'&audio'", "'&image'", "'&image-zoom'", "'&image-with-audio'", "'&video'", "'&article'", "'&document'", "'&app'", "'&website'", "'&still-image-film'", "'&pdf'", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "'&audio-link'", "'&image-link'", "'&video-link'", "'&article-link'", "'&document-link'", "'&document-download'", "'&app-link'", "'&website-link'", "'&still-image-film-link'", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "'&image-embed'", "'&video-embed'", "'&daudio-embed'", "'&document-embed'", "'&still-image-film-embed'", undefined, undefined, undefined, undefined, undefined, "':bitmark--'", "':bitmark++'", "':text'", "':json'", "':prosemirror'", "':placeholder'", "':basic'", "':jpg'", "':png'", "':gif'", "':svg'", "':mp2'", "':mp3'", "':mp4'", "':flv'", "':wmv'", "':mpeg'", "':mpg'", "'tel:'", "'.article-attachment'", "'*'", ]; private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [ undefined, "OPDOT", "S", "BitBook", "BitChapter", "BitToc", "BitSummary", "BitIntlink", "BitIntRef", "BitAlias", "BitGroups", "BitGroupt", "BitPlaceholder", "BitStatement", "BitDetails", "BitSampleSolution", "BitTakeAudio", "CLOZE", "MATCH", "BitArticle", "BitPage", "BitEssay", "BitMessage", "BitCorrection", "BitMark", "BitTakepic", "BitRecaud", "BitPrepnote", "BitAssign", "BitBotint", "BitSelfassess", "BitRating", "BitSurvey", "BitSurvey1", "BitSurveyanon", "BitSurveyanon1", "BitNote", "BitInfo", "BitWarning", "BitRemark", "BitHint", "BitHelp", "BitDanger", "BitBug", "BitSidenote", "BitStickynote", "BitQuote", "BitFootnote", "BitExample", "BitButtonCopytext", "BitWbtContinue", "BitLearningPathDetails", "BitAiPrompt", "BitNoteAi", "BitSummayAi", "BitArticleAi", "BitLearningPathLti", "BitLearningPathStep", "BitLearningPathBook", "BitLearningPathSign", "BitLearningPathVideoCall", "BitLearningPathLearningGoal", "BitLearningPathClosing", "BitLearningPathFeedback", "BitLearningPathBotTraining", "BitLearningPathExternalLink", "BitLearningPathClassroomTraining", "BitLearningPathClassroomEvent", "BitBotActionSend", "BitBotActionAnnounce", "BitBotActionSave", "BitBotActionRemind", "BitVendorPadletEmbed", "BitScorm", "BitImage", "BitImageLink", "BitImageZoom", "BitImagePrototype", "BitImageSuperWide", "BitAudio", "BitAudioLink", "BitAudioEmbed", "BitVideo", "BitVideoLink", "BitVideoEmbed", "BitVideoPortrait", "BitVideoLandscape", "BitStillImageFilm", "BitStillImageFilmLink", "BitStillImageFilmEmbed", "BitWebsiteLink", "BitDocument", "BitDocumentLink", "BitDocumentEmbed", "BitDocumentDownload", "BitAppLink", "BitEditorial", "BitBookFrontispiece", "BitBookTitle", "BitBookCopyright", "BitBookDedication", "BitBookForword", "BitBookPreface", "BitBookPrologue", "BitBookEpilogue", "BitBookIntroduction", "BitBookIncitingIncident", "BitBookConclusion", "BitBookAfterword", "BitBookPostscript", "BitBookappendix", "BitBookAddendum", "BitBookAcknowledgments", "BitBookListOfContributors", "BitBookBibliography", "BitBookReferenceList", "BitBookEndnotes", "BitBookNotes", "BitBookCopyrightPermissions", "BitBookTeaser", "BitBookAutherBio", "BitBookRequestForABookReview", "BitBookComingSoon", "BitBookReadMore", "BitBookSummary", "BitBookEpigraph", "BitCode", "BitCard1", "BitQuestion1", "BitScreenshot", "BitFocusImage", "BitPhoto", "BitBrowserImage", "BitBotActionResponse", "BitBotActionTrueFalse", "BitBotActionRatingNumber", "BitBotActionRatingStars", "BitChapterSubjectMatter", "BitReleaseNote", "BitConclusion", "BitVendorAmcharts5Chart", "BitFeatured", "BitNewspaperArticle", "BitBlogArticle", "BitBookArticle", "BitNotebookArticle", "BitWorkbookArticle", "OPDOLL", "OPBUL", "OPRANGLES", "OPRANGLEL", "OPDANGLE", "OPU", "OPB", "OPQ", "OPA", "OPP", "OPM", "OPS", "OPR", "OPHASH", "OPC", "CL", "COLON", "AMP", "DBLCOLON", "PLUS", "DotAt", "Greater", "Less", "RightAngle", "RightArrow", "DBLEQ", "HSPL", "HSPL2", "SSPL", "SSPL2", "QUOTE_INDEX", "COMMENT", "DCANY", "Image_type", "Audio_type", "Video_type", "ArticleText", "NOTCL", "NUMERIC", "STRING", "NL", "NOTBITMARK", "ELIPSIS", "SENTENCE", "BARSTRING", "OPAT", "AtProgress", "AtReference", "AtWidth", "AtHeight", "AtProgressPoints", "AtShortanswer", "AtLonganswer", "AtExampleWithStr", "AtExamplecol", "AtExamplecl", "AtSampleSolution", "AtPartialAnswerS", "AtPartialAnswer", "AtLabeltrue", "AtLabelfalse", "AtPoints", "AtSrc", "AtPartner", "OPATALT", "OPAMARK", "ShowInIndex", "OpAtCaption", "OpAtLicense", "OpAtCopyright", "OpAtSearch", "OpAtIsTracked", "OpAtIsInfoOnly", "AtDate", "Http", "Https", "AmpAudio", "AmpImage", "AmpImageZoom", "AmpImageWAudio", "AmpVideo", "AmpArticle", "AmpDocument", "AmpApp", "AmpWebsite", "AmpStillImageFilm", "AmpPdf", "OpAmpAudio", "OpAmpImage", "OpAmpImageZoom", "OpAmpImageWAudio", "OpAmpVideo", "OpAmpArticle", "OpAmpArticleAtt", "OpAmpDocument", "OpAmpApp", "OpAmpWebsite", "OpAmpStillImageFilm", "BracEnclose", "AmpAudioLink", "AmpImageLink", "AmpVideoLink", "AmpArticleLink", "AmpDocumentLink", "AmpDocumentDownload", "AmpAppLink", "AmpWebsiteLink", "AmpStillImageFilmLink", "OpAmpAudioLink", "OpAmpImageLink", "OpAmpVideoLink", "OpAmpArticleLink", "OpAmpDocumentLink", "OpAmpDocumentDownload", "OpAmpAppLink", "OpAmpWebsiteLink", "OpAmpStillImageFilmLink", "AmpImageEmbed", "AmpVideoEmbed", "AmpAudioEmbed", "AmpDocumentEmbed", "AmpStillImageFilmEmbed", "OpAmpImageEmbed", "OpAmpVideoEmbed", "OpAmpAudioEmbed", "OpAmpDocumentEmbed", "OpAmpStillImageFilmEmbed", "BitmarkMinus", "BitmarkPlus", "ColonText", "ColonJson", "Prosemirror", "Placeholder", "BASIC", "JPG", "PNG", "GIF", "SVG", "MP2", "MP3", "MP4", "FLV", "WMV", "MPEG", "MPG", "TEL", "DotArticleAtt", "STAR", "URL", "LIST_LINE", "ENCLBARS", ]; public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(bitmarkParser._LITERAL_NAMES, bitmarkParser._SYMBOLIC_NAMES, []); // @Override // @NotNull public get vocabulary(): Vocabulary { return bitmarkParser.VOCABULARY; } // tslint:enable:no-trailing-whitespace // @Override public get grammarFileName(): string { return "bitmarkParser.g4"; } // @Override public get ruleNames(): string[] { return bitmarkParser.ruleNames; } // @Override public get serializedATN(): string { return bitmarkParser._serializedATN; } protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException { return new FailedPredicateException(this, predicate, message); } constructor(input: TokenStream) { super(input); this._interp = new ParserATNSimulator(bitmarkParser._ATN, this); } // @RuleVersion(0) public bitmark(): BitmarkContext { let _localctx: BitmarkContext = new BitmarkContext(this._ctx, this.state); this.enterRule(_localctx, 0, bitmarkParser.RULE_bitmark); let _la: number; try { let _alt: number; this.enterOuterAlt(_localctx, 1); { this.state = 473; this._errHandler.sync(this); _la = this._input.LA(1); do { { { this.state = 460; this.bitmark_(); this.state = 470; this._errHandler.sync(this); _alt = this.interpreter.adaptivePredict(this._input, 1, this._ctx); while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) { if (_alt === 1) { { { this.state = 464; this._errHandler.sync(this); _la = this._input.LA(1); while (_la === bitmarkParser.S) { { { this.state = 461; this.match(bitmarkParser.S); } } this.state = 466; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 467; this.match(bitmarkParser.NL); } } } this.state = 472; this._errHandler.sync(this); _alt = this.interpreter.adaptivePredict(this._input, 1, this._ctx); } } } this.state = 475; this._errHandler.sync(this); _la = this._input.LA(1); } while ((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << bitmarkParser.S) | (1 << bitmarkParser.BitBook) | (1 << bitmarkParser.BitChapter) | (1 << bitmarkParser.BitToc) | (1 << bitmarkParser.BitSummary) | (1 << bitmarkParser.BitIntlink) | (1 << bitmarkParser.BitIntRef) | (1 << bitmarkParser.BitAlias) | (1 << bitmarkParser.BitGroups) | (1 << bitmarkParser.BitGroupt) | (1 << bitmarkParser.BitStatement) | (1 << bitmarkParser.BitDetails) | (1 << bitmarkParser.BitSampleSolution) | (1 << bitmarkParser.BitTakeAudio) | (1 << bitmarkParser.BitArticle) | (1 << bitmarkParser.BitPage) | (1 << bitmarkParser.BitEssay) | (1 << bitmarkParser.BitMessage) | (1 << bitmarkParser.BitCorrection) | (1 << bitmarkParser.BitMark) | (1 << bitmarkParser.BitTakepic) | (1 << bitmarkParser.BitRecaud) | (1 << bitmarkParser.BitPrepnote) | (1 << bitmarkParser.BitAssign) | (1 << bitmarkParser.BitBotint) | (1 << bitmarkParser.BitSelfassess) | (1 << bitmarkParser.BitRating))) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & ((1 << (bitmarkParser.BitSurvey - 32)) | (1 << (bitmarkParser.BitSurvey1 - 32)) | (1 << (bitmarkParser.BitSurveyanon - 32)) | (1 << (bitmarkParser.BitSurveyanon1 - 32)) | (1 << (bitmarkParser.BitNote - 32)) | (1 << (bitmarkParser.BitInfo - 32)) | (1 << (bitmarkParser.BitWarning - 32)) | (1 << (bitmarkParser.BitRemark - 32)) | (1 << (bitmarkParser.BitHint - 32)) | (1 << (bitmarkParser.BitHelp - 32)) | (1 << (bitmarkParser.BitDanger - 32)) | (1 << (bitmarkParser.BitBug - 32)) | (1 << (bitmarkParser.BitSidenote - 32)) | (1 << (bitmarkParser.BitStickynote - 32)) | (1 << (bitmarkParser.BitQuote - 32)) | (1 << (bitmarkParser.BitFootnote - 32)) | (1 << (bitmarkParser.BitExample - 32)) | (1 << (bitmarkParser.BitButtonCopytext - 32)) | (1 << (bitmarkParser.BitWbtContinue - 32)) | (1 << (bitmarkParser.BitLearningPathDetails - 32)) | (1 << (bitmarkParser.BitAiPrompt - 32)) | (1 << (bitmarkParser.BitNoteAi - 32)) | (1 << (bitmarkParser.BitSummayAi - 32)) | (1 << (bitmarkParser.BitArticleAi - 32)) | (1 << (bitmarkParser.BitLearningPathLti - 32)) | (1 << (bitmarkParser.BitLearningPathStep - 32)) | (1 << (bitmarkParser.BitLearningPathBook - 32)) | (1 << (bitmarkParser.BitLearningPathSign - 32)) | (1 << (bitmarkParser.BitLearningPathVideoCall - 32)) | (1 << (bitmarkParser.BitLearningPathLearningGoal - 32)) | (1 << (bitmarkParser.BitLearningPathClosing - 32)) | (1 << (bitmarkParser.BitLearningPathFeedback - 32)))) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & ((1 << (bitmarkParser.BitLearningPathBotTraining - 64)) | (1 << (bitmarkParser.BitLearningPathExternalLink - 64)) | (1 << (bitmarkParser.BitLearningPathClassroomTraining - 64)) | (1 << (bitmarkParser.BitLearningPathClassroomEvent - 64)) | (1 << (bitmarkParser.BitBotActionSend - 64)) | (1 << (bitmarkParser.BitBotActionAnnounce - 64)) | (1 << (bitmarkParser.BitBotActionSave - 64)) | (1 << (bitmarkParser.BitBotActionRemind - 64)) | (1 << (bitmarkParser.BitVendorPadletEmbed - 64)) | (1 << (bitmarkParser.BitScorm - 64)) | (1 << (bitmarkParser.BitImage - 64)) | (1 << (bitmarkParser.BitImageLink - 64)) | (1 << (bitmarkParser.BitImageZoom - 64)) | (1 << (bitmarkParser.BitImagePrototype - 64)) | (1 << (bitmarkParser.BitImageSuperWide - 64)) | (1 << (bitmarkParser.BitAudio - 64)) | (1 << (bitmarkParser.BitAudioLink - 64)) | (1 << (bitmarkParser.BitAudioEmbed - 64)) | (1 << (bitmarkParser.BitVideo - 64)) | (1 << (bitmarkParser.BitVideoLink - 64)) | (1 << (bitmarkParser.BitVideoEmbed - 64)) | (1 << (bitmarkParser.BitVideoPortrait - 64)) | (1 << (bitmarkParser.BitVideoLandscape - 64)) | (1 << (bitmarkParser.BitStillImageFilm - 64)) | (1 << (bitmarkParser.BitStillImageFilmLink - 64)) | (1 << (bitmarkParser.BitStillImageFilmEmbed - 64)) | (1 << (bitmarkParser.BitWebsiteLink - 64)) | (1 << (bitmarkParser.BitDocument - 64)) | (1 << (bitmarkParser.BitDocumentLink - 64)) | (1 << (bitmarkParser.BitDocumentEmbed - 64)) | (1 << (bitmarkParser.BitDocumentDownload - 64)) | (1 << (bitmarkParser.BitAppLink - 64)))) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & ((1 << (bitmarkParser.BitEditorial - 96)) | (1 << (bitmarkParser.BitBookFrontispiece - 96)) | (1 << (bitmarkParser.BitBookTitle - 96)) | (1 << (bitmarkParser.BitBookCopyright - 96)) | (1 << (bitmarkParser.BitBookDedication - 96)) | (1 << (bitmarkParser.BitBookForword - 96)) | (1 << (bitmarkParser.BitBookPreface - 96)) | (1 << (bitmarkParser.BitBookPrologue - 96)) | (1 << (bitmarkParser.BitBookEpilogue - 96)) | (1 << (bitmarkParser.BitBookIntroduction - 96)) | (1 << (bitmarkParser.BitBookIncitingIncident - 96)) | (1 << (bitmarkParser.BitBookConclusion - 96)) | (1 << (bitmarkParser.BitBookAfterword - 96)) | (1 << (bitmarkParser.BitBookPostscript - 96)) | (1 << (bitmarkParser.BitBookappendix - 96)) | (1 << (bitmarkParser.BitBookAddendum - 96)) | (1 << (bitmarkParser.BitBookAcknowledgments - 96)) | (1 << (bitmarkParser.BitBookListOfContributors - 96)) | (1 << (bitmarkParser.BitBookBibliography - 96)) | (1 << (bitmarkParser.BitBookReferenceList - 96)) | (1 << (bitmarkParser.BitBookEndnotes - 96)) | (1 << (bitmarkParser.BitBookNotes - 96)) | (1 << (bitmarkParser.BitBookCopyrightPermissions - 96)) | (1 << (bitmarkParser.BitBookTeaser - 96)) | (1 << (bitmarkParser.BitBookAutherBio - 96)) | (1 << (bitmarkParser.BitBookRequestForABookReview - 96)) | (1 << (bitmarkParser.BitBookComingSoon - 96)) | (1 << (bitmarkParser.BitBookReadMore - 96)) | (1 << (bitmarkParser.BitBookSummary - 96)) | (1 << (bitmarkParser.BitBookEpigraph - 96)) | (1 << (bitmarkParser.BitCode - 96)) | (1 << (bitmarkParser.BitCard1 - 96)))) !== 0) || ((((_la - 128)) & ~0x1F) === 0 && ((1 << (_la - 128)) & ((1 << (bitmarkParser.BitQuestion1 - 128)) | (1 << (bitmarkParser.BitScreenshot - 128)) | (1 << (bitmarkParser.BitFocusImage - 128)) | (1 << (bitmarkParser.BitPhoto - 128)) | (1 << (bitmarkParser.BitBrowserImage - 128)) | (1 << (bitmarkParser.BitBotActionResponse - 128)) | (1 << (bitmarkParser.BitBotActionTrueFalse - 128)) | (1 << (bitmarkParser.BitBotActionRatingNumber - 128)) | (1 << (bitmarkParser.BitBotActionRatingStars - 128)) | (1 << (bitmarkParser.BitChapterSubjectMatter - 128)) | (1 << (bitmarkParser.BitReleaseNote - 128)) | (1 << (bitmarkParser.BitConclusion - 128)) | (1 << (bitmarkParser.BitVendorAmcharts5Chart - 128)) | (1 << (bitmarkParser.BitFeatured - 128)) | (1 << (bitmarkParser.BitNewspaperArticle - 128)) | (1 << (bitmarkParser.BitBlogArticle - 128)) | (1 << (bitmarkParser.BitBookArticle - 128)) | (1 << (bitmarkParser.BitNotebookArticle - 128)) | (1 << (bitmarkParser.BitWorkbookArticle - 128)) | (1 << (bitmarkParser.OPDANGLE - 128)) | (1 << (bitmarkParser.OPQ - 128)) | (1 << (bitmarkParser.OPS - 128)))) !== 0) || ((((_la - 163)) & ~0x1F) === 0 && ((1 << (_la - 163)) & ((1 << (bitmarkParser.COLON - 163)) | (1 << (bitmarkParser.AMP - 163)) | (1 << (bitmarkParser.Greater - 163)) | (1 << (bitmarkParser.Less - 163)) | (1 << (bitmarkParser.RightAngle - 163)) | (1 << (bitmarkParser.RightArrow - 163)) | (1 << (bitmarkParser.DBLEQ - 163)) | (1 << (bitmarkParser.QUOTE_INDEX - 163)) | (1 << (bitmarkParser.NUMERIC - 163)) | (1 << (bitmarkParser.STRING - 163)) | (1 << (bitmarkParser.NOTBITMARK - 163)) | (1 << (bitmarkParser.ELIPSIS - 163)) | (1 << (bitmarkParser.SENTENCE - 163)) | (1 << (bitmarkParser.BARSTRING - 163)))) !== 0) || ((((_la - 223)) & ~0x1F) === 0 && ((1 << (_la - 223)) & ((1 << (bitmarkParser.AmpAudio - 223)) | (1 << (bitmarkParser.AmpImage - 223)) | (1 << (bitmarkParser.AmpVideo - 223)) | (1 << (bitmarkParser.AmpArticle - 223)) | (1 << (bitmarkParser.AmpDocument - 223)) | (1 << (bitmarkParser.AmpApp - 223)) | (1 << (bitmarkParser.AmpWebsite - 223)) | (1 << (bitmarkParser.AmpStillImageFilm - 223)) | (1 << (bitmarkParser.AmpAudioLink - 223)) | (1 << (bitmarkParser.AmpImageLink - 223)) | (1 << (bitmarkParser.AmpVideoLink - 223)) | (1 << (bitmarkParser.AmpArticleLink - 223)) | (1 << (bitmarkParser.AmpDocumentLink - 223)) | (1 << (bitmarkParser.AmpAppLink - 223)) | (1 << (bitmarkParser.AmpWebsiteLink - 223)) | (1 << (bitmarkParser.AmpStillImageFilmLink - 223)))) !== 0) || ((((_la - 274)) & ~0x1F) === 0 && ((1 << (_la - 274)) & ((1 << (bitmarkParser.BitmarkMinus - 274)) | (1 << (bitmarkParser.BitmarkPlus - 274)) | (1 << (bitmarkParser.URL - 274)))) !== 0)); this.state = 480; this._errHandler.sync(this); _la = this._input.LA(1); while (_la === bitmarkParser.NL) { { { this.state = 477; this.match(bitmarkParser.NL); } } this.state = 482; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 483; this.match(bitmarkParser.EOF); } } catch (re) { if (re instanceof RecognitionException) { _localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return _localctx; } // @RuleVersion(0) public bitmark_(): Bitmark_Context { let _localctx: Bitmark_Context = new Bitmark_Context(this._ctx, this.state); this.enterRule(_localctx, 2, bitmarkParser.RULE_bitmark_); try { this.state = 487; this._errHandler.sync(this); switch (this._input.LA(1)) { case bitmarkParser.BitBook: case bitmarkParser.BitChapter: case bitmarkParser.BitToc: case bitmarkParser.BitSummary: case bitmarkParser.BitIntlink: case bitmarkParser.BitIntRef: case bitmarkParser.BitAlias: case bitmarkParser.BitGroups: case bitmarkParser.BitGroupt: case bitmarkParser.BitStatement: case bitmarkParser.BitDetails: case bitmarkParser.BitSampleSolution: case bitmarkParser.BitTakeAudio: case bitmarkParser.BitArticle: case bitmarkParser.BitPage: case bitmarkParser.BitEssay: case bitmarkParser.BitMessage: case bitmarkParser.BitCorrection: case bitmarkParser.BitMark: case bitmarkParser.BitTakepic: case bitmarkParse