C# Class Foxoft.Ci.CiParser

Inheritance: CiLexer
Show file Open project: epi/cito Class Usage Examples

Public Properties

Property Type Description
CurrentClass CiClass
CurrentMethod CiMethod

Public Methods

Method Description
CiParser ( ) : System
CloseScope ( ) : void
OpenScope ( ) : void
Parse ( string filename, TextReader reader ) : void
ParseMethod ( CiMethod method ) : void
PrintMacroStack ( ) : void

Protected Methods

Method Description
ExpandMacroArg ( string name ) : bool
OnStreamEnd ( ) : bool

Private Methods

Method Description
BeginExpand ( string friendlyName, string content, string>.Dictionary args ) : void
CreateThis ( ) : CiParam
Expand ( CiMacro macro ) : void
LookupType ( string name ) : CiType
ParseAddExpr ( ) : CiExpr
ParseAndExpr ( ) : CiExpr
ParseArg ( ) : void
ParseArrayType ( CiType baseType ) : CiType
ParseBinaryResource ( ) : CiBinaryResourceExpr
ParseBlock ( ) : CiBlock
ParseBody ( CiToken left, CiToken right ) : void
ParseClass ( ) : CiClass
ParseCond ( ) : CiExpr
ParseCondAndExpr ( ) : CiExpr
ParseCondOrExpr ( ) : CiExpr
ParseConst ( ) : CiConst
ParseConstInitializer ( CiType type ) : object
ParseConstructor ( ) : CiMethod
ParseDelegate ( ) : CiDelegate
ParseDoc ( ) : CiCodeDoc
ParseEnum ( ) : CiEnum
ParseEqualityExpr ( ) : CiExpr
ParseExpr ( ) : CiExpr
ParseExprWithSideEffect ( ) : ICiStatement
ParseId ( ) : string
ParseMacro ( ) : CiMacro
ParseMaybeAssign ( ) : CiMaybeAssign
ParseMulExpr ( ) : CiExpr
ParseNativeBlock ( ) : CiNativeBlock
ParseOrExpr ( ) : CiExpr
ParseParams ( ) : Foxoft.Ci.CiParam[]
ParsePrimaryExpr ( ) : CiExpr
ParseRelExpr ( ) : CiExpr
ParseReturnType ( ) : CiType
ParseShiftExpr ( ) : CiExpr
ParseStatement ( ) : ICiStatement
ParseSwitch ( ) : CiSwitch
ParseType ( ) : CiType
ParseVar ( ) : CiVar
ParseVarOrExpr ( ) : ICiStatement
ParseXorExpr ( ) : CiExpr

Method Details

CiParser() public method

public CiParser ( ) : System
return System

CloseScope() public method

public CloseScope ( ) : void
return void

ExpandMacroArg() protected method

protected ExpandMacroArg ( string name ) : bool
name string
return bool

OnStreamEnd() protected method

protected OnStreamEnd ( ) : bool
return bool

OpenScope() public method

public OpenScope ( ) : void
return void

Parse() public method

public Parse ( string filename, TextReader reader ) : void
filename string
reader TextReader
return void

ParseMethod() public method

public ParseMethod ( CiMethod method ) : void
method CiMethod
return void

PrintMacroStack() public method

public PrintMacroStack ( ) : void
return void

Property Details

CurrentClass public property

public CiClass,Foxoft.Ci CurrentClass
return CiClass

CurrentMethod public property

public CiMethod,Foxoft.Ci CurrentMethod
return CiMethod