C# Class Pchp.Library.Variables.PrintFormatter

Inheritance: PhpVariableVisitor, IPhpVariableFormatter
显示文件 Open project: iolevel/peachpie

Public Methods

Method Description
Accept ( PhpArray obj ) : void
Accept ( PhpString obj ) : void
Accept ( bool obj ) : void
Accept ( double obj ) : void
Accept ( long obj ) : void
Accept ( string obj ) : void
AcceptArrayItem ( PhpValue>.KeyValuePair entry ) : void
AcceptNull ( ) : void
AcceptObject ( object obj ) : void
PrintFormatter ( Context ctx, string newline ) : Pchp.Core
Serialize ( PhpValue value ) : PhpString

Private Methods

Method Description
OutputIndent ( ) : void

Method Details

Accept() public method

public Accept ( PhpArray obj ) : void
obj Pchp.Core.PhpArray
return void

Accept() public method

public Accept ( PhpString obj ) : void
obj Pchp.Core.PhpString
return void

Accept() public method

public Accept ( bool obj ) : void
obj bool
return void

Accept() public method

public Accept ( double obj ) : void
obj double
return void

Accept() public method

public Accept ( long obj ) : void
obj long
return void

Accept() public method

public Accept ( string obj ) : void
obj string
return void

AcceptArrayItem() public method

public AcceptArrayItem ( PhpValue>.KeyValuePair entry ) : void
entry PhpValue>.KeyValuePair
return void

AcceptNull() public method

public AcceptNull ( ) : void
return void

AcceptObject() public method

public AcceptObject ( object obj ) : void
obj object
return void

PrintFormatter() public method

public PrintFormatter ( Context ctx, string newline ) : Pchp.Core
ctx Pchp.Core.Context
newline string
return Pchp.Core

Serialize() public method

public Serialize ( PhpValue value ) : PhpString
value Pchp.Core.PhpValue
return Pchp.Core.PhpString