Method | Description | |
---|---|---|
Replace ( System.Compiler.Node node, System.Compiler.Identifier oldName, System.Compiler.Node newNode ) : void |
Within "node", replace occurrences of identifiers matching oldName (by value) with the given newNode. newNode must be an expression.
|
|
Replace ( System.Compiler.Node node, string labelName, System.Compiler.Block block ) : void |
Within "node", find a labeled statement whose label matches the given string, and replace it with the supplied statement block.
|
|
Replace ( System.Compiler.Node node, string oldName, System.Compiler.Node newNode ) : void |
Within "node", replace identifiers matching the value of oldName with the given newNode (of type Expression).
|
|
VisitAttributeList ( AttributeList attributes ) : AttributeList | ||
VisitConstruct ( System.Compiler.Construct cons ) : System.Compiler.Expression | ||
VisitIdentifier ( System.Compiler.Identifier identifier ) : System.Compiler.Expression | ||
VisitLabeledStatement ( System.Compiler.LabeledStatement lStatement ) : System.Compiler.Statement | ||
VisitLocalDeclaration ( System.Compiler.LocalDeclaration localDeclaration ) : System.Compiler.LocalDeclaration | ||
VisitLocalDeclarationsStatement ( System.Compiler.LocalDeclarationsStatement localDeclarations ) : System.Compiler.Statement | ||
VisitMemberBinding ( System.Compiler.MemberBinding memberBinding ) : System.Compiler.Expression | ||
VisitQualifiedIdentifier ( System.Compiler.QualifiedIdentifier qualifiedIdentifier ) : System.Compiler.Expression | ||
VisitTypeExpression ( System.Compiler.TypeExpression typeExpression ) : System.Compiler.TypeExpression | ||
VisitTypeNode ( System.Compiler.TypeNode typeNode ) : System.Compiler.TypeNode | ||
VisitTypeReference ( System.Compiler.TypeNode type ) : System.Compiler.TypeNode | ||
VisitUnknownNodeType ( System.Compiler.Node node ) : System.Compiler.Node |
Method | Description | |
---|---|---|
Replacer ( System.Compiler.Identifier oldName, System.Compiler.Node newNode ) : System |
public static Replace ( System.Compiler.Node node, System.Compiler.Identifier oldName, System.Compiler.Node newNode ) : void | ||
node | System.Compiler.Node | |
oldName | System.Compiler.Identifier | |
newNode | System.Compiler.Node | |
return | void |
public static Replace ( System.Compiler.Node node, string labelName, System.Compiler.Block block ) : void | ||
node | System.Compiler.Node | |
labelName | string | |
block | System.Compiler.Block | |
return | void |
public static Replace ( System.Compiler.Node node, string oldName, System.Compiler.Node newNode ) : void | ||
node | System.Compiler.Node | |
oldName | string | |
newNode | System.Compiler.Node | |
return | void |
public VisitAttributeList ( AttributeList attributes ) : AttributeList | ||
attributes | AttributeList | |
return | AttributeList |
public VisitConstruct ( System.Compiler.Construct cons ) : System.Compiler.Expression | ||
cons | System.Compiler.Construct | |
return | System.Compiler.Expression |
public VisitIdentifier ( System.Compiler.Identifier identifier ) : System.Compiler.Expression | ||
identifier | System.Compiler.Identifier | |
return | System.Compiler.Expression |
public VisitLabeledStatement ( System.Compiler.LabeledStatement lStatement ) : System.Compiler.Statement | ||
lStatement | System.Compiler.LabeledStatement | |
return | System.Compiler.Statement |
public VisitLocalDeclaration ( System.Compiler.LocalDeclaration localDeclaration ) : System.Compiler.LocalDeclaration | ||
localDeclaration | System.Compiler.LocalDeclaration | |
return | System.Compiler.LocalDeclaration |
public VisitLocalDeclarationsStatement ( System.Compiler.LocalDeclarationsStatement localDeclarations ) : System.Compiler.Statement | ||
localDeclarations | System.Compiler.LocalDeclarationsStatement | |
return | System.Compiler.Statement |
public VisitMemberBinding ( System.Compiler.MemberBinding memberBinding ) : System.Compiler.Expression | ||
memberBinding | System.Compiler.MemberBinding | |
return | System.Compiler.Expression |
public VisitQualifiedIdentifier ( System.Compiler.QualifiedIdentifier qualifiedIdentifier ) : System.Compiler.Expression | ||
qualifiedIdentifier | System.Compiler.QualifiedIdentifier | |
return | System.Compiler.Expression |
public VisitTypeExpression ( System.Compiler.TypeExpression typeExpression ) : System.Compiler.TypeExpression | ||
typeExpression | System.Compiler.TypeExpression | |
return | System.Compiler.TypeExpression |
public VisitTypeNode ( System.Compiler.TypeNode typeNode ) : System.Compiler.TypeNode | ||
typeNode | System.Compiler.TypeNode | |
return | System.Compiler.TypeNode |
public VisitTypeReference ( System.Compiler.TypeNode type ) : System.Compiler.TypeNode | ||
type | System.Compiler.TypeNode | |
return | System.Compiler.TypeNode |
public VisitUnknownNodeType ( System.Compiler.Node node ) : System.Compiler.Node | ||
node | System.Compiler.Node | |
return | System.Compiler.Node |