hsp/compiler/treebuilder/syntaxTree.js
function(ref) {
        if (ref.category !== "objectref" || !ref.path || !ref.path.length || !ref.path.join) {
            return null;
        }
        return ref.path.join(".");
    }
function(ref) {
        if (ref.category !== "objectref" || !ref.path || !ref.path.length || !ref.path.join) {
            return null;
        }
        return ref.path.join(".");
    }
function ( ref ) { if ( ref . category !== "objectref" || ! ref . path || ! ref . path . length || ! ref . path . join ) { return null ; } return ref . path . join ( "." ) ; }
Transform a component path into a string - useful for error checking
If path is invalid null is returned
@param {Object} ref the ref structure returned by the PEG parser for components and endcomponents
@retrun {String} the path as a string
Transform a component path into a string - useful for error checking If path is invalid null is returned