@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
26 lines (25 loc) • 1.45 kB
TypeScript
import { BaseNode } from '../base-node';
import type { ConstExprArrayItemNode } from './const-expr-array-item-node';
import type { ConstExprArrayNode } from './const-expr-array-node';
import type { ConstExprFalseNode } from './const-expr-false-node';
import type { ConstExprFloatNode } from './const-expr-float-node';
import type { ConstExprIntegerNode } from './const-expr-integer-node';
import type { ConstExprNullNode } from './const-expr-null-node';
import type { ConstExprStringNode } from './const-expr-string-node';
import type { ConstExprTrueNode } from './const-expr-true-node';
import type { ConstFetchNode } from './const-fetch-node';
import type { QuoteAwareConstExprStringNode } from './quote-aware-const-expr-string-node';
export declare class ConstExprNode extends BaseNode {
getNodeType(): string;
isConstExprFloatNode(): this is ConstExprFloatNode;
isConstFetchNode(): this is ConstFetchNode;
isConstExprArrayItemNode(): this is ConstExprArrayItemNode;
isConstExprFalseNode(): this is ConstExprFalseNode;
isQuoteAwareConstExprStringNode(): this is QuoteAwareConstExprStringNode;
isConstExprNullNode(): this is ConstExprNullNode;
isConstExprIntegerNode(): this is ConstExprIntegerNode;
isConstExprNode(): this is ConstExprNode;
isConstExprArrayNode(): this is ConstExprArrayNode;
isConstExprStringNode(): this is ConstExprStringNode;
isConstExprTrueNode(): this is ConstExprTrueNode;
}