@yellicode/elements
Version:
The meta model API for Yellicode - an extensible code generator.
47 lines (46 loc) • 1.73 kB
TypeScript
/**
* This code was generated by a tool.
*
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
*/
import * as elements from './interfaces';
/**
* Represents the built-in primitive boolean type.
*/
export declare const primitiveBooleanType: elements.PrimitiveType;
/**
* Represents the built-in primitive integer type.
*/
export declare const primitiveIntegerType: elements.PrimitiveType;
/**
* Represents the built-in primitive real type.
*/
export declare const primitiveRealType: elements.PrimitiveType;
/**
* Represents the built-in primitive string type.
*/
export declare const primitiveStringType: elements.PrimitiveType;
/**
* Represents the built-in primitive object type.
*/
export declare const primitiveObjectType: elements.PrimitiveType;
/**
* Asserts that the element is a built in primitive boolean.
*/
export declare function isPrimitiveBoolean(element: elements.Element | null): element is elements.PrimitiveType;
/**
* Asserts that the element is a built in primitive integer.
*/
export declare function isPrimitiveInteger(element: elements.Element | null): element is elements.PrimitiveType;
/**
* Asserts that the element is a built in primitive real.
*/
export declare function isPrimitiveReal(element: elements.Element | null): element is elements.PrimitiveType;
/**
* Asserts that the element is a built in primitive string.
*/
export declare function isPrimitiveString(element: elements.Element | null): element is elements.PrimitiveType;
/**
* Asserts that the element is a built in primitive object.
*/
export declare function isPrimitiveObject(element: elements.Element | null): element is elements.PrimitiveType;