C# Class Interpreter.frontend.pascal.parsers.StatementParser

Inheritance: PascalParserTD
ファイルを表示 Open project: dfdemar/Pascal_Interpreter Class Usage Examples

Public Methods

Method Description
Parse ( Token token ) : ICodeNode
StatementParser ( PascalParserTD parent ) : System

Protected Methods

Method Description
ParseList ( Token token, ICodeNode parentNode, PascalTokenType terminator, PascalErrorCode errorCode ) : void
SetLineNumber ( ICodeNode node, Token token ) : void

Method Details

Parse() public method

public Parse ( Token token ) : ICodeNode
token Token
return ICodeNode

ParseList() protected method

protected ParseList ( Token token, ICodeNode parentNode, PascalTokenType terminator, PascalErrorCode errorCode ) : void
token Token
parentNode ICodeNode
terminator PascalTokenType
errorCode PascalErrorCode
return void

SetLineNumber() protected method

protected SetLineNumber ( ICodeNode node, Token token ) : void
node ICodeNode
token Token
return void

StatementParser() public method

public StatementParser ( PascalParserTD parent ) : System
parent PascalParserTD
return System