C# Class Axiom.Compiler.Framework.PrologCodeParser

Summary description for PrologCodeParser.
Inheritance: IPrologParser
Mostra file Open project: ahodroj/prologdotnet Class Usage Examples

Public Methods

Method Description
ConvertBinaryTreeToCodeDOM ( BinaryTree tree ) : PrologCodeTerm
Parse ( TextReader input ) : PrologCodeUnit
PrologCodeParser ( ) : System
ReadTerm ( int priority ) : PrologCodeTerm
Term ( int n ) : BinaryTree

Private Methods

Method Description
ConvertBinaryListToCodeDOM ( BinaryTree l ) : PrologCodeTerm
ConvertGoalBinaryTreeToCodeDOM ( BinaryTree goal ) : PrologCodeTerm
ConvertGoalVariableBinaryTreeToCodeDOM ( BinaryTree var ) : PrologCodeTerm
DefineNewOperator ( int pri, string assoc, PrologCodeTerm op ) : void
GetAtomOrStringValue ( PrologCodeTerm term ) : string
GetForeignMethodArguments ( PrologCodePredicate f ) : ArrayList
GetListOperators ( PrologCodeNonEmptyList list ) : ArrayList
GetMethodInfo ( string name ) : PrologCodeMethod
IsMethod ( string name, int arity ) : bool
ParserError ( string error, int line, int column ) : void
ProcessAssemblyDirective ( PrologCodePredicate pred ) : void
ProcessForeignMethod ( PrologCodePredicate p ) : void
ProcessHeadlessClause ( PrologCodeTerm term ) : void
ProcessOperator ( PrologCodePredicate p ) : void
ProcessUsingDirective ( PrologCodePredicate pred ) : void
Right ( int n, int m, BinaryTree &result ) : BinaryTree
UpdateOperatorTable ( int priority, string associativity, string name ) : void

Method Details

ConvertBinaryTreeToCodeDOM() public method

public ConvertBinaryTreeToCodeDOM ( BinaryTree tree ) : PrologCodeTerm
tree BinaryTree
return Axiom.Compiler.CodeObjectModel.PrologCodeTerm

Parse() public method

public Parse ( TextReader input ) : PrologCodeUnit
input System.IO.TextReader
return Axiom.Compiler.CodeObjectModel.PrologCodeUnit

PrologCodeParser() public method

public PrologCodeParser ( ) : System
return System

ReadTerm() public method

public ReadTerm ( int priority ) : PrologCodeTerm
priority int
return Axiom.Compiler.CodeObjectModel.PrologCodeTerm

Term() public method

public Term ( int n ) : BinaryTree
n int
return BinaryTree