RegExpNumber () { final ASTNode[] nodes = getNode().getChildren(TOKENS); if (nodes.length == 0 || nodes[0].getElementType() != RegExpElementTypes.NUMBER) { return null; } return (RegExpNumber)nodes[0].getPsi(); }