/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { AList } from "../../system/collection/AList"; /** * Class WellKnownTextNode defines a node in a well-known-text expression. * * @version 1.0 December 2010 */ /** @internal */ export declare class WellKnownTextNode { /** Get the name */ private _name; /** Get the arguments */ private _argumentList; /** * Create a new node. * @param name the name. * @param argumentList the arguments. */ constructor(name: string, argumentList: AList); /** * Get the name. * @return the name. */ getName(): string; /** * Get the arguments. * @return the arguments. */ getArguments(): AList; /** * Add an argument. * @param argument the argument to add. */ addArgument(argument: WellKnownTextNode): void; /** * Get an argument. * @param index the index of the argument. * @return the argument. */ getArgument(index: int32): WellKnownTextNode; /** * Get an optional argument. * @param index the index of the argument. * @return the argument. */ getOptionalArgument(index: int32): WellKnownTextNode; /** * Get arguments by name. * @param name the name of the arguments. * @return the arguments. */ getArgumentsByName(name: string): AList; /** * Get an argument by name. * @param name the name of the argument. * @return the argument (null if not found). */ getArgumentByName(name: string): WellKnownTextNode; /** * Parse an expression. * @param expression the expression. * @return the parsed expression. */ static parse(expression: string): WellKnownTextNode; } export {}; //# sourceMappingURL=WellKnownTextNode.d.ts.map