toggle menu
klarity
2.1.0
common
switch theme
search in API
klarity
/
net.iceyleagons.klarity.parsers.generated
/
StringCodeParser
/
FunctionContext
Function
Context
open
class
FunctionContext
:
ParserRuleContext
Members
Constructors
Function
Context
Link copied to clipboard
constructor
(
parent
:
ParserRuleContext
?
,
invokingState
:
Int
)
Properties
alt
Number
Link copied to clipboard
open
var
altNumber
:
Int
child
Count
Link copied to clipboard
open
override
val
childCount
:
Int
children
Link copied to clipboard
var
children
:
MutableList
<
ParseTree
>
?
exception
Link copied to clipboard
var
exception
:
RecognitionException
?
invoking
State
Link copied to clipboard
var
invokingState
:
Int
is
Empty
Link copied to clipboard
val
isEmpty
:
Boolean
parent
Link copied to clipboard
var
parent
:
RuleContext
?
payload
Link copied to clipboard
open
override
val
payload
:
RuleContext
position
Link copied to clipboard
val
position
:
Position
?
rule
Context
Link copied to clipboard
open
override
val
ruleContext
:
RuleContext
rule
Index
Link copied to clipboard
open
override
var
ruleIndex
:
Int
source
Interval
Link copied to clipboard
open
override
val
sourceInterval
:
Interval
start
Link copied to clipboard
var
start
:
Token
?
stop
Link copied to clipboard
var
stop
:
Token
?
text
Link copied to clipboard
open
override
val
text
:
String
Functions
accept
Link copied to clipboard
open
override
fun
<
T
>
accept
(
visitor
:
ParseTreeVisitor
<
out
T
>
)
:
T
add
Any
Child
Link copied to clipboard
fun
<
T
:
ParseTree
>
addAnyChild
(
t
:
T
)
:
T
add
Child
Link copied to clipboard
fun
addChild
(
ruleInvocation
:
RuleContext
)
:
RuleContext
fun
addChild
(
t
:
TerminalNode
)
:
TerminalNode
add
Error
Node
Link copied to clipboard
fun
addErrorNode
(
errorNode
:
ErrorNode
)
:
ErrorNode
assign
Parent
Link copied to clipboard
open
override
fun
assignParent
(
value
:
RuleContext
?
)
copy
From
Link copied to clipboard
open
fun
copyFrom
(
ctx
:
ParserRuleContext
)
depth
Link copied to clipboard
fun
depth
(
)
:
Int
enter
Rule
Link copied to clipboard
open
override
fun
enterRule
(
listener
:
ParseTreeListener
)
exit
Rule
Link copied to clipboard
open
override
fun
exitRule
(
listener
:
ParseTreeListener
)
find
Function
Value
Link copied to clipboard
fun
findFunctionValue
(
)
:
List
<
StringCodeParser.FunctionValueContext
>
fun
findFunctionValue
(
i
:
Int
)
:
StringCodeParser.FunctionValueContext
?
FUNCTION_NAME
Link copied to clipboard
fun
FUNCTION_NAME
(
)
:
TerminalNode
?
get
Child
Link copied to clipboard
open
override
fun
getChild
(
i
:
Int
)
:
ParseTree
?
fun
<
T
:
ParseTree
>
getChild
(
ctxType
:
KClass
<
T
>
,
i
:
Int
)
:
T
?
get
Rule
Context
Link copied to clipboard
fun
<
T
:
ParserRuleContext
>
getRuleContext
(
ctxType
:
KClass
<
T
>
,
i
:
Int
)
:
T
?
get
Rule
Contexts
Link copied to clipboard
fun
<
T
:
ParserRuleContext
>
getRuleContexts
(
ctxType
:
KClass
<
T
>
)
:
List
<
T
>
get
Token
Link copied to clipboard
fun
getToken
(
ttype
:
Int
,
i
:
Int
)
:
TerminalNode
?
get
Tokens
Link copied to clipboard
fun
getTokens
(
ttype
:
Int
)
:
List
<
TerminalNode
>
read
Parent
Link copied to clipboard
open
override
fun
readParent
(
)
:
ParserRuleContext
?
remove
Last
Child
Link copied to clipboard
fun
removeLastChild
(
)
to
Info
String
Link copied to clipboard
fun
toInfoString
(
recognizer
:
Parser
)
:
String
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
fun
toString
(
ruleNames
:
List
<
String
>
?
,
stop
:
RuleContext
?
)
:
String
fun
toString
(
recog
:
Recognizer
<
*
,
*
>
?
,
stop
:
RuleContext
)
:
String
to
String
Tree
Link copied to clipboard
open
override
fun
toStringTree
(
)
:
String
fun
toStringTree
(
ruleNames
:
List
<
String
>
?
)
:
String
open
override
fun
toStringTree
(
parser
:
Parser
)
:
String