示例#1
0
 internal PointerDeclarator(List<Pointer> pointers, Declarator declarator, List<TypeQualifier> qualifiers, ISourceLocation sourceLocation)
     : base(sourceLocation)
 {
     this.Pointers = pointers;
       this.Declarator = declarator;
       this.Qualifiers = qualifiers;
 }
示例#2
0
 internal Parameter(IEnumerable<Specifier> typeSpecifiers, Declarator name, bool isSpec, bool isOut, ISourceLocation sourceLocation)
     : this(typeSpecifiers, name, isSpec, isOut, sourceLocation, false)
 {
 }
示例#3
0
 internal Parameter(IEnumerable<Specifier> typeSpecifiers, Declarator name, bool isSpec, bool isOut, ISourceLocation sourceLocation, bool isVarArgs)
     : base(sourceLocation)
 {
     this.typeSpecifiers = typeSpecifiers;
       this.Name = name;
       this.isSpec = isSpec;
       this.isOut = isOut;
       IsVarArgs = isVarArgs;
 }
示例#4
0
 internal InitializedDeclarator(Declarator declarator, Expression initialValue, ISourceLocation sourceLocation)
     : base(sourceLocation)
 {
     this.Declarator = declarator;
       this.InitialValue = initialValue;
 }
示例#5
0
 internal FunctionDeclarator(Declarator functionName, FunctionDeclarator template)
     : base(functionName.SourceLocation)
 {
     this.FunctionName = functionName;
       this.parameters = template.Parameters;
       this.templateParameters = template.TemplateParameters;
       this.Specifiers = template.Specifiers;
       this.Contract = new FunctionOrBlockContract(template.Contract);
 }
示例#6
0
 internal FunctionDeclarator(Declarator functionName, List<Parameter> parameters, List<TemplateParameterDeclarator> templateParameters, ISourceLocation sourceLocation)
     : base(sourceLocation)
 {
     this.Contract = new FunctionOrBlockContract();
       this.FunctionName = functionName;
       this.parameters = parameters;
       this.templateParameters = templateParameters;
 }
示例#7
0
 internal BitfieldDeclarator(Declarator fieldDeclarator, Expression fieldSize, ISourceLocation sourceLocation)
     : base(sourceLocation)
 {
     this.FieldDeclarator = fieldDeclarator;
       this.FieldSize = fieldSize;
 }
示例#8
0
 internal ArrayDeclarator(Declarator elementType, Expression/*?*/ arraySize, ISourceLocation sourceLocation)
     : base(sourceLocation)
 {
     this.ElementType = elementType;
       this.ArraySize = arraySize;
 }