Skip to main content

gobject_ast/model/
mod.rs

1mod comment;
2mod doc;
3mod expression;
4mod operators;
5mod project;
6mod source_location;
7mod statement;
8mod top_level;
9mod type_info;
10mod types;
11
12pub use comment::{Comment, CommentKind, CommentPosition};
13pub use doc::{
14    ArrayAnnotation, DocParam, DocReturns, EnumValueAnnotation, EnumValueDoc, ExportMacro,
15    FunctionAnnotation, FunctionDoc, ParamAnnotation, PropertyAnnotation, PropertyDoc,
16    ReturnAnnotation, ScopeKind, SignalAnnotation, SignalDoc, TransferKind, TypeAnnotation,
17    TypeDoc, Version,
18};
19pub use expression::{
20    AllocCallExpression, Assignment, BinaryExpression, BooleanExpression, CallExpression,
21    CastExpression, CharLiteralExpression, CommentExpression, ConditionalExpression, Designator,
22    Expression, FieldAccessExpression, GenericExpression, IdentifierExpression, InitializerItem,
23    InitializerListExpression, NullExpression, NumberLiteralExpression, OffsetField,
24    OffsetOfExpression, SizeofExpression, SizeofOperand, StringLiteralExpression,
25    SubscriptExpression, UnaryExpression, UpdateExpression,
26};
27pub use operators::{AssignmentOp, BinaryOp, FieldAccessOp, UnaryOp, UpdateOp};
28pub use project::{FileModel, Project, PropertyEnumContext};
29pub use source_location::SourceLocation;
30pub use statement::{
31    BreakStatement, CaseLabel, CompoundStatement, ContinueStatement, DoWhileStatement, ForInit,
32    ForStatement, GotoStatement, IfStatement, LabeledStatement, ReturnStatement, Statement,
33    SwitchCase, SwitchStatement, VariableDecl, WhileStatement,
34};
35pub use top_level::{
36    ConditionalKind, DefineValue, PragmaKind, PreprocessorDirective, TopLevelItem, TopLevelItemKind,
37};
38pub use type_info::{AutoCleanupMacro, TypeInfo};
39pub use types::{
40    BasicType, DeclareKind, DefineKind, EnumInfo, EnumValue, EnumValueDef, FunctionDeclItem,
41    FunctionDefItem, GObjectType, GObjectTypeKind, GType, Include, InterfaceImplementation,
42    ParamFlag, ParamSpecAssignment, Parameter, Property, PropertyType, Signal, SignalFlag,
43    StructField, TypeDefItem, TypedefTarget, VirtualFunction,
44};