@univerjs-pro/engine-formula v0.5.4
Class: LexerNode
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:27
Constructors
new LexerNode()
new LexerNode(): LexerNode
Returns
Methods
addChildren()
addChildren(children): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:111
Parameters
Parameter | Type |
---|---|
children | string | LexerNode |
Returns
void
addChildrenFirst()
addChildrenFirst(children): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:115
Parameters
Parameter | Type |
---|---|
children | string | LexerNode |
Returns
void
changeToParent()
changeToParent(newParentLexerNode): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:152
Parameters
Parameter | Type |
---|---|
newParentLexerNode | LexerNode |
Returns
void
dispose()
dispose(): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:46
Returns
void
getChildren()
getChildren(): (string | LexerNode)[]
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:103
Returns
(string
| LexerNode
)[]
getDefinedNames()
getDefinedNames(): string[]
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:63
Returns
string
[]
getFunctionDefinitionPrivacyVar()
getFunctionDefinitionPrivacyVar(): Nullable<LambdaPrivacyVarType>
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:79
Returns
Nullable
<LambdaPrivacyVarType
>
getLambdaId()
getLambdaId(): Nullable<string>
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:71
Returns
Nullable
<string
>
getLambdaParameter()
getLambdaParameter(): string
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:87
Returns
string
getParent()
getParent(): Nullable<LexerNode>
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:95
Returns
getStartIndex()
getStartIndex(): number
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:67
Returns
number
getToken()
getToken(): string
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:119
Returns
string
hasDefinedNames()
hasDefinedNames(): boolean
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:136
Returns
boolean
removeChild()
removeChild(lexerNode): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:162
Parameters
Parameter | Type |
---|---|
lexerNode | LexerNode |
Returns
void
replaceChild()
replaceChild(lexerNode, newLexerNode): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:140
Parameters
Parameter | Type |
---|---|
lexerNode | LexerNode |
newLexerNode | LexerNode |
Returns
void
serialize()
serialize(): {
children: (string | LexerNodeJson)[];
ed: number;
st: number;
token: string;
}
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:172
Returns
{
children: (string | LexerNodeJson)[];
ed: number;
st: number;
token: string;
}
setChildren()
setChildren(children): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:107
Parameters
Parameter | Type |
---|---|
children | (string | LexerNode )[] |
Returns
void
setDefinedNames()
setDefinedNames(definedNames): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:132
Parameters
Parameter | Type |
---|---|
definedNames | string [] |
Returns
void
setIndex()
setIndex(st, ed): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:127
Parameters
Parameter | Type |
---|---|
st | number |
ed | number |
Returns
void
setLambdaId()
setLambdaId(lambdaId): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:75
Parameters
Parameter | Type |
---|---|
lambdaId | string |
Returns
void
setLambdaParameter()
setLambdaParameter(lambdaParameter): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:91
Parameters
Parameter | Type |
---|---|
lambdaParameter | string |
Returns
void
setLambdaPrivacyVar()
setLambdaPrivacyVar(lambdaPrivacyVar): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:83
Parameters
Parameter | Type |
---|---|
lambdaPrivacyVar | LambdaPrivacyVarType |
Returns
void
setParent()
setParent(lexerNode): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:99
Parameters
Parameter | Type |
---|---|
lexerNode | LexerNode |
Returns
void
setToken()
setToken(token): void
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/lexer-node.ts:123
Parameters
Parameter | Type |
---|---|
token | string |
Returns
void