bitmark-grammar
Version:
632 lines (631 loc) • 2.08 MB
JavaScript
"use strict";
// Generated from ./antlr/bitmarkParser.g4 by ANTLR 4.9.0-SNAPSHOT
Object.defineProperty(exports, "__esModule", { value: true });
exports.SentenceContext = exports.SpContext = exports.WordsContext = exports.SsplContext = exports.ClnspContext = exports.DclinesContext = exports.S_and_wContext = exports.LinesContext = exports.AnchorContext = exports.DollaransContext = exports.Atdef_Context = exports.AtdefContext = exports.IsinfoonlyContext = exports.IstrackedContext = exports.Progress_pointsContext = exports.Bool_labelContext = exports.TitleContext = exports.HintContext = exports.InstructionContext = exports.Dateprop_chainedContext = exports.DatepropContext = exports.ProgressContext = exports.ReferenceContext = exports.Bracketed_textContext = exports.ExampleContext = exports.AnglerefContext = exports.LeadContext = exports.ItemContext = exports.UrlContext = exports.TelephoneContext = exports.Resource_chainedContext = exports.Op_audio_formatContext = exports.Audio_formatContext = exports.Audio_oneContext = exports.AudiobitContext = exports.Image_chained4matchContext = exports.Image_chainedContext = exports.Op_image_formatContext = exports.Image_oneContext = exports.ImagebitContext = exports.Video_oneContext = exports.VideobitContext = exports.Stillimg_oneContext = exports.StillimagefilmbitContext = exports.AppbitContext = exports.WebsitebitContext = exports.DocumentbitContext = exports.ArticlebitContext = exports.Op_stillimagefilm_formatContext = exports.Op_video_formatContext = exports.Op_website_formatContext = exports.Op_app_formatContext = exports.Op_document_formatContext = exports.Op_article_formatContext = exports.Stillimagefilm_formatContext = exports.Website_formatContext = exports.App_formatContext = exports.Document_formatContext = exports.Article_formatContext = exports.Video_formatContext = exports.Image_formatContext = exports.Format2Context = exports.Resource_format_extraContext = exports.Resource_formatContext = exports.FormatContext = exports.AtpointContext = exports.Self_assess_s_and_wContext = exports.Self_assessmentContext = exports.Survey_anonymous_1Context = exports.Survey_anonymousContext = exports.Survey_1Context = exports.SurveyContext = exports.Bullet_itemContext = exports.RatingContext = exports.Bot_choiceContext = exports.Hand_in_contactContext = exports.Hand_in_documentContext = exports.Hand_in_scanContext = exports.Hand_in_photoContext = exports.Hand_in_locationContext = exports.Hand_in_videoContext = exports.Hand_in_voiceContext = exports.Hand_in_audioContext = exports.Logo_attribsContext = exports.LogoContext = exports.Images_logo_graveContext = exports.Toc_chapterContext = exports.App_bitmark_from_editorContext = exports.App_bitmark_from_javascriptContext = exports.StdoutContext = exports.App_code_cellContext = exports.Vendor_jupyter_ipynbContext = exports.Vendor_jupyter_cell_markdownContext = exports.Vendor_jupyter_outputContext = exports.Vendor_jupyter_cell_rawContext = exports.Vendor_jupyter_cell_codeContext = exports.Console_logContext = exports.OutputContext = exports.Code_runtimeContext = exports.App_code_ideContext = exports.App_code_editorContext = exports.Vendor_jsfiddle_embedContext = exports.Vendor_jsfiddleContext = exports.Image_render_svgContext = exports.Page_buy_buttonContext = exports.Page_bannerContext = exports.Details_imageContext = exports.Life_skill_stickerContext = exports.App_create_bits_from_imageContext = exports.App_get_screenshotContext = exports.Image_screenshotContext = exports.Image_styledContext = exports.Image_bannerContext = exports.Image_figureContext = exports.Image_moodContext = exports.Video_link_portraitContext = exports.Video_link_landscapeContext = exports.FigureContext = exports.Book_link_prevContext = exports.Book_link_nextContext = exports.Book_linkContext = exports.App_ai_promptContext = exports.Bitmark_exampleContext = exports.Image_on_deviceContext = exports.Image_landscapeContext = exports.Image_portraitContext = exports.Audio_transcriptContext = exports.Video_transcriptContext = exports.ChecklistContext = exports.Review_approved_noteContext = exports.Review_request_for_review_noteContext = exports.Review_reviewer_noteContext = exports.Review_author_noteContext = exports.Review_noteContext = exports.Lang_teacher_noteContext = exports.Lang_homeworkContext = exports.Lang_vocabularyContext = exports.Lang_audio_scriptContext = exports.Lang_video_scriptContext = exports.Lang_extra_activityContext = exports.Lang_level_upContext = exports.Lang_level_downContext = exports.Lang_useful_phrasesContext = exports.Lang_like_a_localContext = exports.Lang_learning_strategyContext = exports.Lang_good_to_knowContext = exports.Lang_english_around_worldContext = exports.Lang_life_skillsContext = exports.Lang_enabling_language_skillsContext = exports.Lang_learning_outcomesContext = exports.Cook_timerContext = exports.Cook_side_dishContext = exports.Cook_side_drinkContext = exports.Cook_personal_recommendationContext = exports.Cook_recommendationContext = exports.Cook_plateContext = exports.Cook_practice_adviseContext = exports.Cook_arrangementContext = exports.Cook_insertContext = exports.Cook_variationContext = exports.Cook_remarkContext = exports.Cook_ingredientsContext = exports.Cook_stepContext = exports.Cook_preparationContext = exports.MessageContext = exports.Release_notes_summaryContext = exports.Workbook_articleContext = exports.Notebook_articleContext = exports.Book_articleContext = exports.Blog_articleContext = exports.Newspaper_articleContext = exports.Vendor_amcharts_5_chartContext = exports.FeaturedContext = exports.ConclusionContext = exports.Release_noteContext = exports.Chapter_subject_matterContext = exports.Browser_imageContext = exports.PhotoContext = exports.Focus_imageContext = exports.ScreenshotContext = exports.Question1Context = exports.Card1Context = exports.CodeContext = exports.Book_epigraphContext = exports.Book_summaryContext = exports.Book_read_moreContext = exports.Book_coming_soonContext = exports.Book_request_for_a_book_reviewContext = exports.Book_auther_bioContext = exports.Book_teaserContext = exports.Book_copyright_permissionsContext = exports.Book_notesContext = exports.Book_endnotesContext = exports.Book_reference_listContext = exports.Book_bibliographyContext = exports.Book_list_of_contributorsContext = exports.Book_acknowledgmentsContext = exports.Book_addendumContext = exports.Book_appendixContext = exports.Book_postscriptContext = exports.Book_afterwordContext = exports.Book_conclusionContext = exports.Book_inciting_incidentContext = exports.Book_introductionContext = exports.Book_epilogueContext = exports.Book_prologueContext = exports.Book_prefaceContext = exports.Book_forwordContext = exports.Book_dedicationContext = exports.Book_copyrightContext = exports.Book_titleContext = exports.Book_frontispieceContext = exports.Bit_editorialContext = exports.Bit_appLinkContext = exports.Bit_documentDownloadContext = exports.Bit_documentEmbedContext = exports.Bit_documentLinkContext = exports.Bit_documentContext = exports.Bit_websiteLinkContext = exports.Bit_stillImageFilmEmbedContext = exports.Bit_stillImageFilmLinkContext = exports.Bit_stillImageFilmContext = exports.Bit_videoLandscapeContext = exports.Bit_videoPortraitContext = exports.Bit_videoEmbedContext = exports.Bit_videoLinkContext = exports.Bit_videoContext = exports.Bit_audioEmbedContext = exports.Bit_audioLinkContext = exports.Bit_audioContext = exports.Bit_imageSuperWideContext = exports.Bit_imagePrototypeContext = exports.Bit_imageZoomContext = exports.Bit_imageLinkContext = exports.Bit_imageContext = exports.ScormContext = exports.Vendor_padlet_embedContext = exports.ExamplebitContext = exports.HintbitContext = exports.FootnoteContext = exports.QuoteContext = exports.StickynoteContext = exports.SidenoteContext = exports.BugContext = exports.DangerContext = exports.HelpContext = exports.RemarkContext = exports.WarningContext = exports.InfoContext = exports.NoteContext = exports.PageContext = exports.LearningpathdetailsContext = exports.WbtcontinueContext = exports.ButtoncopytextContext = exports.Sample_solutionContext = exports.DetailsContext = exports.StatementContext = exports.ArticleContext = exports.AssignmentContext = exports.Preparation_noteContext = exports.Record_audioContext = exports.Take_pictureContext = exports.Take_audioContext = exports.Mark_colorContext = exports.Mark_textContext = exports.Mark_Context = exports.CorrsContext = exports.CorrectionContext = exports.ResourceContext = exports.PartansContext = exports.Ml_exampleContext = exports.EssayContext = exports.Choice_starContext = exports.Choice_minusContext = exports.Choice_plusContext = exports.Single_gapContext = exports.GapContext = exports.BitElem_noResourceContext = exports.BitElemContext = exports.FooterContext = exports.FeedbackContext = exports.BoactsContext = exports.Bo_actionsContext = exports.Bot_actionContext = exports.Bot_action_rating_starsContext = exports.Bot_action_rating_numberContext = exports.Bot_action_true_falseContext = exports.Bot_action_responseContext = exports.Bot_action_remindContext = exports.Bot_action_saveContext = exports.Bot_action_announceContext = exports.Bot_action_sendContext = exports.Learning_path_classroom_eventContext = exports.Learning_path_classroom_trainingContext = exports.Learning_path_external_linkContext = exports.Learning_path_bot_trainingContext = exports.Learning_path_feedbackContext = exports.Learning_path_closingContext = exports.Learning_path_learning_goalContext = exports.Learning_path_video_callContext = exports.Learning_path_signContext = exports.Learning_path_bookContext = exports.Learning_path_stepContext = exports.Learning_path_ltiContext = exports.Group_diedContext = exports.Group_bornContext = exports.Title_etcContext = exports.Bit_aliasContext = exports.Internal_linkContext = exports.SummaryContext = exports.TocContext = exports.Article_aiContext = exports.Summary_aiContext = exports.Note_aiContext = exports.Ai_promptContext = exports.ChapterContext = exports.Book_aliasContext = exports.BookContext = exports.BitContext = exports.Bitmark_Context = exports.BitmarkContext = exports.bitmarkParser = void 0;
const ATN_1 = require("antlr4ts/atn/ATN");
const ATNDeserializer_1 = require("antlr4ts/atn/ATNDeserializer");
const FailedPredicateException_1 = require("antlr4ts/FailedPredicateException");
const NoViableAltException_1 = require("antlr4ts/NoViableAltException");
const Parser_1 = require("antlr4ts/Parser");
const ParserRuleContext_1 = require("antlr4ts/ParserRuleContext");
const ParserATNSimulator_1 = require("antlr4ts/atn/ParserATNSimulator");
const RecognitionException_1 = require("antlr4ts/RecognitionException");
const Token_1 = require("antlr4ts/Token");
const VocabularyImpl_1 = require("antlr4ts/VocabularyImpl");
const Utils = require("antlr4ts/misc/Utils");
class bitmarkParser extends Parser_1.Parser {
constructor(input) {
super(input);
this._interp = new ParserATNSimulator_1.ParserATNSimulator(bitmarkParser._ATN, this);
}
// @Override
// @NotNull
get vocabulary() {
return bitmarkParser.VOCABULARY;
}
// tslint:enable:no-trailing-whitespace
// @Override
get grammarFileName() { return "bitmarkParser.g4"; }
// @Override
get ruleNames() { return bitmarkParser.ruleNames; }
// @Override
get serializedATN() { return bitmarkParser._serializedATN; }
createFailedPredicateException(predicate, message) {
return new FailedPredicateException_1.FailedPredicateException(this, predicate, message);
}
// @RuleVersion(0)
bitmark() {
let _localctx = new BitmarkContext(this._ctx, this.state);
this.enterRule(_localctx, 0, bitmarkParser.RULE_bitmark);
let _la;
try {
let _alt;
this.enterOuterAlt(_localctx, 1);
{
this.state = 655;
this._errHandler.sync(this);
_la = this._input.LA(1);
do {
{
{
this.state = 642;
this.bitmark_();
this.state = 652;
this._errHandler.sync(this);
_alt = this.interpreter.adaptivePredict(this._input, 1, this._ctx);
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
if (_alt === 1) {
{
{
this.state = 646;
this._errHandler.sync(this);
_la = this._input.LA(1);
while (_la === bitmarkParser.S) {
{
{
this.state = 643;
this.match(bitmarkParser.S);
}
}
this.state = 648;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
this.state = 649;
this.match(bitmarkParser.NL);
}
}
}
this.state = 654;
this._errHandler.sync(this);
_alt = this.interpreter.adaptivePredict(this._input, 1, this._ctx);
}
}
}
this.state = 657;
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.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.BitReleaseNotesSummary - 128)) | (1 << (bitmarkParser.BitCookPreparation - 128)) | (1 << (bitmarkParser.BitCookStep - 128)) | (1 << (bitmarkParser.BitCookIngredients - 128)) | (1 << (bitmarkParser.BitCookRremark - 128)) | (1 << (bitmarkParser.BitCookVariation - 128)) | (1 << (bitmarkParser.BitCookInsert - 128)) | (1 << (bitmarkParser.BitCookArrangement - 128)) | (1 << (bitmarkParser.BitCookPracticeAdvise - 128)) | (1 << (bitmarkParser.BitCookPlate - 128)) | (1 << (bitmarkParser.BitCookRecommendation - 128)) | (1 << (bitmarkParser.BitCookPersonalRecommendation - 128)) | (1 << (bitmarkParser.BitCookSideDrink - 128)))) !== 0) || ((((_la - 160)) & ~0x1F) === 0 && ((1 << (_la - 160)) & ((1 << (bitmarkParser.BitCookSideDish - 160)) | (1 << (bitmarkParser.BitCookTimer - 160)) | (1 << (bitmarkParser.BitLangLearningOutcomes - 160)) | (1 << (bitmarkParser.BitLangEnablingLanguageSkills - 160)) | (1 << (bitmarkParser.BitLangLifeSkills - 160)) | (1 << (bitmarkParser.BitLangEnglishAroundWorld - 160)) | (1 << (bitmarkParser.BitLangGoodtoknow - 160)) | (1 << (bitmarkParser.BitLangLearningStrategy - 160)) | (1 << (bitmarkParser.BitLangLikeAlocal - 160)) | (1 << (bitmarkParser.BitLangUsefulPhrases - 160)) | (1 << (bitmarkParser.BitLangLevelDown - 160)) | (1 << (bitmarkParser.BitLangLevelUp - 160)) | (1 << (bitmarkParser.BitLangExtraActivity - 160)) | (1 << (bitmarkParser.BitLangVideoScript - 160)) | (1 << (bitmarkParser.BitLangAudioScript - 160)) | (1 << (bitmarkParser.BitLangVocabulary - 160)) | (1 << (bitmarkParser.BitLangHomework - 160)) | (1 << (bitmarkParser.BitLangTeacherNote - 160)) | (1 << (bitmarkParser.BitReviewNote - 160)) | (1 << (bitmarkParser.BitReviewAuthorNote - 160)) | (1 << (bitmarkParser.BitReviewReviewerNote - 160)) | (1 << (bitmarkParser.BitReviewRequestForReviewNote - 160)) | (1 << (bitmarkParser.BitReviewApprovedNote - 160)) | (1 << (bitmarkParser.BitChecklist - 160)) | (1 << (bitmarkParser.BitVideoTranscript - 160)) | (1 << (bitmarkParser.BitAudioTranscript - 160)) | (1 << (bitmarkParser.BitImagePortrait - 160)) | (1 << (bitmarkParser.BitImageLandscape - 160)) | (1 << (bitmarkParser.BitImageOnDevice - 160)) | (1 << (bitmarkParser.BitBitmarkExample - 160)) | (1 << (bitmarkParser.BitAppAiPrompt - 160)) | (1 << (bitmarkParser.BitBookLink - 160)))) !== 0) || ((((_la - 192)) & ~0x1F) === 0 && ((1 << (_la - 192)) & ((1 << (bitmarkParser.BitBookLinkNext - 192)) | (1 << (bitmarkParser.BitBookLinkPrev - 192)) | (1 << (bitmarkParser.BitFigure - 192)) | (1 << (bitmarkParser.BitVideoLinkLandscape - 192)) | (1 << (bitmarkParser.BitVideoLinkPortrait - 192)) | (1 << (bitmarkParser.BitImageMood - 192)) | (1 << (bitmarkParser.BitImageFigure - 192)) | (1 << (bitmarkParser.BitImageBanner - 192)) | (1 << (bitmarkParser.BitImageStyled - 192)) | (1 << (bitmarkParser.BitImageScreenshot - 192)) | (1 << (bitmarkParser.BitAppGetScreenshot - 192)) | (1 << (bitmarkParser.BitAppCreateBitsFromImage - 192)) | (1 << (bitmarkParser.BitLifeSkillSticker - 192)) | (1 << (bitmarkParser.BitDetailsImage - 192)) | (1 << (bitmarkParser.BitImagesLogoGrave - 192)) | (1 << (bitmarkParser.BitPageBanner - 192)) | (1 << (bitmarkParser.BitPageBuyButton - 192)) | (1 << (bitmarkParser.BitVendorJsfiddle - 192)) | (1 << (bitmarkParser.BitVendorJsfiddleEmbed - 192)) | (1 << (bitmarkParser.BitImageRenderSvg - 192)) | (1 << (bitmarkParser.BitAppCodeEditor - 192)) | (1 << (bitmarkParser.BitAppCodeIde - 192)) | (1 << (bitmarkParser.BitCodeRuntime - 192)) | (1 << (bitmarkParser.BitOutput - 192)) | (1 << (bitmarkParser.BitConsoleLog - 192)) | (1 << (bitmarkParser.BitVenderJupyterCellCode - 192)) | (1 << (bitmarkParser.BitVenderJupyterCellRaw - 192)) | (1 << (bitmarkParser.BitVenderJupyterOutput - 192)) | (1 << (bitmarkParser.BitVenderJupyterCellMarkdown - 192)) | (1 << (bitmarkParser.BitVenderJupyterIpynb - 192)) | (1 << (bitmarkParser.BitAppCodeCell - 192)) | (1 << (bitmarkParser.BitStdout - 192)))) !== 0) || ((((_la - 224)) & ~0x1F) === 0 && ((1 << (_la - 224)) & ((1 << (bitmarkParser.BitAppBitmarkFromJavascript - 224)) | (1 << (bitmarkParser.BitAppBitmarkFromEditor - 224)) | (1 << (bitmarkParser.BitBookAlias - 224)) | (1 << (bitmarkParser.BitTocChapter - 224)) | (1 << (bitmarkParser.BitHandInAudio - 224)) | (1 << (bitmarkParser.BitHandInvoice - 224)) | (1 << (bitmarkParser.BitHandInVideo - 224)) | (1 << (bitmarkParser.BitHandInLocation - 224)) | (1 << (bitmarkParser.BitHandInPhoto - 224)) | (1 << (bitmarkParser.BitHandInScan - 224)) | (1 << (bitmarkParser.BitHandInDocument - 224)) | (1 << (bitmarkParser.BitHandInContact - 224)) | (1 << (bitmarkParser.OPDANGLE - 224)) | (1 << (bitmarkParser.OPQ - 224)) | (1 << (bitmarkParser.OPS - 224)))) !== 0) || ((((_la - 256)) & ~0x1F) === 0 && ((1 << (_la - 256)) & ((1 << (bitmarkParser.COLON - 256)) | (1 << (bitmarkParser.AMP - 256)) | (1 << (bitmarkParser.Greater - 256)) | (1 << (bitmarkParser.Less - 256)) | (1 << (bitmarkParser.RightAngle - 256)) | (1 << (bitmarkParser.RightArrow - 256)) | (1 << (bitmarkParser.DBLEQ - 256)) | (1 << (bitmarkParser.QUOTE_INDEX - 256)) | (1 << (bitmarkParser.NUMERIC - 256)) | (1 << (bitmarkParser.STRING - 256)) | (1 << (bitmarkParser.NOTBITMARK - 256)) | (1 << (bitmarkParser.ELIPSIS - 256)) | (1 << (bitmarkParser.SENTENCE - 256)) | (1 << (bitmarkParser.BARSTRING - 256)))) !== 0) || ((((_la - 316)) & ~0x1F) === 0 && ((1 << (_la - 316)) & ((1 << (bitmarkParser.AmpAudio - 316)) | (1 << (bitmarkParser.AmpImage - 316)) | (1 << (bitmarkParser.AmpVideo - 316)) | (1 << (bitmarkParser.AmpArticle - 316)) | (1 << (bitmarkParser.AmpDocument - 316)) | (1 << (bitmarkParser.AmpApp - 316)) | (1 << (bitmarkParser.AmpWebsite - 316)) | (1 << (bitmarkParser.AmpStillImageFilm - 316)) | (1 << (bitmarkParser.AmpAudioLink - 316)) | (1 << (bitmarkParser.AmpImageLink - 316)) | (1 << (bitmarkParser.AmpVideoLink - 316)) | (1 << (bitmarkParser.AmpArticleLink - 316)) | (1 << (bitmarkParser.AmpDocumentLink - 316)) | (1 << (bitmarkParser.AmpAppLink - 316)) | (1 << (bitmarkParser.AmpWebsiteLink - 316)) | (1 << (bitmarkParser.AmpStillImageFilmLink - 316)))) !== 0) || ((((_la - 365)) & ~0x1F) === 0 && ((1 << (_la - 365)) & ((1 << (bitmarkParser.BitmarkMinus - 365)) | (1 << (bitmarkParser.BitmarkPlus - 365)) | (1 << (bitmarkParser.URL - 365)))) !== 0));
this.state = 662;
this._errHandler.sync(this);
_la = this._input.LA(1);
while (_la === bitmarkParser.NL) {
{
{
this.state = 659;
this.match(bitmarkParser.NL);
}
}
this.state = 664;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
this.state = 665;
this.match(bitmarkParser.EOF);
}
}
catch (re) {
if (re instanceof RecognitionException_1.RecognitionException) {
_localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
}
else {
throw re;
}
}
finally {
this.exitRule();
}
return _localctx;
}
// @RuleVersion(0)
bitmark_() {
let _localctx = new Bitmark_Context(this._ctx, this.state);
this.enterRule(_localctx, 2, bitmarkParser.RULE_bitmark_);
try {
this.state = 669;
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 bitmarkParser.BitRecaud:
case bitmarkParser.BitPrepnote:
case bitmarkParser.BitAssign:
case bitmarkParser.BitSelfassess:
case bitmarkParser.BitRating:
case bitmarkParser.BitSurvey:
case bitmarkParser.BitSurvey1:
case bitmarkParser.BitSurveyanon:
case bitmarkParser.BitSurveyanon1:
case bitmarkParser.BitNote:
case bitmarkParser.BitInfo:
case bitmarkParser.BitWarning:
case bitmarkParser.BitRemark:
case bitmarkParser.BitHint:
case bitmarkParser.BitHelp:
case bitmarkParser.BitDanger:
case bitmarkParser.BitBug:
case bitmarkParser.BitSidenote:
case bitmarkParser.BitStickynote:
case bitmarkParser.BitQuote:
case bitmarkParser.BitFootnote:
case bitmarkParser.BitExample:
case bitmarkParser.BitButtonCopytext:
case bitmarkParser.BitWbtContinue:
case bitmarkParser.BitLearningPathDetails:
case bitmarkParser.BitAiPrompt:
case bitmarkParser.BitNoteAi:
case bitmarkParser.BitSummayAi:
case bitmarkParser.BitArticleAi:
case bitmarkParser.BitLearningPathLti:
case bitmarkParser.BitLearningPathStep:
case bitmarkParser.BitLearningPathBook:
case bitmarkParser.BitLearningPathSign:
case bitmarkParser.BitLearningPathVideoCall:
case bitmarkParser.BitLearningPathLearningGoal:
case bitmarkParser.BitLearningPathClosing:
case bitmarkParser.BitLearningPathFeedback:
case bitmarkParser.BitLearningPathBotTraining:
case bitmarkParser.BitLearningPathExternalLink:
case bitmarkParser.BitLearningPathClassroomTraining:
case bitmarkParser.BitLearningPathClassroomEvent:
case bitmarkParser.BitBotActionSend:
case bitmarkParser.BitBotActionAnnounce:
case bitmarkParser.BitBotActionSave:
case bitmarkParser.BitBotActionRemind:
case bitmarkParser.BitVendorPadletEmbed:
case bitmarkParser.BitScorm:
case bitmarkParser.BitImage:
case bitmarkParser.BitImageLink:
case bitmarkParser.BitImageZoom:
case bitmarkParser.BitImagePrototype:
case bitmarkParser.BitImageSuperWide:
case bitmarkParser.BitAudio:
case bitmarkParser.BitAudioLink:
case bitmarkParser.BitAudioEmbed:
case bitmarkParser.BitVideo:
case bitmarkParser.BitVideoLink:
case bitmarkParser.BitVideoEmbed:
case bitmarkParser.BitVideoPortrait:
case bitmarkParser.BitVideoLandscape:
case bitmarkParser.BitStillImageFilm:
case bitmarkParser.BitStillImageFilmLink:
case bitmarkParser.BitStillImageFilmEmbed:
case bitmarkParser.BitWebsiteLink:
case bitmarkParser.BitDocument:
case bitmarkParser.BitDocumentLink:
case bitmarkParser.BitDocumentEmbed:
case bitmarkParser.BitDocumentDownload:
case bitmarkParser.BitAppLink:
case bitmarkParser.BitEditorial:
case bitmarkParser.BitBookFrontispiece:
case bitmarkParser.BitBookTitle:
case bitmarkParser.BitBookCopyright:
case bitmarkParser.BitBookDedication:
case bitmarkParser.BitBookForword:
case bitmarkParser.BitBookPreface:
case bitmarkParser.BitBookPrologue:
case bitmarkParser.BitBookEpilogue:
case bitmarkParser.BitBookIntroduction:
case bitmarkParser.BitBookIncitingIncident:
case bitmarkParser.BitBookConclusion:
case bitmarkParser.BitBookAfterword:
case bitmarkParser.BitBookPostscript:
case bitmarkParser.BitBookappendix:
case bitmarkParser.BitBookAddendum:
case bitmarkParser.BitBookAcknowledgments:
case bitmarkParser.BitBookListOfContributors:
case bitmarkParser.BitBookBibliography:
case bitmarkParser.BitBookReferenceList:
case bitmarkParser.BitBookEndnotes:
case bitmarkParser.BitBookNotes:
case bitmarkParser.BitBookCopyrightPermissions:
case bitmarkParser.BitBookTeaser:
case bitmarkParser.BitBookAutherBio:
case bitmarkParser.BitBookRequestForABookReview:
case bitmarkParser.BitBookComingSoon:
case bitmarkParser.BitBookReadMore:
case bitmarkParser.BitBookSummary:
case bitmarkParser.BitBookEpigraph:
case bitmarkParser.BitCode:
case bitmarkParser.BitCard1:
case bitmarkParser.BitQuestion1:
case bitmarkParser.BitScreenshot:
case bitmarkParser.BitFocusImage:
case bitmarkParser.BitPhoto:
case bitmarkParser.BitBrowserImage:
case bitmarkParser.BitBotActionResponse:
case bitmarkParser.BitBotActionTrueFalse:
case bitmarkParser.BitBotActionRatingNumber:
case bitmarkParser.BitBotActionRatingStars:
case bitmarkParser.BitChapterSubjectMatter:
case bitmarkParser.BitReleaseNote:
case bitmarkParser.BitConclusion:
case bitmarkParser.BitVendorAmcharts5Chart:
case bitmarkParser.BitFeatured:
case bitmarkParser.BitNewspaperArticle:
case bitmarkParser.BitBlogArticle:
case bitmarkParser.BitBookArticle:
case bitmarkParser.BitNotebookArticle:
case bitmarkParser.BitWorkbookArticle:
case bitmarkParser.BitReleaseNotesSummary:
case bitmarkParser.BitCookPreparation:
case bitmarkParser.BitCookStep:
case bitmarkParser.BitCookIngredients:
case bitmarkParser.BitCookRremark:
case bitmarkParser.BitCookVariation:
case bitmarkParser.BitCookInsert:
case bitmarkParser.BitCookArrangement:
case bitmarkParser.BitCookPracticeAdvise:
case bitmarkParser.BitCookPlate:
case bitmarkParser.BitCookRecommendation:
case bitmarkParser.BitCookPersonalRecommendation:
case bitmarkParser.BitCookSideDrink:
case bitmarkParser.BitCookSideDish:
case bitmarkParser.BitCookTimer:
case bitmarkParser.BitLangLearningOutcomes:
case bitmarkParser.BitLangEnablingLanguageSkills:
case bitmarkParser.BitLangLifeSkills:
case bitmarkParser.BitLangEnglishAroundWorld:
case bitmarkParser.BitLangGoodtoknow:
case bitmarkParser.BitLangLearningStrategy:
case bitmarkParser.BitLangLikeAlocal:
case bitmarkParser.BitLangUsefulPhrases:
case bitmarkParser.BitLangLevelDown:
case bitmarkParser.BitLangLevelUp:
case bitmarkParser.BitLangExtraActivity:
case bitmarkParser.BitLangVideoScript:
case bitmarkParser.BitLangAudioScript:
case bitmarkParser.BitLangVocabulary:
case bitmarkParser.BitLangHomework:
case bitmarkParser.BitLangTeacherNote:
case bitmarkParser.BitReviewNote:
case bitmarkParser.BitReviewAuthorNote:
case bitmarkParser.BitReviewReviewerNote:
case bitmarkParser.BitReviewRequestForReviewNote:
case bitmarkParser.BitReviewApprovedNote:
case bitmarkParser.BitChecklist:
case bitmarkParser.BitVideoTranscript:
case bitmarkParser.BitAudioTranscript:
case bitmarkParser.BitImagePortrait:
case bitmarkParser.BitImageLandscape:
case bitmarkParser.BitImageOnDevice:
case bitmarkParser.BitBitmarkExample:
case bitmarkParser.BitAppAiPrompt:
case bitmarkParser.BitBookLink:
case bitmarkParser.BitBookLinkNext:
case bitmarkParser.BitBookLinkPrev:
case bitmarkParser.BitFigure:
case bitmarkParser.BitVideoLinkLandscape:
case bitmarkParser.BitVideoLinkPortrait:
case bitmarkParser.BitImageMood:
case bitmarkParser.BitImageFigure:
case bitmarkParser.BitImageBanner:
case bitmarkParser.BitImageStyled:
case bitmarkParser.BitImageScreenshot:
case bitmarkParser.BitAppGetScreenshot:
case bitmarkParser.BitAppCreateBitsFromImage:
case bitmarkParser.BitLifeSkillSticker:
case bitmarkParser.BitDetailsImage:
case bitmarkParser.BitImagesLogoGrave:
case bitmarkParser.BitPageBanner:
case bitmarkParser.BitPageBuyButton:
case bitmarkParser.BitVendorJsfiddle:
case bitmarkParser.BitVendorJsfiddleEmbed:
case bitmarkParser.BitImageRenderSvg:
case bitmarkParser.BitAppCodeEditor:
case bitmarkParser.BitAppCodeIde:
case bitmarkParser.BitCodeRuntime:
case bitmarkParser.BitOutput:
case bitmarkParser.BitConsoleLog:
case bitmarkParser.BitVenderJupyterCellCode:
case bitmarkParser.BitVenderJupyterCellRaw:
case bitmarkParser.BitVenderJupyterOutput:
case bitmarkParser.BitVenderJupyterCellMarkdown:
case bitmarkParser.BitVenderJupyterIpynb:
case bitmarkParser.BitAppCodeCell:
case bitmarkParser.BitStdout:
case bitmarkParser.BitAppBitmarkFromJavascript:
case bitmarkParser.BitAppBitmarkFromEditor:
case bitmarkParser.BitBookAlias:
case bitmarkParser.BitTocChapter:
case bitmarkParser.BitHandInAudio:
case bitmarkParser.BitHandInvoice:
case bitmarkParser.BitHandInVideo:
case bitmarkParser.BitHandInLocation:
case bitmarkParser.BitHandInPhoto:
case bitmarkParser.BitHandInScan:
case bitmarkParser.BitHandInDocument:
case bitmarkParser.BitHandInContact:
case bitmarkParser.OPDANGLE:
case bitmarkParser.OPQ:
this.enterOuterAlt(_localctx, 1);
{
this.state = 667;
this.bit();
}
break;
case bitmarkParser.S:
case bitmarkParser.OPS:
case bitmarkParser.COLON:
case bitmarkParser.AMP:
case bitmarkParser.Greater:
case bitmarkParser.Less:
case bitmarkParser.RightAngle:
case bitmarkParser.RightArrow:
case bitmarkParser.DBLEQ:
case bitmarkParser.QUOTE_INDEX:
case bitmarkParser.NUMERIC:
case bitmarkParser.STRING:
case bitmarkParser.NOTBITMARK:
case bitmarkParser.ELIPSIS:
case bitmarkParser.SENTENCE:
case bitmarkParser.BARSTRING:
case bitmarkParser.AmpAudio:
case bitmarkParser.AmpImage:
case bitmarkParser.AmpVideo:
case bitmarkParser.AmpArticle:
case bitmarkParser.AmpDocument:
case bitmarkParser.AmpApp:
case bitmarkParser.AmpWebsite:
case bitmarkParser.AmpStillImageFilm:
case bitmarkParser.AmpAudioLink:
case bitmarkParser.AmpImageLink:
case bitmarkParser.AmpVideoLink:
case bitmarkParser.AmpArticleLink:
case bitmarkParser.AmpDocumentLink:
case bitmarkParser.AmpAppLink:
case bitmarkParser.AmpWebsiteLink:
case bitmarkParser.AmpStillImageFilmLink:
case bitmarkParser.BitmarkMinus:
case bitmarkParser.BitmarkPlus:
case bitmarkParser.URL:
this.enterOuterAlt(_localctx, 2);
{
this.state = 668;
this.lines();
}
break;
default:
throw new NoViableAltException_1.NoViableAltException(this);
}
}
catch (re) {
if (re instanceof RecognitionException_1.RecognitionException) {
_localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
}
else {
throw re;
}
}
finally {
this.exitRule();
}
return _localctx;
}
// @RuleVersion(0)
bit() {
let _localctx = new BitContext(this._ctx, this.state);
this.enterRule(_localctx, 4, bitmarkParser.RULE_bit);
try {
this.state = 902;
this._errHandler.sync(this);
switch (this.interpreter.adaptivePredict(this._input, 5, this._ctx)) {
case 1:
this.enterOuterAlt(_localctx, 1);
{
this.state = 671;
this.book();
}
break;
case 2:
this.enterOuterAlt(_localctx, 2);
{
this.state = 672;
this.book_alias();
}
break;
case 3:
this.enterOuterAlt(_localctx, 3);
{
this.state = 673;
this.chapter();
}
break;
case 4:
this.enterOuterAlt(_localctx, 4);
{
this.state = 674;
this.ai_prompt();
}
break;
case 5:
this.enterOuterAlt(_localctx, 5);
{
this.state = 675;
this.note_ai();
}
break;
case 6:
this.enterOuterAlt(_localctx, 6);
{
this.state = 676;
this.summary_ai();
}
break;
case 7:
this.enterOuterAlt(_localctx, 7);
{
this.state = 677;
this.article_ai();
}
break;
case 8:
this.enterOuterAlt(_localctx, 8);
{
this.state = 678;
this.summary();
}
break;
case 9:
this.enterOuterAlt(_localctx, 9);
{
this.state = 679;
this.toc();
}
break;
case 10:
this.enterOuterAlt(_localctx, 10);
{
this.state = 680;
this.bit_alias();
}
break;
case 11:
this.enterOuterAlt(_localctx, 11);
{
this.state = 681;
this.internal_link();
}
break;
case 12:
this.enterOuterAlt(_localctx, 12);
{
this.state = 682;
this.anchor();
}
break;
case 13:
this.enterOuterAlt(_localctx, 13);
{
this.state = 683;
this.group_born();
}
break;
case 14:
this.enterOuterAlt(_localctx, 14);
{
this.state = 684;
this.group_died();
}
break;
case 15:
this.enterOuterAlt(_localctx, 15);
{
this.state = 685;
this.essay();
}
break;
case 16:
this.enterOuterAlt(_localctx, 16);
{
this.state = 686;
this.correction();
}
break;
case 17:
this.enterOuterAlt(_localctx, 17);
{
this.state = 687;
this.mark_();
}
break;
case 18:
this.enterOuterAlt(_localctx, 18);
{
this.state = 688;
this.take_picture();
}
break;
case 19:
this.enterOuterAlt(_localctx, 19);
{
this.state = 689;
this.take_audio();
}
break;
case 20:
this.enterOuterAlt(_localctx, 20);
{
this.state = 690;
this.record_audio();
}
break;
case 21:
this.enterOuterAlt(_localctx, 21);
{
this.state = 691;
this.preparation_note();
}
break;
case 22:
this.enterOuterAlt(_localctx, 22);
{
this.state = 692;
this.assignment();
}
break;
case 23:
this.enterOuterAlt(_localctx, 23);
{
this.state = 693;
this.article();
}
break;
case 24:
this.enterOuterAlt(_localctx, 24);
{
this.state = 694;
this.statement();
}
break;
case 25:
this.enterOuterAlt(_localctx, 25);
{
this.state = 695;
this.details();
}
break;
case 26:
this.enterOuterAlt(_localctx, 26);
{
this.state = 696;
this.sample_solution();
}
break;
case 27:
this.enterOuterAlt(_localctx, 27);
{
this.state = 697;
this.buttoncopytext();
}
break;
case 28:
this.enterOuterAlt(_localctx, 28);
{
this.state = 698;
this.wbtcontinue();
}
break;
case 29: