Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CodeGenNode = CodeGenNode' {
- lineNumber :: Maybe Int
- id :: Text
- nodeType :: Text
- args :: [CodeGenNodeArg]
- newCodeGenNode :: Text -> Text -> CodeGenNode
- codeGenNode_lineNumber :: Lens' CodeGenNode (Maybe Int)
- codeGenNode_id :: Lens' CodeGenNode Text
- codeGenNode_nodeType :: Lens' CodeGenNode Text
- codeGenNode_args :: Lens' CodeGenNode [CodeGenNodeArg]
Documentation
data CodeGenNode Source #
Represents a node in a directed acyclic graph (DAG)
See: newCodeGenNode
smart constructor.
CodeGenNode' | |
|
Instances
Create a value of CodeGenNode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lineNumber:CodeGenNode'
, codeGenNode_lineNumber
- The line number of the node.
$sel:id:CodeGenNode'
, codeGenNode_id
- A node identifier that is unique within the node's graph.
$sel:nodeType:CodeGenNode'
, codeGenNode_nodeType
- The type of node that this is.
$sel:args:CodeGenNode'
, codeGenNode_args
- Properties of the node, in the form of name-value pairs.
codeGenNode_lineNumber :: Lens' CodeGenNode (Maybe Int) Source #
The line number of the node.
codeGenNode_id :: Lens' CodeGenNode Text Source #
A node identifier that is unique within the node's graph.
codeGenNode_nodeType :: Lens' CodeGenNode Text Source #
The type of node that this is.
codeGenNode_args :: Lens' CodeGenNode [CodeGenNodeArg] Source #
Properties of the node, in the form of name-value pairs.