Skip to content

Commit

Permalink
lightscriptTypes -> types
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohnson committed Jun 16, 2017
1 parent ad99be5 commit 7cc5a5a
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/blocks.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import is, { isa } from './is'

import getLoc from 'ast-loc-utils/lib/getLoc'
Expand Down
2 changes: 1 addition & 1 deletion src/classes.lsc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import is from './is'
import t from './lightscriptTypes'
import t from './types'

// Check if the given path or any of its descendants contains a `super()`
// call expression.
Expand Down
2 changes: 1 addition & 1 deletion src/comprehension.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import { transformTails } from './tails'

validateComprehensionLoopBody(loopBodyPath) ->
Expand Down
2 changes: 1 addition & 1 deletion src/destructure.lsc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tools for dealing with destructuring patterns.

import t from './lightscriptTypes'
import t from './types'
import { createAndExpression as And, createOrExpression as Or, createNotExpression as Not } from './logical'
import { runtime } from './runtime'
import { isa } from './is'
Expand Down
2 changes: 1 addition & 1 deletion src/existential.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'

export transformExistentialExpression(path) ->
path.replaceWith(
Expand Down
2 changes: 1 addition & 1 deletion src/for.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import { ensureBlockBody } from './blocks'
import is from './is'

Expand Down
2 changes: 1 addition & 1 deletion src/functions.lsc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import is, { isa } from './is'
import { transformTails } from './tails'
import t from './lightscriptTypes'
import t from './types'
import { toBlockStatement } from './blocks'

import getLoc from "ast-loc-utils/lib/getLoc";
Expand Down
2 changes: 1 addition & 1 deletion src/imports.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'

export createImports() ->
{}
Expand Down
2 changes: 1 addition & 1 deletion src/inlinedOperators.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'

inlinedOperator = {
looseEq: (t, args) => t.binaryExpression("==", args[0], args[1])
Expand Down
2 changes: 1 addition & 1 deletion src/is.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'

// Corrected implementation of babel `isType` that works with node types
// added by `definePluginType`.
Expand Down
2 changes: 1 addition & 1 deletion src/logical.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import getSurroundingLoc from 'ast-loc-utils/lib/getSurroundingLoc'
import atLoc from 'ast-loc-utils/lib/placeAtLoc'
import atNode from 'ast-loc-utils/lib/placeAtNode'
Expand Down
2 changes: 1 addition & 1 deletion src/match.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import { toBlockStatement } from './blocks'
import { isa } from './is'
import { isDestructuringPattern, matchesDestructuringPattern } from './destructure'
Expand Down
2 changes: 1 addition & 1 deletion src/match_v4.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import { toBlockStatement } from './blocks'
import { isa } from './is'
import { undeclaredRef } from './ref'
Expand Down
2 changes: 1 addition & 1 deletion src/ref.lsc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isa } from './is'
import t from './lightscriptTypes'
import t from './types'

import getLoc from "ast-loc-utils/lib/getLoc"
import buildAtLoc from "ast-loc-utils/lib/buildAtLoc"
Expand Down
2 changes: 1 addition & 1 deletion src/safeCall.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import { hoistRef } from './ref'
import is from './is'

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/variables.lsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import t from './lightscriptTypes'
import t from './types'
import atLoc from 'ast-loc-utils/lib/placeAtLoc'

// Get all identifiers in the given `VariableDeclaration` that would shadow
Expand Down

0 comments on commit 7cc5a5a

Please sign in to comment.