static Node newQName ( AbstractCompiler compiler , String name , Node basisNode , String originalName ) { Node node = newQName ( compiler , name ) ; useSourceInfoForNewQName ( node , basisNode ) ; if ( ! originalName . equals ( node . getOriginalName ( ) ) ) { // If basisNode already had the correct original name, then it will already be set correctly. // Setting it again will force the QName node to have a different property list from all of // its children, causing greater memory consumption. node . setOriginalName ( originalName ) ; } return node ; }
Creates a node representing a qualified name copying over the source location information from the basis node and assigning the given original name to the node .