// User-declared public MethodExpEntry( string stName, // name of the method AST.MethodDecl nodeClass, // node of ast defining us (can be null) TypeEntry tDefiningClass, // class we're defined in TypeEntry tReturnType // return type ) : this(stName, nodeClass, tDefiningClass, tReturnType, false) { }
// User-declared public MethodExpEntry( string stName, // name of the method AST.MethodDecl nodeClass, // node of ast defining us (can be null) TypeEntry tDefiningClass, // class we're defined in TypeEntry tReturnType, // return type bool fIsSpecialName ) { Debug.Assert(tDefiningClass != null); this.m_strName = stName; this.m_classDefined = tDefiningClass; this.m_decl = nodeClass; this.m_type = tReturnType; this.m_fIsSpecialName = fIsSpecialName; }
// Ctor for user-declared properties // We'll rip our data from the node public PropertyExpEntry( TypeEntry tDefiningClassType, AST.PropertyDecl nodeDecl, AST.MethodDecl nodeGet, AST.MethodDecl nodeSet ) { Debug.Assert(nodeDecl != null); m_strName = nodeDecl.Name.Text; m_tClassDefined = tDefiningClassType; m_node = nodeDecl; m_type = nodeDecl.BlueType; m_symbolGet = (nodeGet == null) ? null : nodeGet.Symbol; m_symbolSet = (nodeSet == null) ? null : nodeSet.Symbol; m_mods = nodeDecl.Mods; }