Documentation
¶
Index ¶
- type Printer
- func (p *Printer) PrintAnonymousFunction(a *ast.AnonymousFunction)
- func (p *Printer) PrintArrayAppendExpression(a *ast.ArrayAppendExpression)
- func (p *Printer) PrintArrayExpression(a *ast.ArrayExpression)
- func (p *Printer) PrintArrayLookupExpression(a *ast.ArrayLookupExpression)
- func (p *Printer) PrintArrayPair(pr *ast.ArrayPair)
- func (p *Printer) PrintAssignmentExpression(a *ast.AssignmentExpression)
- func (p *Printer) PrintBinaryExpression(b *ast.BinaryExpression)
- func (p *Printer) PrintBlock(b *ast.Block)
- func (p *Printer) PrintBreakStmt(b *ast.BreakStmt)
- func (p *Printer) PrintCatchStmt(c *ast.CatchStmt)
- func (p *Printer) PrintClass(c *ast.Class)
- func (p *Printer) PrintClassExpression(c *ast.ClassExpression)
- func (p *Printer) PrintConstant(c *ast.Constant)
- func (p *Printer) PrintConstantExpression(c *ast.ConstantExpression)
- func (p *Printer) PrintContinueStmt(b *ast.ContinueStmt)
- func (p *Printer) PrintDeclareBlock(d *ast.DeclareBlock)
- func (p *Printer) PrintDoWhileStmt(wh *ast.DoWhileStmt)
- func (p *Printer) PrintEchoStmt(e *ast.EchoStmt)
- func (p *Printer) PrintEmptyStatement(e *ast.EmptyStatement)
- func (p *Printer) PrintExitStmt(b *ast.ExitStmt)
- func (p *Printer) PrintExpressionStmt(c *ast.ExpressionStmt)
- func (p *Printer) PrintForStmt(f *ast.ForStmt)
- func (p *Printer) PrintForeachStmt(f *ast.ForeachStmt)
- func (p *Printer) PrintFunctionArgument(fa *ast.FunctionArgument)
- func (p *Printer) PrintFunctionCallExpression(f *ast.FunctionCallExpression)
- func (p *Printer) PrintFunctionCallStmt(f *ast.FunctionCallStmt)
- func (p *Printer) PrintFunctionDefinition(fd *ast.FunctionDefinition)
- func (p *Printer) PrintFunctionStmt(f *ast.FunctionStmt)
- func (p *Printer) PrintGlobalDeclaration(g *ast.GlobalDeclaration)
- func (p *Printer) PrintIdentifier(i *ast.Identifier)
- func (p *Printer) PrintIfStmt(i *ast.IfStmt)
- func (p *Printer) PrintInclude(e *ast.Include)
- func (p *Printer) PrintIncludeStmt(c *ast.IncludeStmt)
- func (p *Printer) PrintInterface(i *ast.Interface)
- func (p *Printer) PrintListStatement(l *ast.ListStatement)
- func (p *Printer) PrintLiteral(l *ast.Literal)
- func (p *Printer) PrintMethod(m *ast.Method)
- func (p *Printer) PrintMethodCallExpression(m *ast.MethodCallExpression)
- func (p *Printer) PrintNewExpression(b *ast.NewExpression)
- func (p *Printer) PrintNode(node ast.Node)
- func (p *Printer) PrintProperty(pr *ast.Property)
- func (p *Printer) PrintPropertyExpression(pr *ast.PropertyExpression)
- func (p *Printer) PrintReturnStmt(r *ast.ReturnStmt)
- func (p *Printer) PrintShellCommand(s *ast.ShellCommand)
- func (p *Printer) PrintStaticVariableDeclaration(s *ast.StaticVariableDeclaration)
- func (p *Printer) PrintSwitchCase(s *ast.SwitchCase)
- func (p *Printer) PrintSwitchStmt(s *ast.SwitchStmt)
- func (p *Printer) PrintTernaryExpression(t *ast.TernaryExpression)
- func (p *Printer) PrintThrowStmt(b *ast.ThrowStmt)
- func (p *Printer) PrintTryStmt(t *ast.TryStmt)
- func (p *Printer) PrintUnaryExpression(u *ast.UnaryExpression)
- func (p *Printer) PrintVariable(v *ast.Variable)
- func (p *Printer) PrintVisibility(v ast.Visibility)
- func (p *Printer) PrintWhileStmt(wh *ast.WhileStmt)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func (*Printer) PrintAnonymousFunction ¶
func (p *Printer) PrintAnonymousFunction(a *ast.AnonymousFunction)
func (*Printer) PrintArrayAppendExpression ¶
func (p *Printer) PrintArrayAppendExpression(a *ast.ArrayAppendExpression)
func (*Printer) PrintArrayExpression ¶
func (p *Printer) PrintArrayExpression(a *ast.ArrayExpression)
func (*Printer) PrintArrayLookupExpression ¶
func (p *Printer) PrintArrayLookupExpression(a *ast.ArrayLookupExpression)
func (*Printer) PrintArrayPair ¶
func (*Printer) PrintAssignmentExpression ¶
func (p *Printer) PrintAssignmentExpression(a *ast.AssignmentExpression)
func (*Printer) PrintBinaryExpression ¶
func (p *Printer) PrintBinaryExpression(b *ast.BinaryExpression)
func (*Printer) PrintBlock ¶
func (*Printer) PrintBreakStmt ¶
func (*Printer) PrintCatchStmt ¶
func (*Printer) PrintClass ¶
func (*Printer) PrintClassExpression ¶
func (p *Printer) PrintClassExpression(c *ast.ClassExpression)
func (*Printer) PrintConstant ¶
func (*Printer) PrintConstantExpression ¶
func (p *Printer) PrintConstantExpression(c *ast.ConstantExpression)
func (*Printer) PrintContinueStmt ¶
func (p *Printer) PrintContinueStmt(b *ast.ContinueStmt)
func (*Printer) PrintDeclareBlock ¶
func (p *Printer) PrintDeclareBlock(d *ast.DeclareBlock)
func (*Printer) PrintDoWhileStmt ¶
func (p *Printer) PrintDoWhileStmt(wh *ast.DoWhileStmt)
func (*Printer) PrintEchoStmt ¶
func (*Printer) PrintEmptyStatement ¶
func (p *Printer) PrintEmptyStatement(e *ast.EmptyStatement)
func (*Printer) PrintExitStmt ¶
func (*Printer) PrintExpressionStmt ¶
func (p *Printer) PrintExpressionStmt(c *ast.ExpressionStmt)
func (*Printer) PrintForStmt ¶
func (*Printer) PrintForeachStmt ¶
func (p *Printer) PrintForeachStmt(f *ast.ForeachStmt)
func (*Printer) PrintFunctionArgument ¶
func (p *Printer) PrintFunctionArgument(fa *ast.FunctionArgument)
func (*Printer) PrintFunctionCallExpression ¶
func (p *Printer) PrintFunctionCallExpression(f *ast.FunctionCallExpression)
func (*Printer) PrintFunctionCallStmt ¶
func (p *Printer) PrintFunctionCallStmt(f *ast.FunctionCallStmt)
func (*Printer) PrintFunctionDefinition ¶
func (p *Printer) PrintFunctionDefinition(fd *ast.FunctionDefinition)
func (*Printer) PrintFunctionStmt ¶
func (p *Printer) PrintFunctionStmt(f *ast.FunctionStmt)
func (*Printer) PrintGlobalDeclaration ¶
func (p *Printer) PrintGlobalDeclaration(g *ast.GlobalDeclaration)
func (*Printer) PrintIdentifier ¶
func (p *Printer) PrintIdentifier(i *ast.Identifier)
func (*Printer) PrintIfStmt ¶
func (*Printer) PrintInclude ¶
func (*Printer) PrintIncludeStmt ¶
func (p *Printer) PrintIncludeStmt(c *ast.IncludeStmt)
func (*Printer) PrintInterface ¶
func (*Printer) PrintListStatement ¶
func (p *Printer) PrintListStatement(l *ast.ListStatement)
func (*Printer) PrintLiteral ¶
func (*Printer) PrintMethod ¶
func (*Printer) PrintMethodCallExpression ¶
func (p *Printer) PrintMethodCallExpression(m *ast.MethodCallExpression)
func (*Printer) PrintNewExpression ¶
func (p *Printer) PrintNewExpression(b *ast.NewExpression)
func (*Printer) PrintProperty ¶
func (*Printer) PrintPropertyExpression ¶
func (p *Printer) PrintPropertyExpression(pr *ast.PropertyExpression)
func (*Printer) PrintReturnStmt ¶
func (p *Printer) PrintReturnStmt(r *ast.ReturnStmt)
func (*Printer) PrintShellCommand ¶
func (p *Printer) PrintShellCommand(s *ast.ShellCommand)
func (*Printer) PrintStaticVariableDeclaration ¶
func (p *Printer) PrintStaticVariableDeclaration(s *ast.StaticVariableDeclaration)
func (*Printer) PrintSwitchCase ¶
func (p *Printer) PrintSwitchCase(s *ast.SwitchCase)
func (*Printer) PrintSwitchStmt ¶
func (p *Printer) PrintSwitchStmt(s *ast.SwitchStmt)
func (*Printer) PrintTernaryExpression ¶
func (p *Printer) PrintTernaryExpression(t *ast.TernaryExpression)
func (*Printer) PrintThrowStmt ¶
func (*Printer) PrintTryStmt ¶
func (*Printer) PrintUnaryExpression ¶
func (p *Printer) PrintUnaryExpression(u *ast.UnaryExpression)
func (*Printer) PrintVariable ¶
func (*Printer) PrintVisibility ¶
func (p *Printer) PrintVisibility(v ast.Visibility)
func (*Printer) PrintWhileStmt ¶
Click to show internal directories.
Click to hide internal directories.