Skip to content

Commit 89d2be6

Browse files
committed
docs: fix links in references
1 parent 4234535 commit 89d2be6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Expression.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ end
4242
both the raw expression tree operating on a value type of `T`,
4343
as well as associated metadata to evaluate and render the expression.
4444
45-
See [`ExpressionInterface`](@ref) for a full description of the interface implementation,
46-
as well as tests to verify correctness.
45+
See [`ExpressionInterface`](@ref DynamicExpressions.InterfacesModule.ExpressionInterface) for a full description
46+
of the interface implementation, as well as tests to verify correctness.
4747
4848
If you wish to use `@parse_expression`, you can also
4949
customize the parsing behavior with
@@ -66,8 +66,8 @@ expression tree (like `Node`) along with associated metadata for evaluation and
6666
6767
# Constructors
6868
69-
- Expression(tree::AbstractExpressionNode, metadata::NamedTuple): Construct from the fields
70-
- @parse_expression(expr, operators=operators, variable_names=variable_names, node_type=Node): Parse a Julia expression with a given context and create an Expression object.
69+
- `Expression(tree::AbstractExpressionNode, metadata::NamedTuple)`: Construct from the fields
70+
- `@parse_expression(expr, operators=operators, variable_names=variable_names, node_type=Node)`: Parse a Julia expression with a given context and create an Expression object.
7171
7272
# Usage
7373

src/Node.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ this additionally must have fields for:
4040
- `op::UInt8`: If `degree==1`, this is the index of the operator
4141
in `operators.unaops`. If `degree==2`, this is the index of the
4242
operator in `operators.binops`. In other words, this is an enum
43-
of the operators, and is dependent on the specific [`OperatorEnum`](@ref)
43+
of the operators, and is dependent on the specific `OperatorEnum`
4444
object. Only defined if `degree >= 1`
4545
4646
# Interface
4747
48-
See [`NodeInterface`](@ref) for a full description of the interface implementation,
49-
as well as tests to verify correctness.
48+
See [`NodeInterface`](@ref DynamicExpressions.InterfacesModule.NodeInterface) for a full description
49+
of the interface implementation, as well as tests to verify correctness.
5050
5151
You *must* define `CustomNode{_T} where {_T} = new{_T}()` for each custom node type.
5252
@@ -90,7 +90,7 @@ nodes, you can evaluate or print a given expression.
9090
- `op::UInt8`: If `degree==1`, this is the index of the operator
9191
in `operators.unaops`. If `degree==2`, this is the index of the
9292
operator in `operators.binops`. In other words, this is an enum
93-
of the operators, and is dependent on the specific [`OperatorEnum`](@ref)
93+
of the operators, and is dependent on the specific `OperatorEnum`
9494
object. Only defined if `degree >= 1`
9595
- `l::Node{T}`: Left child of the node. Only defined if `degree >= 1`.
9696
Same type as the parent node.
@@ -111,7 +111,7 @@ If it cannot be inferred from these, it will default to `Float32`.
111111
The `children` keyword can be used instead of `l` and `r` and should be a tuple of children. This
112112
is to permit the use of splatting in constructors.
113113
114-
You may also construct nodes via the convenience operators generated by creating an [`OperatorEnum`](@ref).
114+
You may also construct nodes via the convenience operators generated by creating an `OperatorEnum`.
115115
116116
You may also choose to specify a default memory allocator for the node other than simply `Node{T}()`
117117
in the `allocator` keyword argument.

0 commit comments

Comments
 (0)