C# Class Boo.Lang.Compiler.CompilerWarningFactory

Show file Open project: boo/boo-lang

Public Methods

Method Description
AbstractMemberNotImplemented ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
AbstractMemberNotImplementedStubCreated ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
AssignmentToTemporary ( Node node ) : Boo.Lang.Compiler.CompilerWarning
CustomWarning ( LexicalInfo lexicalInfo, string msg ) : Boo.Lang.Compiler.CompilerWarning
CustomWarning ( string msg ) : Boo.Lang.Compiler.CompilerWarning
DuplicateNamespace ( Import import, string name ) : Boo.Lang.Compiler.CompilerWarning
EqualsInsteadOfAssign ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : Boo.Lang.Compiler.CompilerWarning
HaveBothKeyFileAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
HaveBothKeyNameAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
InvalidEventUnsubscribe ( Node node, string eventName, CallableSignature expected ) : Boo.Lang.Compiler.CompilerWarning
IsInsteadOfIsa ( Node node ) : Boo.Lang.Compiler.CompilerWarning
ModifiersInLabelsHaveNoEffect ( Node node ) : Boo.Lang.Compiler.CompilerWarning
NamespaceNeverUsed ( Import node ) : Boo.Lang.Compiler.CompilerWarning
NewProtectedMemberInSealedType ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
Obsolete ( Node node, string memberName, string message ) : Boo.Lang.Compiler.CompilerWarning
OverridingFinalizeIsBadPractice ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
PrivateMemberNeverUsed ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
StaticClassMemberRedundantlyMarkedStatic ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
UnreachableCodeDetected ( Node node ) : Boo.Lang.Compiler.CompilerWarning
UnusedLocalVariable ( Node node, string name ) : Boo.Lang.Compiler.CompilerWarning

Private Methods

Method Description
CompilerWarningFactory ( ) : System
NodeTypeString ( Node node ) : string

Method Details

AbstractMemberNotImplemented() public static method

public static AbstractMemberNotImplemented ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
node Node
typeName string
memberName string
return Boo.Lang.Compiler.CompilerWarning

AbstractMemberNotImplementedStubCreated() public static method

public static AbstractMemberNotImplementedStubCreated ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
node Node
typeName string
memberName string
return Boo.Lang.Compiler.CompilerWarning

AssignmentToTemporary() public static method

public static AssignmentToTemporary ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
return Boo.Lang.Compiler.CompilerWarning

CustomWarning() public static method

public static CustomWarning ( LexicalInfo lexicalInfo, string msg ) : Boo.Lang.Compiler.CompilerWarning
lexicalInfo LexicalInfo
msg string
return Boo.Lang.Compiler.CompilerWarning

CustomWarning() public static method

public static CustomWarning ( string msg ) : Boo.Lang.Compiler.CompilerWarning
msg string
return Boo.Lang.Compiler.CompilerWarning

DuplicateNamespace() public static method

public static DuplicateNamespace ( Import import, string name ) : Boo.Lang.Compiler.CompilerWarning
import Boo.Lang.Compiler.Ast.Import
name string
return Boo.Lang.Compiler.CompilerWarning

EqualsInsteadOfAssign() public static method

public static EqualsInsteadOfAssign ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : Boo.Lang.Compiler.CompilerWarning
node Boo.Lang.Compiler.Ast.BinaryExpression
return Boo.Lang.Compiler.CompilerWarning

HaveBothKeyFileAndAttribute() public static method

public static HaveBothKeyFileAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
return Boo.Lang.Compiler.CompilerWarning

HaveBothKeyNameAndAttribute() public static method

public static HaveBothKeyNameAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
return Boo.Lang.Compiler.CompilerWarning

InvalidEventUnsubscribe() public static method

public static InvalidEventUnsubscribe ( Node node, string eventName, CallableSignature expected ) : Boo.Lang.Compiler.CompilerWarning
node Node
eventName string
expected Boo.Lang.Compiler.TypeSystem.CallableSignature
return Boo.Lang.Compiler.CompilerWarning

IsInsteadOfIsa() public static method

public static IsInsteadOfIsa ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
return Boo.Lang.Compiler.CompilerWarning

ModifiersInLabelsHaveNoEffect() public static method

public static ModifiersInLabelsHaveNoEffect ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
return Boo.Lang.Compiler.CompilerWarning

NamespaceNeverUsed() public static method

public static NamespaceNeverUsed ( Import node ) : Boo.Lang.Compiler.CompilerWarning
node Boo.Lang.Compiler.Ast.Import
return Boo.Lang.Compiler.CompilerWarning

NewProtectedMemberInSealedType() public static method

public static NewProtectedMemberInSealedType ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
member Boo.Lang.Compiler.Ast.TypeMember
return Boo.Lang.Compiler.CompilerWarning

Obsolete() public static method

public static Obsolete ( Node node, string memberName, string message ) : Boo.Lang.Compiler.CompilerWarning
node Node
memberName string
message string
return Boo.Lang.Compiler.CompilerWarning

OverridingFinalizeIsBadPractice() public static method

public static OverridingFinalizeIsBadPractice ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
member Boo.Lang.Compiler.Ast.TypeMember
return Boo.Lang.Compiler.CompilerWarning

PrivateMemberNeverUsed() public static method

public static PrivateMemberNeverUsed ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
member Boo.Lang.Compiler.Ast.TypeMember
return Boo.Lang.Compiler.CompilerWarning

StaticClassMemberRedundantlyMarkedStatic() public static method

public static StaticClassMemberRedundantlyMarkedStatic ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
node Node
typeName string
memberName string
return Boo.Lang.Compiler.CompilerWarning

UnreachableCodeDetected() public static method

public static UnreachableCodeDetected ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
return Boo.Lang.Compiler.CompilerWarning

UnusedLocalVariable() public static method

public static UnusedLocalVariable ( Node node, string name ) : Boo.Lang.Compiler.CompilerWarning
node Node
name string
return Boo.Lang.Compiler.CompilerWarning