1
0
mirror of https://github.com/chylex/Code-Statistics.git synced 2024-11-24 12:42:46 +01:00
Code-Statistics/LanguageJava/Elements/Field.cs

16 lines
430 B
C#

namespace LanguageJava.Elements{
public class Field : Member{
public readonly string Identifier;
public readonly TypeOf Type;
public Field(string identifier, TypeOf type, Member info) : base(info){
this.Identifier = identifier;
this.Type = type;
}
public override string ToString(){
return base.ToString()+Type+' '+Identifier;
}
}
}