CS Parser

Class: Main

Main()

The main API provider

Constructor

new Main()

Source:
Main.js, line 7

Methods

create(Rl) → Parser

Creates a Parser instance

Parameters:
Name Type Description
Rl object | Rule

The parsing rule definition

Source:
Main.js, line 13
Returns:

A new Parser instance

Type:
Parser

newRule(Df) → Rule

Creates a Rule instance

Parameters:
Name Type Default Description
Df object null

The rule definition

Source:
Main.js, line 21
Returns:

A new Rule instance

Type:
Rule

© 2018 Satoshi Soma

Licensed under the Apache License 2.0

Documentation generated by JSDoc 3.6.11 using Docolatte theme on Tue, 05 Sep 2023 18:54:56 GMT

    Hint: You don't need to click on the search box to input.

    Just start typing your words at any time to search for it.

    Classes

    • Composite
      • addChild
      • addChildren
      • traverse
      • verifyChild
    • Context
      • addChild
      • addChildren
      • cleanupChildren
      • clearBuffer
      • end
      • outline
      • parseChunk
      • populate
      • start
      • step
      • traverse
      • updateState
      • verifyChild
    • ContextManager
      • feed
    • Main
      • create
      • newRule
    • Parser
      • addRule
      • addRules
      • onComplete
      • onStart
      • parse
      • parseFile
    • ResultSet
      • add
      • traverse
    • Rule
      • addChild
      • addChildren
      • endsWith
      • express
      • fin
      • init
      • on
      • parse
      • startsWith
      • traverse
      • verifyChild