> ## Documentation Index
> Fetch the complete documentation index at: https://codegeninc-fix-system-prompt-typo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# StatementType

> Enum representing the different types of statements that can be parsed.

export const Attribute = ({type, description}) => <div className="pl-4 py-6 first:pt-3 dark:border-zinc-300/[0.06] text-sm font-normal">
    <div className="inline-grid grid-cols-[auto_auto] gap-1 font-mono py-2">
      {type}
    </div>
    <p className="mt-2">{description}</p>
  </div>;

export const GithubLinkNote = ({link}) => <Info>
      <div className="flex gap-2 items-center">View Source on <a target="_blank" rel="noopener noreferrer" href={link}>Github</a></div>
   </Info>;

export const HorizontalDivider = ({light = false}) => <div className="divide-y">
        <div className={`divide-y ${light ? "dark:border-zinc-300/[0.06]" : "border-zinc-600"}`}></div>
        <div className={`divide-y ${light ? "dark:border-zinc-300/[0.06]" : "border-zinc-600"}`}></div>
    </div>;

export const Return = ({return_type, description}) => <div className="pl-6 divide-y">
    <h4 className="font-bold">Returns</h4>
    <div className="dark:border-zinc-300/[0.06] ">
        <div className="py-6 first:pt-3 text-sm font-normal">
            <div className="flex gap-4 items-center">
                <div className="inline-grid grid-cols-[auto_auto] gap-1 font-mono py-2">
                    {return_type}
                </div>
            </div>
            <p className="mt-2">{description}</p>
        </div>
    </div>
  </div>;

export const ParameterWrapper = ({children}) => <div className="pl-6 divide-y">
    <h4 className="font-bold">Parameters</h4>
    <div className="divide-y dark:border-zinc-300/[0.06]">
      {children}
    </div>
  </div>;

export const Parameter = ({name, type, description, defaultValue}) => <div className="py-6 first:pt-3 dark:border-zinc-300/[0.06] text-sm font-normal">
    <div className="flex justify-between items-start font-mono">
      <div className="flex gap-4 items-start">
        <div className="flex gap-1 items-center text-sm text-primary mt-2">
          {name}
        </div>
        <div className="inline-grid grid-cols-[auto_auto] gap-1 py-2">
          {type}
        </div>
      </div>

      <div className="flex-shrink-0 mt-2">
        {defaultValue ? <div className="flex gap-1 items-center text-sm border border-purple-500 px-2 py-0.5 rounded">
            <span className="text-zinc-500">default:</span>
            <span className="text-purple-500">{defaultValue}</span>
          </div> : <span className="text-sm border border-purple-500 px-2 py-0.5 rounded">
            required
          </span>}
      </div>
    </div>
    <p className="mt-2">{description}</p>
  </div>;

<GithubLinkNote link="https://github.com/codegen-sh/codegen/blob/develop/src/codegen/sdk/core/statements/statement.py#L27-L71" />

## Attributes

<HorizontalDivider />

### <span className="text-primary">ASSIGNMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents an assignment expression." />

### <span className="text-primary">BREAK\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a break statement." />

### <span className="text-primary">CLASS\_ATTRIBUTE</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a class attribute." />

### <span className="text-primary">COMMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a comment statement." />

### <span className="text-primary">EXPORT\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents an export statement." />

### <span className="text-primary">EXPRESSION\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents an expression statement." />

### <span className="text-primary">FOR\_LOOP\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a for loop statement." />

### <span className="text-primary">IF\_BLOCK\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents an if block statement." />

### <span className="text-primary">IMPORT\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents an import statement." />

### <span className="text-primary">LABELED\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a labeled statement." />

### <span className="text-primary">PASS\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a pass statement." />

### <span className="text-primary">RAISE\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a raise statement." />

### <span className="text-primary">RETURN\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a return statement." />

### <span className="text-primary">SWITCH\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a switch statement." />

### <span className="text-primary">SYMBOL\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a symbol statement." />

### <span className="text-primary">TRY\_CATCH\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a try-catch statement." />

### <span className="text-primary">UNSPECIFIED</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents any unparsed code snippet or graph node statements." />

### <span className="text-primary">WHILE\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a while statement." />

### <span className="text-primary">WITH\_STATEMENT</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a with statement." />
