Exemplo n.º 1
0
Arquivo: Tag.cs Projeto: giszzt/GeoSOS
 public TagComment(string key, DomRegion region)
 {
     this.key    = key;
     this.region = region;
 }
Exemplo n.º 2
0
Arquivo: Tag.cs Projeto: giszzt/GeoSOS
 public TagComment(string key, DomRegion region, string commentString)
 {
     this.key           = key;
     this.region        = region;
     this.commentString = commentString;
 }
Exemplo n.º 3
0
 public DefaultClass(ICompilationUnit compilationUnit, ClassType classType, ModifierEnum modifiers, DomRegion region, IClass declaringType) : base(declaringType)
 {
     if (compilationUnit == null)
     {
         throw new ArgumentNullException("compilationUnit");
     }
     this.compilationUnit = compilationUnit;
     this.region          = region;
     this.classType       = classType;
     Modifiers            = modifiers;
     this.UsingScope      = compilationUnit.UsingScope;
 }
Exemplo n.º 4
0
 public DefaultEvent(string name, IReturnType type, ModifierEnum m, DomRegion region, DomRegion bodyRegion, IClass declaringType) : base(declaringType, name)
 {
     this.ReturnType = type;
     this.Region     = region;
     this.BodyRegion = bodyRegion;
     Modifiers       = (ModifierEnum)m;
     if (Modifiers == ModifierEnum.None)
     {
         Modifiers = ModifierEnum.Private;
     }
 }
Exemplo n.º 5
0
 public DefaultMethod(string name, IReturnType type, ModifierEnum m, DomRegion region, DomRegion bodyRegion, IClass declaringType) : base(declaringType, name)
 {
     this.ReturnType = type;
     this.Region     = region;
     this.BodyRegion = bodyRegion;
     Modifiers       = m;
 }
Exemplo n.º 6
0
 public Destructor(DomRegion region, DomRegion bodyRegion, IClass declaringType)
     : base("#dtor", null, ModifierEnum.None, region, bodyRegion, declaringType)
 {
 }
Exemplo n.º 7
0
 public Constructor(ModifierEnum m, DomRegion region, DomRegion bodyRegion, IClass declaringType)
     : base((m & ModifierEnum.Static) != 0 ? "#cctor" : "#ctor",
            declaringType.DefaultReturnType,
            m, region, bodyRegion, declaringType)
 {
 }
Exemplo n.º 8
0
 public DefaultParameter(string name, IReturnType type, DomRegion region) : this(name)
 {
     returnType  = type;
     this.region = region;
 }
Exemplo n.º 9
0
 public DefaultComment(bool isBlockComment, string commentTag, string commentText, DomRegion region)
 {
     this.isBlockComment = isBlockComment;
     this.commentTag     = commentTag;
     this.commentText    = commentText;
     this.region         = region;
 }
Exemplo n.º 10
0
 public ParameterField(IReturnType type, string name, DomRegion region, IClass callingClass)
     : base(type, name, ModifierEnum.None, region, callingClass)
 {
 }
Exemplo n.º 11
0
 public DefaultField(IReturnType type, string name, ModifierEnum m, DomRegion region, IClass declaringType) : base(declaringType, name)
 {
     this.ReturnType = type;
     this.Region     = region;
     this.Modifiers  = m;
 }