CstNode

class CstNode
Members defined in CstNode (23 members)

child_count

R

descendant_count

R

end_byte

R

end_point

R

grammar_symbol

R

grammar_type

R

has_changes

R

has_error

R

id

R

is_error

R

is_extra

R

is_missing

R

is_named

R

named_child_count

R

next_parse_state

R

parse_state

R

start_byte

R

start_point

R

string

R

symbol

R

type

R

field_name_for_child

text

Attributes

property child_count: int
property descendant_count: int
property end_byte: int
property end_point: syside.PositionUtf8
property grammar_symbol: syside.Symbol
property grammar_type: str
property has_changes: bool
property has_error: bool
property id: int
property is_error: bool
property is_extra: bool
property is_missing: bool
property is_named: bool
property named_child_count: int
property next_parse_state: syside.StateId
property parse_state: syside.StateId
property start_byte: int
property start_point: syside.PositionUtf8
property string: str
property symbol: syside.Symbol
property type: str

Methods

field_name_for_child(arg: int, /) str | None
text(arg: str, /) str
Used in