Esempio n. 1
0
        public CatchItem(Text.Span p, DirectTypeRef tref, DirectVarUse /*!*/ variable,
                         IList <Statement> /*!*/ statements)
            : base(p)
        {
            Debug.Assert(variable != null && statements != null);

            this.tref       = tref;
            this.variable   = variable;
            this.statements = statements.AsArray();
        }
Esempio n. 2
0
 public PseudoClassConstUse(Text.Span span, GenericQualifiedName className, Text.Span classNamePosition, Types type, Text.Span namePosition)
     : this(span, DirectTypeRef.FromGenericQualifiedName(classNamePosition, className), type, namePosition)
 {
 }
Esempio n. 3
0
 public ClassConstUse(Text.Span span, GenericQualifiedName className, Text.Span classNamePosition, string /*!*/ name, Text.Span namePosition)
     : this(span, DirectTypeRef.FromGenericQualifiedName(classNamePosition, className), name, namePosition)
 {
 }
Esempio n. 4
0
 virtual public void VisitDirectTypeRef(DirectTypeRef x)
 {
     // nothing
 }
Esempio n. 5
0
 public StaticMtdCall(Text.Span span, Text.Span methodNamePosition, GenericQualifiedName className, Text.Span classNamePosition, IList <ActualParam> parameters, IList <TypeRef> genericParams)
     : this(span, methodNamePosition, DirectTypeRef.FromGenericQualifiedName(classNamePosition, className), parameters, genericParams)
 {
 }
Esempio n. 6
0
 public DirectStFldUse(Text.Span span, GenericQualifiedName qualifiedName, Text.Span qualifiedNameSpan, VariableName propertyName, Text.Span propertyNameSpan)
     : this(span, DirectTypeRef.FromGenericQualifiedName(qualifiedNameSpan, qualifiedName), propertyName, propertyNameSpan)
 {
 }
Esempio n. 7
0
 public StaticFieldUse(Text.Span span, Text.Span nameSpan, GenericQualifiedName typeName, Text.Span typeNamePosition)
     : this(span, nameSpan, DirectTypeRef.FromGenericQualifiedName(typeNamePosition, typeName))
 {
 }