Skip to content

Commit

Permalink
parser unresolvedRefDefinitionError extra members.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahar Soel committed Jul 25, 2015
1 parent 9b019fd commit 2f17f7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/parse/parser_public.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ namespace chevrotain {
parameter?:string
}

export interface IParserUnresolvedRefDefinitionError extends IParserDefinitionError {
unresolvedRefName:string
}

// parameters needed to compute the key in the FOLLOW_SET map.
export interface IFollowKey {
ruleName: string
Expand Down
2 changes: 1 addition & 1 deletion src/scan/lexer_public.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace chevrotain {
* this is usually used for ignoring whitespace/comments
* example: --> class Whitespace extends Token { static PATTERN = /(\t| )/; static IGNORE = true}<--
*
* 3. With a PATTERN property that has the value of the let Lexer.NA defined above.
* 3. With a PATTERN property that has the value of the var Lexer.NA defined above.
* This is a convenience form used to avoid matching Token classes that only act as categories.
* example: -->class Keyword extends Token { static PATTERN = NA }<--
*
Expand Down

0 comments on commit 2f17f7d

Please sign in to comment.