C# Class CSharpMinifier.MinifyMembersAstVisitor

Inheritance: ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor
Datei anzeigen Open project: KvanTTT/CSharp-Minifier Class Usage Examples

Public Methods

Method Description
MinifyMembersAstVisitor ( IEnumerable ignoredMembers, bool consoleApp, bool compressPublic, bool removeToString ) : System
VisitCSharpTokenNode ( CSharpTokenNode token ) : void
VisitConstructorDeclaration ( ConstructorDeclaration constructorDeclaration ) : void
VisitDestructorDeclaration ( DestructorDeclaration destructorDeclaration ) : void
VisitEnumMemberDeclaration ( EnumMemberDeclaration enumMemberDeclaration ) : void
VisitEventDeclaration ( EventDeclaration eventDeclaration ) : void
VisitFieldDeclaration ( FieldDeclaration fieldDeclaration ) : void
VisitIdentifier ( Identifier identifier ) : void
VisitIndexerDeclaration ( IndexerDeclaration indexerDeclaration ) : void
VisitMethodDeclaration ( MethodDeclaration methodDeclaration ) : void
VisitNamespaceDeclaration ( NamespaceDeclaration namespaceDeclaration ) : void
VisitOperatorDeclaration ( OperatorDeclaration operatorDeclaration ) : void
VisitPropertyDeclaration ( PropertyDeclaration propertyDeclaration ) : void
VisitTypeDeclaration ( TypeDeclaration typeDeclaration ) : void

Private Methods

Method Description
CheckModifiers ( EntityDeclaration declaration ) : bool

Method Details

MinifyMembersAstVisitor() public method

public MinifyMembersAstVisitor ( IEnumerable ignoredMembers, bool consoleApp, bool compressPublic, bool removeToString ) : System
ignoredMembers IEnumerable
consoleApp bool
compressPublic bool
removeToString bool
return System

VisitCSharpTokenNode() public method

public VisitCSharpTokenNode ( CSharpTokenNode token ) : void
token CSharpTokenNode
return void

VisitConstructorDeclaration() public method

public VisitConstructorDeclaration ( ConstructorDeclaration constructorDeclaration ) : void
constructorDeclaration ConstructorDeclaration
return void

VisitDestructorDeclaration() public method

public VisitDestructorDeclaration ( DestructorDeclaration destructorDeclaration ) : void
destructorDeclaration DestructorDeclaration
return void

VisitEnumMemberDeclaration() public method

public VisitEnumMemberDeclaration ( EnumMemberDeclaration enumMemberDeclaration ) : void
enumMemberDeclaration EnumMemberDeclaration
return void

VisitEventDeclaration() public method

public VisitEventDeclaration ( EventDeclaration eventDeclaration ) : void
eventDeclaration EventDeclaration
return void

VisitFieldDeclaration() public method

public VisitFieldDeclaration ( FieldDeclaration fieldDeclaration ) : void
fieldDeclaration FieldDeclaration
return void

VisitIdentifier() public method

public VisitIdentifier ( Identifier identifier ) : void
identifier Identifier
return void

VisitIndexerDeclaration() public method

public VisitIndexerDeclaration ( IndexerDeclaration indexerDeclaration ) : void
indexerDeclaration IndexerDeclaration
return void

VisitMethodDeclaration() public method

public VisitMethodDeclaration ( MethodDeclaration methodDeclaration ) : void
methodDeclaration MethodDeclaration
return void

VisitNamespaceDeclaration() public method

public VisitNamespaceDeclaration ( NamespaceDeclaration namespaceDeclaration ) : void
namespaceDeclaration NamespaceDeclaration
return void

VisitOperatorDeclaration() public method

public VisitOperatorDeclaration ( OperatorDeclaration operatorDeclaration ) : void
operatorDeclaration OperatorDeclaration
return void

VisitPropertyDeclaration() public method

public VisitPropertyDeclaration ( PropertyDeclaration propertyDeclaration ) : void
propertyDeclaration PropertyDeclaration
return void

VisitTypeDeclaration() public method

public VisitTypeDeclaration ( TypeDeclaration typeDeclaration ) : void
typeDeclaration TypeDeclaration
return void