Crate rue_parser

Source

Structs§

AssertStmt
AssumeStmt
BinaryExpr
Block
CastExpr
ConstItem
EnumItem
EnumVariant
EnumVariantFields
FieldAccessExpr
FunctionCallArg
FunctionCallExpr
FunctionItem
FunctionParam
FunctionType
FunctionTypeParam
GenericArgs
GenericParams
GroupExpr
GuardExpr
IfExpr
IfStmt
ImportGroup
ImportItem
ImportPath
InitializerExpr
InitializerField
LambdaExpr
LambdaParam
LetStmt
LineCol
ListExpr
ListItem
LiteralExpr
LiteralType
ModuleItem
PairExpr
PairType
ParserError
PathExpr
PathItem
PathType
PrefixExpr
RaiseStmt
ReturnStmt
Root
RueLang
StructField
StructItem
TypeAliasItem
UnionType

Enums§

BinaryOp
Expr
Item
ParserErrorKind
PrefixOp
Stmt
SyntaxKind
Type

Traits§

AstNode

Functions§

line_col
Returns the line and column of the given index in the source. Line and column numbers are from 0.
parse

Type Aliases§

SyntaxElement
SyntaxElementChildren
SyntaxNode
SyntaxNodeChildren
SyntaxToken