Mercury library 1.0 Translation of CFG grammars into an object model (Bachelor's thesis).

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
Mercury.Syntax.IScanner Interface Reference

Scanner scans input tokens and creates additional rules for parsing. More...

Inheritance diagram for Mercury.Syntax.IScanner:

## Public Member Functions
IEnumerable< Rule > | Scan (IEnumerable< Token > tokens)
| Scans input tokens and creates additional rules for parsing. More...

## Detailed Description

Scanner scans input tokens and creates additional rules for parsing.

LHS of these rules should (but is not required to) begin with `'@'` character to make them different from grammar rules.

Definition at line 20 of file Scanner.cs.

## Member Function Documentation

IEnumerable<Rule> Mercury.Syntax.IScanner.Scan | ( | IEnumerable< Token > | tokens | ) |

Scans input tokens and creates additional rules for parsing.

Parameters

  tokens | Input tokens.

Returns
  Enumeration of additional rules.

Implemented in Mercury.Syntax.BasicScanner, and Mercury.Syntax.CompositeScanner.

The documentation for this interface was generated from the following file:

- Mercury/Mercury/Syntax/Scanner.cs