src/edu/clemson/resolve/jetbrains/RESOLVEParserDefinition.java
/**
     * Convert from *internal* parse node (AST they call it) to final PSI node. This converts only internal rule
     * nodes apparently, not leaf nodes. Leaves are just tokens I guess.
     * <p>
     * If you don't care to distinguish PSI nodes by type, it is sufficient to create a {@link ASTWrapperPsiElement}
     * around the parse tree node ({@link ASTNode} in jetbrains speak).
     */
Convert from *internal* parse node (AST they call it) to final PSI node. This converts only internal rule
nodes apparently, not leaf nodes. Leaves are just tokens I guess.

If you don't care to distinguish PSI nodes by type, it is sufficient to create a  ASTWrapperPsiElement
around the parse tree node ( ASTNode in jetbrains speak).
Convert from * internal * parse node ( AST they call it ) to final PSI node . This converts only internal rule nodes apparently not leaf nodes . Leaves are just tokens I guess . If you don ' t care to distinguish PSI nodes by type it is sufficient to create a ASTWrapperPsiElement around the parse tree node ( ASTNode in jetbrains speak ) .
@NotNull
    @Override
    public PsiElement createElement(ASTNode node) {
        return ResTypes.Factory.createElement(node);
    }
@ NotNull @ Override public PsiElement createElement ( ASTNode node ) { return ResTypes . Factory . createElement ( node ) ; }
Convert from *internal* parse node (AST they call it) to final PSI node.
Convert from * internal * parse node ( AST they call it ) to final PSI node .