-
Notifications
You must be signed in to change notification settings - Fork 0
Jump Instructions
Benedict Albrecht edited this page May 20, 2026
·
5 revisions
The jump instruction skips all tokens until a concrete target token is found. Useful when the content between delimiters is irrelevant to the grammar.
-->> stopToken
Rule: The target must be a concrete literal — e.g.,
\n,),;,BEGIN,*/. It cannot be an or-statement with an empty branch.
| Pattern | Matches |
|---|---|
// -->> \n |
Single-line comment: from // to end of line |
/* -->> */ |
Block comment: from /* to */
|
( -->> ) |
Parenthesized content: skip to closing )
|
' -->> ' |
String literal: from ' to '
|
<*comment_line*> // -->> \n <*>
<*comment_block*> /* -->> */ <*>
Next: Variables — Capturing tokens and controlling scope.
- Getting Started
- Sign-Up
- Home Screen
- Creating Your First Template
- Template Editor
- Application Navigation
- Syntax Overview
- Workflow: End-to-End
- Workflow: Test with simpleDemo
- Workflow: Build Template from angularTemp
- Demo Repositories
- Template
- Workbench
- GitHub Integration
- GitHub App Installation
- GitHub Repository Setup
- GitHub Re-linking
- Settings
- Overview
- Declarations
- Types
- Scoping