Constructor
new AnonymousTraversalSource(traversalSourceClassopt)
    Creates a new instance of AnonymousTraversalSource.
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
traversalSourceClass | 
            
            function | 
                
                    <optional> | 
            
            
            Optional {@code GraphTraversalSource} constructor. | 
- Source:
 
Methods
(static) traversal(traversalSourceClassopt) → {AnonymousTraversalSource}
    Constructs an {@code AnonymousTraversalSource} which will then be configured to spawn a
GraphTraversalSource.
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
traversalSourceClass | 
            
            function | 
                
                    <optional> | 
            
            
            Optional {@code GraphTraversalSource} constructor. | 
- Source:
 
Returns:
    .
    
        
            
    
    
    withGraph(graph) → {GraphTraversalSource}
    Creates the specified GraphTraversalSource binding a Graph as its reference such that traversals
spawned from it will execute over that reference.
    Parameters:
| Name | Type | Description | 
|---|---|---|
graph | 
            
            Graph | 
- Source:
 
Returns:
- Type
 - GraphTraversalSource
 
withRemote(remoteConnection) → {GraphTraversalSource}
    Creates the specified binding a {@link RemoteConnection as its reference such that
traversals spawned from it will execute over that reference.
    Parameters:
| Name | Type | Description | 
|---|---|---|
remoteConnection | 
            
            GraphTraversalSource | 
- Source:
 
Returns:
- Type
 - GraphTraversalSource